# Configure AI Settings on Your The Isle Evrima Server (/docs/the-isle-evrima/ai-settings)



import { Tab, Tabs } from 'fumadocs-ui/components/tabs';
import { Step, Steps } from 'fumadocs-ui/components/steps';

AI dinosaurs are a core part of Evrima gameplay — they provide food for carnivores and populate the world. You can fully configure spawning, density, individual species, and migration behavior.

Enable / Disable AI [#enable--disable-ai]

<Tabs items={['Via Game.ini', 'Via RCON (Live)']}>
  <Tab value="Via Game.ini">
    <Steps>
      <Step>
        Stop the server [#stop-the-server]

        In the [XGamingServer Panel](https://panel.xgamingserver.com), go to **Console** and stop the server.
      </Step>

      <Step>
        Edit Game.ini [#edit-gameini]

        In **Files**, open `TheIsle/Saved/Config/LinuxServer/Game.ini` and set:

        ```ini
        [/Script/TheIsle.TIGameSession]
        bSpawnAI=true
        ```

        Set to `false` to disable all AI spawning. Useful for PvP-only or event servers.
      </Step>

      <Step>
        Save and start [#save-and-start]
      </Step>
    </Steps>
  </Tab>

  <Tab value="Via RCON (Live)">
    Toggle AI on/off without restarting:

    ```
    toggleai
    ```

    Or set explicitly:

    ```
    toggleai 0
    toggleai 1
    ```
  </Tab>
</Tabs>

AI Density [#ai-density]

`AIDensity` is a multiplier controlling how many AI groups spawn around players. **This is the single biggest lever for AI performance impact.**

```ini
[/Script/TheIsle.TIGameSession]
AIDensity=1
```

| Value  | Effect                   | Performance                          |
| ------ | ------------------------ | ------------------------------------ |
| `0.25` | Very sparse              | Best                                 |
| `0.5`  | Light                    | Good for constrained servers         |
| `1`    | Default                  | Balanced                             |
| `1.5`  | Denser, active ecosystem | Heavier                              |
| `2`    | Heavy                    | Maximum AI population — high CPU/RAM |

> **Warning:** High `AIDensity` values significantly increase CPU and RAM usage. On servers with 50+ players, keep this at `1` or lower.

Change live via RCON:

```
aidensity 0.5
```

AI Spawn Interval [#ai-spawn-interval]

How frequently (in seconds) the server checks whether to spawn more AI:

```ini
AISpawnInterval=40
```

| Value           | Effect                                                       |
| --------------- | ------------------------------------------------------------ |
| Lower (20–30)   | More frequent checks, responsive AI population               |
| `40` (default)  | Balanced                                                     |
| Higher (60–120) | Less frequent checks, better performance, AI may feel sparse |

Disable Specific AI Species [#disable-specific-ai-species]

Block individual AI species without disabling all AI. Add under `[/Script/TheIsle.TIGameSession]`:

```ini
DisallowedAIClasses=Compsognathus
DisallowedAIClasses=Pterodactylus
DisallowedAIClasses=Boar
DisallowedAIClasses=Deer
DisallowedAIClasses=Goat
DisallowedAIClasses=Seaturtle
```

Available AI Classes [#available-ai-classes]

| Class           | Type               |
| --------------- | ------------------ |
| `Compsognathus` | Small carnivore AI |
| `Pterodactylus` | Flying AI          |
| `Boar`          | Prey AI            |
| `Deer`          | Prey AI            |
| `Goat`          | Prey AI            |
| `Seaturtle`     | Aquatic AI         |

Remove a line to allow that species. If the section is absent entirely, all AI classes spawn normally.

You can also manage this live via RCON:

```
disableaiclasses Compsognathus,Pterodactylus
```

Migration Zones [#migration-zones]

Migration zones move herbivore AI populations across the map. Patrol zones activate carnivore AI areas.

```ini
[/Script/TheIsle.TIGameSession]
bEnableMigration=true
MaxMigrationTime=5400
bEnableMassMigration=true
MassMigrationTime=43200
bEnablePatrolZones=true
```

| Setting                | Default | Description                                    |
| ---------------------- | ------- | ---------------------------------------------- |
| `bEnableMigration`     | `true`  | Enable species migration zones                 |
| `MaxMigrationTime`     | `5400`  | Migration zone duration (seconds)              |
| `bEnableMassMigration` | `true`  | Enable mass migration events                   |
| `MassMigrationTime`    | `43200` | Mass migration interval (seconds, default 12h) |
| `bEnablePatrolZones`   | `true`  | Enable carnivore AI patrol zones               |

Toggle migrations live via RCON:

```
togglemigrations
```

Performance Tips for AI-Heavy Servers [#performance-tips-for-ai-heavy-servers]

If your server is struggling under AI load:

1. **Reduce `AIDensity` to `0.5`** — biggest single improvement
2. **Increase `AISpawnInterval` to `60` or `90`**
3. **Disable unused AI classes** — removing flying and aquatic AI helps on inland servers
4. **Use `wipecorpses` periodically via RCON** — corpses persist and consume memory
5. **Disable mass migrations** if you don't need them: `bEnableMassMigration=false`

See [Server Requirements](/docs/the-isle-evrima/server-requirements) for RAM and CPU recommendations by player count.

Related Guides [#related-guides]

* [Server Configuration](/docs/the-isle-evrima/server-config)
* [Server Requirements](/docs/the-isle-evrima/server-requirements)
* [Playable Dinosaurs](/docs/the-isle-evrima/playable-dinosaurs)
* [RCON Setup](/docs/the-isle-evrima/rcon-setup)
