Get started

Free trial Try any game free for 3 days. No card needed. Start a free trial Start a free trial

Game servers

All games

Guides / Arma Reforger / Admin and moderation

Arma Reforger RCON: enable it and send admin commands

Set an RCON password and permission, restart, then connect any BattlEye RCon tool over UDP to run #kick, #ban and #players. The panel has no console for it.

Updated , checked on Arma Reforger 1.8.0.13

RCON lets you send admin commands to your Arma Reforger server from outside the game. Give the server an RCON password and a permission, restart it, then connect a BattlEye RCon tool to the RCON port over UDP. On your own host the default RCON port is 19999; on a Loafhosts server it follows the game port and the Startup tab shows it. The ArthOS panel does not have an RCON console for Reforger, so you use a separate tool: a BattlEye RCon client on your computer, or a web service such as BattleMetrics. The RCON port of a Loafhosts server is open to the internet, so these connect from anywhere.

Bohemia describes RCON as “a UDP-based communication protocol”, the BattlEye RCon protocol. That means your tool must speak UDP. On your own host, the port must also be open on your firewall.

What RCON can do

The RCON permission decides what a connected tool may do.

  • admin: any command. That includes #kick, #ban, #restart, #shutdown and #players.
  • monitor: only commands that do not change the server. In practice, #players.

The commands are the same as the in-game ones. See admin commands and ban and kick players. #ban list shows 25 bans a page over RCON, against 10 in game.

In the ArthOS panel

The panel sets up the RCON block for you, and you edit the password and permission.

  1. Open your server and the Config Editor tab.
  2. Find the Remote console group.
  3. Set Remote console password. It needs at least 3 characters and no spaces, and RCON will not start without one.
  4. Set Remote console access to admin if you want to kick and ban, or monitor to list players only.
  5. Set Remote console connections, from 1 to 16. This is how many tools can connect at once.
  6. Choose Save, then restart the server.
The Remote console group with the password, access and connections rows
  1. Remote console password
  2. Access: admin or monitor
  3. Connections

To find the port, open the Startup tab and read RCON Port (1). The panel sets it from the port plan when the server is created, and it is marked read only. The address to connect to is your server’s address.

The Startup variables with RCON Port marked read only
  1. RCON Port, read only

There is no panel page to type RCON commands. For kicks and bans from the panel, see the Admin Tools tab described in ban and kick players.

By hand

Add an rcon block to the top level of config.json, next to game and operating:

{
  "rcon": {
    "address": "0.0.0.0",
    "port": 19999,
    "password": "a-long-secret-without-spaces",
    "permission": "admin",
    "maxClients": 16
  }
}

Keep the rest of your file as it is. Then:

  1. Save the file and restart the server.
  2. Make sure the UDP port is open on your firewall and router.
  3. In your RCON tool, enter the server’s address, the RCON port, and the password.
  4. Run #players to check it works.

Notes from Bohemia: address is required and sets the interface the socket binds to. port can be 1 to 65535, and 19999 is the default. blacklist is a list of commands the server refuses.

Disconnecting

RCON has no disconnect message of its own. When you close a tool, the server keeps your connection for about 30 to 45 seconds, and it counts against maxClients. A tool can send the custom command @logout to free the slot at once.

If it does not work

  • The tool cannot connect. RCON is UDP, not TCP. Check the port is the RCON port from the Startup tab, not the game port. On your own host, check UDP is open.
  • Nothing answers, and there is no RCON port in use. The password is missing, shorter than 3 characters, or has a space. RCON does not start without a valid password.
  • Kick and ban fail but #players works. The permission is monitor. Change it to admin and restart.
  • You cannot reconnect. All maxClients slots are held by closed tools. Wait up to 45 seconds, or raise the number.
  • Changes have no effect. The server reads config.json at start. Restart it.

More about the game: Arma Reforger servers.

Sources: Bohemia wiki: Server Config, Bohemia wiki: Server Management, reforger.armaplatform.com: News

Arma Reforger serversAll Arma Reforger guides