Skip to content
In-house anti-DDoS, included on VPS, game servers and web hosting · hosted in France · cancel anytime See our plans
CloudFive
Log in

01

A complete example and the launch command

Here is a starting file, built on the model of the official documentation. Replace 203.0.113.10 with your server's IPv4 address, the passwords with your own, and the sample Steam ID with yours:

{
    "publicAddress": "",
    "publicPort": 2001,
    "a2s": {
        "address": "203.0.113.10",
        "port": 17777
    },
    "rcon": {
        "address": "203.0.113.10",
        "port": 19999,
        "password": "un-mot-de-passe-rcon",
        "permission": "admin",
        "blacklist": [],
        "whitelist": []
    },
    "game": {
        "name": "Mon serveur Arma Reforger FR",
        "password": "",
        "passwordAdmin": "un-mot-de-passe-admin",
        "admins": ["76561198123456789"],
        "scenarioId": "{ECC61978EDCC2B5A}Missions/23_Campaign.conf",
        "maxPlayers": 32,
        "visible": true,
        "crossPlatform": false,
        "supportedPlatforms": ["PLATFORM_PC"],
        "gameProperties": {
            "serverMaxViewDistance": 2500,
            "serverMinGrassDistance": 50,
            "networkViewDistance": 1500,
            "disableThirdPerson": false,
            "fastValidation": true,
            "battlEye": true,
            "VONDisableUI": false,
            "VONDisableDirectSpeechUI": false,
            "VONCanTransmitCrossFaction": false
        },
        "mods": []
    },
    "operating": {
        "lobbyPlayerSynchronise": true,
        "playerSaveTime": 120,
        "aiLimit": -1,
        "slotReservationTimeout": 60,
        "joinQueue": {
            "maxSize": 10
        }
    }
}

The JSON format accepts no comments: a // line added as a reminder stops the server from reading the file. The explanations are therefore in the following sections, block by block. Three rules from the wiki to keep in mind:

  • key names are case-sensitive (battlEye, not battleye);
  • values are quoted strings, except when the key expects a number, a boolean (true or false) or a list;
  • Arma Reforger does not support IPv6.

The server is then started like this on Linux, from its installation folder:

./ArmaReforgerServer -config ./config.json -profile ./profile -maxFPS 60
  • -config: the path to the JSON file. On Windows, a relative path starts from the folder of ArmaReforgerServer.exe;
  • -profile: the profile folder, where the server writes its logs and stores downloaded mods by default;
  • -maxFPS: the wiki strongly recommends a value between 60 and 120, otherwise the server may try to use all available resources.

Other useful parameters: -autoreload followed by a number of seconds reloads the scenario when the session ends without shutting the server down; -logStats followed by an interval in milliseconds writes performance figures to the log; -bindIP, -bindPort and -a2sPort override the values in the file. The guide create an Arma Reforger server gives the overview; this one details every key.

02

Root, a2s and rcon: addresses and ports

The four root keys control how players connect. The wiki advises leaving the first three out of the file unless you have a specific network need:

  • bindAddress: the address the server listens on. Missing or empty, it listens on every address (0.0.0.0);
  • bindPort: the UDP listening port, from 1 to 65535, 2001 by default. Missing, it takes the value of publicPort;
  • publicAddress: the IP address announced to players by Bohemia's services. Missing or empty, it is detected automatically. The "local" keyword uses the network card's local address;
  • publicPort: the announced UDP port, 2001 by default. If the server itself has a public address, it equals bindPort; otherwise it is the port forwarded to the server.

Older tutorials use the names these keys had before version 0.9.8.73 (gameHostBindPort, gameHostRegisterBindAddress…): the current server no longer recognises them.

The a2s block sets the Steam query (A2S), which makes the server appear in lists and feeds monitoring tools:

  • address: required, the IP address the query listens on;
  • port: the UDP port, 17777 by default.

The rcon block, optional, opens remote administration over BattlEye's RCon protocol, in UDP:

  • address: required, the listening IP address;
  • port: 19999 by default;
  • password: required for RCON to start, with no spaces and at least 3 characters;
  • maxClients: the number of RCON clients connected at once, from 1 to 16, 16 by default;
  • permission: admin allows every command, monitor only those that do not change the server's state;
  • blacklist: forbidden commands; whitelist: if filled in, the only commands allowed.

The commands sent over RCON are detailed in Arma Reforger admin commands, and opening ports in game server ports.

03

The game block: identity, access, scenario and mods

  • name: the name shown in the server list, up to 100 characters.
  • password: the password to join. Empty, the server is open to everyone.
  • passwordAdmin: the admin password, with no spaces. In game, open the chat (C in the lobby, Enter in game) and type #login followed by this password.
  • admins: a list of IDs, identityIds (Bohemia account) or SteamIDs. These players log in as admin with #login, without a password. Since version 1.3.0 the list is limited to 20 IDs, and only those given as identityIds get a priority join queue.
  • scenarioId: the path to the scenario's .conf file, braces included. One scenario per server: Arma Reforger does not rotate several missions. Among the official scenarios, {ECC61978EDCC2B5A}Missions/23_Campaign.conf starts Conflict on Everon and {59AD59368755F41A}Missions/21_GM_Eden.conf Game Master on Everon; the -listScenarios parameter writes the full list to the log.
  • maxPlayers: the number of slots, from 1 to 128, 64 by default.
  • visible: true by default, to appear in the game's server list.
  • supportedPlatforms: the accepted platforms, among PLATFORM_PC, PLATFORM_XBL (Xbox) and PLATFORM_PSN (PlayStation, since version 1.2.1). PC only by default. An unmodded server accepts only PC alone, or PC with all consoles.
  • crossPlatform: false by default. Set to true, it adds the three platforms to supportedPlatforms; since version 1.2.1, PlayStation is not added on a modded server.
  • modsRequiredByDefault: true by default, since version 1.2.1. It sets the value of required for every mod.

The mods list holds one object per mod: modId (the mod's Workshop ID), name (just a label, with no effect), version (optional: without it, the server takes the latest version) and required (set to false, a mod that cannot be downloaded is removed from the list with a warning instead of blocking startup):

"mods": [
    {
        "modId": "59727DAE364DEADB",
        "name": "WeaponSwitching",
        "version": "1.0.1",
        "required": true
    }
]

The ID above is the one from the official example: replace it with your mods' IDs. For a long list, the game's mod manager can copy a ready-made list from its JSON tab. The guide Arma Reforger mods covers dependencies, versions and scenarios provided by a mod.

04

gameProperties: the rules of the game

This block, inside game, sets what players see and hear. Values and ranges from the official wiki:

  • serverMaxViewDistance: the maximum view distance, from 500 to 10,000, 1600 by default;
  • networkViewDistance: the maximum distance up to which the server sends synchronised objects (vehicles, soldiers…) to players, from 500 to 5000, 1500 by default. The larger it is, the more objects the server has to track for each player;
  • serverMinGrassDistance: the minimum grass rendering distance, 0 or from 50 to 150, 0 by default. At 0, nothing is forced on players;
  • disableThirdPerson: set to true, forces first-person view. false by default;
  • fastValidation: true by default. It keeps to a minimum the data exchanged to check that the player's world matches the server's. The wiki asks to keep it true on every public server; false is only for local debugging;
  • battlEye: the BattlEye anti-cheat, true by default;
  • VONDisableUI and VONDisableDirectSpeechUI: set to true, hide the voice chat (VON) interface from players, or only the proximity voice one. false by default;
  • VONCanTransmitCrossFaction: set to true, players can talk on other factions' radios; at false, the default, they can only listen;
  • missionHeader: overrides settings from the scenario's header (the official example sets m_iPlayerCount, the intended player count). Only use it if you know the scenario well.

If the server struggles, the guide Arma Reforger server errors explains how to measure performance with -logStats.

05

operating: how the server runs

This block, at the root of the file, controls the behaviour of the server itself:

  • lobbyPlayerSynchronise: true by default. The server sends its player list to Bohemia's services, which fixes the gap between the real number of players and the one shown in the list;
  • playerSaveTime: how often players are saved, in seconds, 120 by default;
  • aiLimit: the maximum number of AI. Once reached, no more AI spawns. The default value, -1 (or any negative value), sets no limit. The -AILimit launch parameter overrides this key;
  • disableAI: set to true, turns off the server's AI entirely. Only use it if the scenario does without it;
  • disableNavmeshStreaming: loads the AI's movement maps (navmesh) into memory instead of streaming them in. Slightly better performance and more responsive AI, at the cost of up to several hundred megabytes of extra memory. Since version 1.2.0 it is a list: missing, nothing changes; empty ([]), everything is loaded; filled in ("Soldiers" for soldiers, "BTRlike" for vehicles), only those navmeshes are;
  • slotReservationTimeout: from 5 to 300 seconds, 60 by default. How long a slot stays reserved for a player kicked by a replication error (network synchronisation), so they can come back. At 5, reservation is disabled;
  • joinQueue and its maxSize key: the queue when the server is full, from 0 to 50 places, 0 by default, meaning no queue;
  • disableServerShutdown: set to true, the server no longer shuts down when it loses its connection to Bohemia's services. A corrupted configuration still stops it;
  • disableCrashReporter: set to true, turns off automatic crash reports, like the -disableCrashReporter parameter.

The official "Server Config" page grows with each major game update. Before adding a key read in a tutorial, check that it is listed there, with exactly the same spelling, capitals included.

06

On CloudFive

With CloudFive's Arma Reforger hosting, from €9.50 per month, the Enfusion server is ready in about 30 seconds:

  • The JSON file is edited from the customer area manager.cloudfive.fr, in the file manager or over SFTP (see connecting over SFTP with FileZilla or WinSCP). The address and ports come with the server: keep them as they are.
  • The console shows live how the file loads, Workshop mods downloading and any error. Make a backup before a big change.
  • Hardware: AMD Ryzen 9 9950X and DDR5 memory, in France, on our AS218808 network.
  • Anti-DDoS Premium is included, with a profile specific to Arma Reforger (see protecting a game server against DDoS).

It is monthly, with no commitment, and support answers in French 7 days a week, by ticket and on Discord. To install the server on your own machine, see an Arma Reforger server on a VPS.

07

Frequently asked questions

Can I put comments in the Arma Reforger configuration file?

No. The JSON format does not accept comments: a line starting with // stops the server from reading the file. Keep your notes in a separate file, and run the JSON through a validator after every change.

What are the default ports of an Arma Reforger server?

Port 2001 UDP for the game (bindPort and publicPort), port 17777 UDP for the Steam query in the a2s block, and port 19999 UDP for RCON if it is enabled. All of them can be changed in the JSON file.

How do I force first-person view on Arma Reforger?

Set disableThirdPerson to true in the gameProperties block, inside the game block, then restart the server. The default value, false, lets players switch to third person.

What is the difference between serverMaxViewDistance and networkViewDistance?

serverMaxViewDistance sets the maximum view distance, 1600 by default. networkViewDistance sets the distance up to which the server sends synchronised objects to players, 1500 by default: the larger it is, the more objects the server has to track.

How do I limit the number of AI on an Arma Reforger server?

Set aiLimit in the operating block, for example to 100: once that number is reached, no more AI spawns. The default value, -1, sets no limit, and the -AILimit launch parameter overrides the key in the file.

Support CloudFive AI

An answer right away, a real team behind it.

CloudFive AI answers you at any hour, in seconds. When it doesn’t know, or as soon as you ask, the team that runs the machines takes over. No offshore call centre.

  • TicketThe team replies in under 2 hours, 7 days a week.
  • CloudFive AIAt any hour, on ia.cloudfive.fr, Discord and in your customer area.
  • DiscordThe team, the AI and other customers, in the help channel.
  • Your data stays with usAI runs on our servers in France; e-mails, IPs and passwords are masked.
A ticket in the customer area: a customer’s question about a Minecraft plugin, and the CloudFive team’s reply
A real ticket in the customer area, answered by the team (demo account; shown in French).
CUSTOMER AREA · APP

Your servers.
At your fingertips.

Restart a server, watch its resources live, pay an invoice or open a ticket — and get an alert when something goes wrong.

  • The status of all your services at a glance
  • Blocked attacks, filtered traffic, monthly peak
  • A notification when a server goes down or an invoice is due

App coming soon · in the meantime, everything works in your browser at manager.cloudfive.fr

The CloudFive app: the list of your services, with their status
The CloudFive app: the home screen, your services’ status, blocked attacks and an invoice to pay