# Complete setup of an Arma Reforger server

{% hint style="info" %}
Guided **crossplay** (PS5 / Xbox / PC).\
Key settings are done via `config.json`.
{% endhint %}

### Objective

Set up an Arma Reforger server to:

* give you rights **admin**
* manage the **AI** (disable or reduce difficulty)
* understand the limits **mods on console**
* fix the **visibility** in crossplay

### Step-by-step guide

{% stepper %}
{% step %}
**Change settings via config.json**

In some cases, the **Advanced settings** are not saved.\
Then use the file `config.json`.

Example of a basic configuration:

```json
{
  "name": "[FR] Arma Reforger Server",
  "adminPassword": "mypassword",
  "operating": {
    "disableAI": false
  },
  "crossPlatform": true,
  "supportedPlatforms": ["PC", "XBL", "PSN"],
  "visible": true
}
```

{% endstep %}

{% step %}
**Become an administrator (PS5 / Xbox / PC)**

In `config.json`, add or modify:

```json
"adminPassword": "yourpwd"
```

In-game, connect then type:

```
#login yourpwd
```

{% hint style="warning" %}
On console, do not add a SteamID to an `admins`.\
It can cause a server crash.
{% endhint %}
{% endstep %}

{% step %}
**Manage the AIs (bots)**

**Option A — Disable AIs**

In `config.json` :

```json
"operating": {
  "disableAI": true
}
```

Restart the server.

**Option B — Reduce AI difficulty**

Create or modify:

```
/profile/settings/ai.json
```

Example of easier values:

```json
{
  "aimingAccuracy": 0.2,
  "aimingShake": 0.6,
  "aimingSpeed": 0.4,
  "spotDistance": 0.5,
  "spotTime": 0.3,
  "commanding": 0.3,
  "courage": 0.4,
  "reloadSpeed": 0.6,
  "general": 0.4
}
```

Restart the server.

{% hint style="info" %}
If nothing changes, the file may be ignored depending on the mode.\
Test with "Conflict" or "Game Master".
{% endhint %}
{% endstep %}

{% step %}
**Mods on console: what you need to know**

Mods are not compatible with PS5/Xbox for now.

Common reasons:

* main source: **Steam Workshop**
* loading often dependent on the **PC**

Tip: prefer modes/missions without mods if you are on console.
{% endstep %}

{% step %}
**Fix an invisible server in crossplay**

In `config.json`, check:

```json
"crossPlatform": true,
"supportedPlatforms": ["PC", "XBL", "PSN"],
"visible": true
```

Also check connectivity:

* UDP: `2001` to `2010` (game)
* TCP: according to your server's query port

{% hint style="info" %}
The listing may have a delay.\
Wait 1 to 5 minutes after a restart.
{% endhint %}
{% endstep %}
{% endstepper %}

### Common issues

* **Server crash after becoming admin** : remove any config like `admins` on the console side.
* **Server visible on PS5 but not PC/Xbox** : check `supportedPlatforms`.
* **AIs remain “too strong”** : check the path `/profile/settings/ai.json`.
* **AI settings are not applied** : change the game mode to test.

### FAQ

#### Do I need to restart after modification?

Yes.\
Do it after each change to `config.json` or `ai.json`.


---

# 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://docs.oxygenserv.com/en/arma-reforger/configuration-complete-dun-serveur-arma-reforger.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.
