# Disable or Limit AI on Your Arma Reforger Server (/docs/arma-reforger/disable-ai)





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

Arma Reforger scenarios like Conflict include AI soldiers by default. You can either disable AI entirely (for pure PvP servers) or set a cap on the number of AI characters to control server load.

Disable AI Completely [#disable-ai-completely]

<Tabs items={['Config Editor (Recommended)', 'Manual JSON']}>
  <Tab value="Config Editor (Recommended)">
    <Steps>
      <Step>
        Open the Config Editor [#open-the-config-editor]

        In the [XGamingServer Panel](https://panel.xgamingserver.com), click **Arma Reforger Config** in the sidebar.

                <img alt="Config Tool in the sidebar" src={__img0} placeholder="blur" />
      </Step>

      <Step>
        Go to the Optional tab [#go-to-the-optional-tab]

        Find the **Operating** settings section.
      </Step>

      <Step>
        Toggle Disable AI on [#toggle-disable-ai-on]
      </Step>

      <Step>
        Save and restart [#save-and-restart]

        Click **Save Changes** and restart from **Console**.
      </Step>
    </Steps>
  </Tab>

  <Tab value="Manual JSON">
    <Steps>
      <Step>
        Stop the server [#stop-the-server]
      </Step>

      <Step>
        Edit config.json [#edit-configjson]

        In **Files**, open `config.json` and add to the `operating` section:

        ```json
        "operating": {
          "disableAI": true
        }
        ```
      </Step>

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

> **Note:** This completely disables all AI on the server. No AI characters will spawn in any scenario, even Conflict.

Limit AI Count [#limit-ai-count]

Instead of disabling AI entirely, set a maximum number:

```json
"operating": {
  "aiLimit": 50
}
```

No system can spawn new AI once this limit is reached. Set to `-1` to remove the limit entirely.

> **Tip:** You can also set the AI limit via the `-aiLimit` [startup parameter](/docs/arma-reforger/startup-parameters), which overrides the config value.

Recommended AI Limits [#recommended-ai-limits]

| Server Size | Suggested AI Limit             |
| ----------- | ------------------------------ |
| 16 players  | 30–50                          |
| 32 players  | 50–80                          |
| 64 players  | 80–100                         |
| 128 players | 50–80 (reduce for performance) |

Reducing AI count significantly improves server performance, especially on large player-count servers. AI consumes more CPU per entity than players. See the [Performance Guide](/docs/arma-reforger/performance-guide) for more tuning tips.

Related Guides [#related-guides]

* [Server Configuration](/docs/arma-reforger/server-config)
* [Performance Guide](/docs/arma-reforger/performance-guide)
* [Startup Parameters](/docs/arma-reforger/startup-parameters)
