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

Becoming admin: #login and admins[]

Everything starts with two settings in server.cfg (see the Arma 3 server.cfg):

passwordAdmin = "un-long-mot-de-passe";
admins[] = { "76561198000000000", "76561198000000001" };

In game, open the chat (/ key by default), type the command with its # and confirm with Enter:

#login un-long-mot-de-passe
#login
#logout
  • #login followed by the password gives you admin rights;
  • #login alone is enough for players whose UID (their SteamID64) is listed in admins[];
  • #logout gives your rights back.

The rules from Bohemia's wiki worth knowing:

  • without BattlEye RCON, only one administrator at a time: until the first one logs out with #logout, others cannot log in;
  • an admin who logged in with the password and an admin listed in admins[] have exactly the same rights;
  • players can also vote in an admin with #vote admin; that admin has fewer rights (can kick, cannot ban), and an admin logging in with #login takes over the role.
02

Kicking, banning and locking the server

#userlist
#kick Pseudo
#kick "Pseudo" "Raison affichée au joueur"
#exec ban "Pseudo"
#exec unban "76561198000000000"
#exec clearbans
#lock
#unlock
  • #userlist: the list of connected players (Page Up key to scroll up);
  • #kick: kicks a player identified by name, ID or player number. A reason in quotes is accepted since game version 2.18;
  • #exec ban: bans the player and adds their ID to the ban.txt file in the server's root folder. On Arma 3, the name, ID or number must be in quotes. #exec commands only work on a dedicated server, and only an admin logged in with #login can ban;
  • #exec unban: lifts a ban, by the player's ID (UID) only; #exec clearbans empties the whole list;
  • #lock and #unlock: close the server to new players, then open it again. Useful during an operation that has already started.

These bans apply to the game ID. BattlEye has its own bans, by GUID, which go through RCON (see below): the in-game #beserver command has been disabled. #beclient players shows the GUIDs of connected players, #beclient guid shows yours.

03

Missions, restart and shutdown

#missions
#mission MaMission.Altis
#mission MaMission.Altis Veteran
#restart
#reassign
#init
#shutdown
#restartserver
#shutdownaftermission
#restartserveraftermission
  • #missions: opens the list of available missions (all of them, or those in missionWhitelist[]). It ends the current mission: if missionsToServerRestart or missionsToShutdown is set in server.cfg, the server may restart or shut down right away;
  • #mission: starts a mission by name, with an optional difficulty (otherwise the current difficulty is kept);
  • #restart: restarts the current mission; #reassign restarts it and sends everyone back to role selection;
  • #init: reloads the configuration file given by -config;
  • #shutdown: shuts the server down immediately; #restartserver shuts it down and starts it again right away;
  • #shutdownaftermission and #restartserveraftermission: the same, but at the end of the current mission. It is the gentlest way to restart during a game.

If a correct command gives no confirmation, the wiki advises reading the server log: a broken mission can block #restart or #reassign. Missions are installed as explained in creating an Arma 3 server.

04

Monitoring the server and player connections

#monitor 5
#monitor 0
#monitords 5
#maxping 250
#maxpacketloss 50
#dctimeout 60
  • #monitor followed by a number of seconds: shows the server's performance at that interval; 0 stops it;
  • #monitords: the same, but in the dedicated server console rather than in your game;
  • #maxping (in milliseconds), #maxpacketloss (in %) and #maxdesync: the thresholds above which a player is kicked; #dctimeout (in seconds) the delay before disconnecting a player who stops responding.

The same thresholds can be set permanently in server.cfg (MaxPing, MaxPacketLoss, MaxDesync, DisconnectTimeout). According to the wiki, a server that drops below 20 frames per second is overloaded: the current mission is probably too heavy for it. Compare with the same mission loaded without the mods it does not need (see installing mods on an Arma 3 server).

05

BattlEye RCON

Bohemia recommends BattlEye RCON to administer the server: it is out of reach of in-game script exploits, it allows several administrators at the same time, and its port is easy to protect with the firewall. It is set up in the BEServer_x64.cfg file (beserver_x64.cfg on Linux), placed in the BattlEye working folder: the BattlEye folder of the server profile, or the folder given by -bePath at launch.

RConPassword un-mot-de-passe-rcon
RConPort 2301
  • RConPassword: the RCON password, required. Make it different from passwordAdmin;
  • RConPort: the RCON port, required, outside the server's range (the game port and the next four, 2302 to 2306 by default). The wiki uses 2301 as its example;
  • RConIP (optional): the address RCON listens on. Without it, it listens on all of the server's IPv4 addresses.

Then connect a client compatible with the BattlEye RCon protocol (it runs over UDP) using the server address, this port and this password. The commands from the BattlEye documentation:

players
kick 3 Insultes
ban 3 1440 Tir allié répété
addBan 0123456789abcdef0123456789abcdef 0 Triche
bans
removeBan 0
say -1 Redémarrage dans 5 minutes
  • players: the players with their number, BattlEye GUID and ping; kick and ban use that number;
  • ban: the number, a duration in minutes (0 or nothing: permanent), then a reason; addBan bans a GUID or IP address that is not on the server;
  • bans lists the bans, removeBan lifts one by its number in that list; they are saved in bans.txt, in the BattlEye folder;
  • say -1 sends a message to all players; game commands such as #mission also go through RCON.

Open the RCON port to your own IP address only (see game server ports).

06

On a CloudFive server

On our Arma 3 hosting plans, from €4 per month:

  • server.cfg and BEServer_x64.cfg can be edited from the client area manager.cloudfive.fr or over SFTP, and the server console is in the same place;
  • servers run in France on our own AS218808 network, on Ryzen 9 9950X, the per-core clock speed the Arma 3 engine needs, with DDR5 and NVMe;
  • Anti-DDoS Premium is included, with a profile specific to Arma 3 (see protecting a game server against DDoS).

It is monthly, with no commitment, and support answers in French 7 days a week through tickets and on Discord.

07

Frequently asked questions

How do I log in as admin on an Arma 3 server?

Set passwordAdmin in server.cfg. In game, open the chat (/ key by default) and type #login followed by that password. Players whose UID is listed in admins[] simply type #login, with no password.

How do I ban a player on Arma 3?

Logged in as admin, type #exec ban followed by the player's name, ID or number in quotes: their ID is added to the ban.txt file. #exec unban followed by the UID in quotes lifts the ban. Through BattlEye RCON, ban bans the BattlEye GUID for a duration in minutes.

What is the difference between #restart, #reassign and #restartserver?

#restart restarts the current mission. #reassign restarts it too, but sends players back to role selection. #restartserver shuts down and restarts the server program itself; #restartserveraftermission waits for the end of the mission to do so.

Can several admins be logged in on Arma 3?

In game, no: without BattlEye RCON, only one administrator can be logged in at a time, and the others must wait for their #logout. To administer with several people, enable BattlEye RCON with RConPassword and RConPort in BEServer_x64.cfg.

How do I enable BattlEye RCON on Arma 3?

Create BEServer_x64.cfg (beserver_x64.cfg on Linux) in the BattlEye working folder, with RConPassword and RConPort. The port must be outside the server's range, 2302 to 2306 by default; the wiki uses 2301 as its example. Then connect with a BattlEye-compatible RCON client.

Our plans

Going further.

The plans covered in this guide, hosted in France and protected by our anti-DDoS, with no commitment.

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