# BattlEye Anti-Cheat Configuration on Your Arma Reforger Server (/docs/arma-reforger/battleye)





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

BattlEye is the official anti-cheat for Arma Reforger. It's enabled by default on all servers and is **mandatory for crossplay servers**.

Enable or Disable BattlEye [#enable-or-disable-battleye]

In the **Arma Reforger Config** editor, go to the **Properties** tab and toggle BattlEye, or edit `config.json`:

```json
"gameProperties": {
  "battlEye": true
}
```

> **Warning:** Disabling BattlEye on a public server leaves it wide open to cheaters. Only disable for private testing environments.

Customize BattlEye RCon [#customize-battleye-rcon]

You can set a custom port and password for BattlEye RCon by editing `BEServer_x64.cfg`:

<Steps>
  <Step>
    Stop the server [#stop-the-server]

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

  <Step>
    Open the BattlEye config [#open-the-battleye-config]

    Click **Files** in the sidebar and navigate to:

    ```
    Arma Reforger/BattlEye/BEServer_x64.cfg
    ```

        <img alt="File Manager" src={__img0} placeholder="blur" />
  </Step>

  <Step>
    Append RCon settings [#append-rcon-settings]

    **Append** these lines at the end of the file (do not modify existing lines):

    ```text
    RConPort 5678
    RConPassword myNewBEPassword
    ```
  </Step>

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

    Click **Save Content** and start from **Console**.
  </Step>
</Steps>

> **Critical Warning:** Only **append** new settings to `BEServer_x64.cfg`. Do not erase or modify existing lines. Missing values will cause players to be kicked with "Missing GameID/MasterPort server config settings". Modified existing values can prevent BattlEye from working entirely, allowing the server to be unprotected.

Repair a Broken BattlEye Config [#repair-a-broken-battleye-config]

If you accidentally corrupted `BEServer_x64.cfg`:

<Steps>
  <Step>
    Stop the server [#stop-the-server-1]
  </Step>

  <Step>
    Delete the broken config [#delete-the-broken-config]

    In **Files**, navigate to the `BattlEye` folder and delete `BEServer_x64.cfg`.
  </Step>

  <Step>
    Reinstall [#reinstall]

    On the **Dashboard**, click **Reinstall Server**. This regenerates the BattlEye config with correct defaults.
  </Step>
</Steps>

> **Note:** Reinstalling preserves your `config.json`, save data, and downloaded mods — only the server binaries and BattlEye files are restored.

Related Guides [#related-guides]

* [RCON](/docs/arma-reforger/rcon)
* [Server Configuration](/docs/arma-reforger/server-config)
* [Troubleshooting](/docs/arma-reforger/troubleshooting)
