# NPC Settings

This section controls the spawning, behaviour and population of NPCs, Animals, and Scientists around the map. As of right now, monument Scientists cannot be disabled and are always active.

Here, you can customise the following settings to your liking, below are all the options and a summary of each one.

***

## Quick reference

<table data-full-width="false"><thead><tr><th width="194.1112060546875">Option</th><th>Description</th></tr></thead><tbody><tr><td>AI Thinking</td><td>Toggles AI thinking, essentially controlling the function of AI NPCs as a whole. This command controls AI shooting/movement/detection/pathfinding, and will supercede the other AI toggles.</td></tr><tr><td>AI Movement</td><td>Toggles AI movement, controlling the movement of NPCs.</td></tr><tr><td>AI Player Detection</td><td>Toggles AI targeting of players.</td></tr><tr><td>NPC Junkpile Spawn Chance</td><td>Controls the chance that a Junkpile Scientist will spawn on any junkpile on the map.</td></tr><tr><td>Bear Population</td><td>Controls the density of bear spawning per km².</td></tr><tr><td>Boar Population</td><td>Controls the density of boar spawning per km².</td></tr><tr><td>Chicken Population</td><td>Controls the density of chicken spawning per km².</td></tr><tr><td>Deer Population</td><td>Controls the density of deer spawning per km².</td></tr><tr><td>Rideable Horse Population</td><td>Controls the density of horse spawning per km².</td></tr><tr><td>Wolf Population</td><td>Controls the density of wolf spawning per km².</td></tr></tbody></table>

## AI Thinking

Toggles AI thinking, essentially controlling the function of AI NPCs as a whole.

This command controls AI shooting/movement/detection/pathfinding, and will supercede the other AI toggles.

#### **Input**

Toggle-able, default ON.

#### **Notes**

Disabling this can be useful for PvE Servers and build-test servers. If this is off, the other AI toggles will have no effect.

#### **Restart Required?**

Yes

***

## AI Movement

Toggles AI movement, controlling the movement of NPCs.

#### **Input**

Toggle-able, default ON.

#### **Notes**

Disabling this can be useful for PvE Servers and build-test servers.

#### **Restart Required?**

Yes

***

## AI Player Detection

Toggles AI targetting of players.

#### **Input**

Toggle-able, default ON.

#### **Notes**

Disabling this can be useful for PvE Servers and build-test servers.

#### **Restart Required?**

Yes

***

## NPC Junkpile Spawn Chance

Controls the chance that a Junkpile Scientist will spawn on any junkpile on the map.

#### **Input**

Any number, but this number is clamped to 100.

#### **Notes**

Setting this to maximum will guarantee that a Scientist spawns on every Junkpile available.

#### **Restart Required?**

Yes

***

## Bear Population

Controls the density of bear spawning per km².

#### **Input**

Any number, but this value is clamped to a maximum of 20 (per km²).

#### **Notes**

For example, setting this to 10 would result in 10 bears per km².&#x20;

On a 3K map, this would be: 10 × 3k × 3k = 90 bears on the whole map.

#### **Restart Required?**

Yes

***

## Boar Population

Controls the density of boar spawning per km².

#### **Input**

Any number, but this value is clamped to a maximum of 20 (per km²).

#### **Notes**

For example, setting this to 10 would result in 10 bears per km².&#x20;

On a 3K map, this would be: 10 × 3k × 3k = 90 boars on the whole map.

#### **Restart Required?**

Yes

***

## Chicken Population

Controls the density of chicken spawning per km².

#### **Input**

Any number, but this value is clamped to a maximum of 20 (per km²).

#### **Notes**

For example, setting this to 10 would result in 10 boars per km².&#x20;

On a 3K map, this would be: 10 × 3k × 3k = 90 bears on the whole map.

#### **Restart Required?**

Yes

***

## Deer Population

Controls the density of deer spawning per km².

#### **Input**

Any number, but this value is clamped to a maximum of 20 (per km²).

#### **Notes**

For example, setting this to 10 would result in 10 deer per km².&#x20;

On a 3K map, this would be: 10 × 3k × 3k = 90 deer on the whole map.

#### **Restart Required?**

Yes

***

## Rideable Horse Population

Controls the density of horse spawning per km².

#### **Input**

Any number, but this value is clamped to a maximum of 20 (per km²).

#### **Notes**

For example, setting this to 10 would result in 10 horses per km².&#x20;

On a 3K map, this would be: 10 × 3k × 3k = 90 horses on the whole map.

#### **Restart Required?**

Yes

***

## Wolf Population

Controls the density of wolf spawning per km².

#### **Input**

Any number, but this value is clamped to a maximum of 20 (per km²).

#### **Notes**

For example, setting this to 10 would result in 10 wolves per km².&#x20;

On a 3K map, this would be: 10 × 3k × 3k = 90 wolves on the whole map.

#### **Restart Required?**

Yes


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rust-console-edition.gitbook.io/community-servers/server-configuration/npc-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
