01
How the server loads mods
Each mod is a folder whose name starts with @, for example @cba_a3. It usually contains:
- an
addons subfolder, with the .pbo files (the content) and their .bisign signatures;
- a
keys subfolder, with the public .bikey key that lets the server check those signatures.
Two launch parameters load mods, separated by semicolons:
-mod=: mods that players must also have (maps, weapons, vehicles, gameplay systems such as ACE).
-serverMod=: mods useful to the server only, which are not announced to players (admin tools, server-side scripts).
Paths are relative to the game folder: the simplest is to put the @… folders at the root of the server, next to the executable. Symbolic links work too. Respect the dependency order: ACE does not work without CBA_A3, which therefore comes before it. Each mod's Workshop page lists what it needs.
The server's general configuration (server.cfg, ports, missions, BattlEye) is described in create an Arma 3 server.
02
Download Workshop mods with SteamCMD
SteamCMD downloads mods under the Arma 3 game ID, 107410, followed by the mod's number: the number at the end of its Workshop page address. For this guide's two examples, 450814997 for CBA_A3 and 463939057 for ACE. Log in with a Steam account that owns Arma 3, and have the Steam Guard code ready for the first login.
The examples assume a Linux server installed by the steam user in /home/steam/arma3, and SteamCMD in /home/steam/steamcmd; adapt the paths to your installation.
sudo -iu steam
/home/steam/steamcmd/steamcmd.sh +force_install_dir /home/steam/arma3 +login votre_compte +workshop_download_item 107410 450814997 +workshop_download_item 107410 463939057 +quit
Files land in steamapps/workshop/content/107410/, one folder per number. If the download of a large mod stops, run the same command again. Then copy each mod to the server root, under an @ name:
cd /home/steam/arma3
cp -r steamapps/workshop/content/107410/450814997 @cba_a3
cp -r steamapps/workshop/content/107410/463939057 @ace
On Windows, the SteamCMD command is the same (steamcmd.exe instead of steamcmd.sh). You can also copy the folders the launcher has already downloaded on your computer.
03
On Linux: lowercase names
Linux tells uppercase from lowercase. The official Bohemia Interactive wiki warns that some mods do not work on a Linux server if their file names contain capital letters, and gives a command that turns a whole folder to lowercase. It uses the Perl rename tool, to install once (as administrator):
sudo apt install rename
Then, as the steam user, in each mod folder:
cd /home/steam/arma3/@cba_a3
find . -depth -exec rename 's/(.*)\/([^\/]*)/$1\/\L$2/' {} \;
cd /home/steam/arma3/@ace
find . -depth -exec rename 's/(.*)\/([^\/]*)/$1\/\L$2/' {} \;
Also name the @… folders in lowercase, as here, and write them the same way in -mod. Working on a copy, rather than directly in the Workshop folder, prevents each update from putting uppercase files back next to yours.
04
.bikey keys and signature verification
The server only trusts the keys in its keys folder, at the root. Copy there the key of each mod loaded through -mod:
cp /home/steam/arma3/@cba_a3/keys/*.bikey /home/steam/arma3/keys/
cp /home/steam/arma3/@ace/keys/*.bikey /home/steam/arma3/keys/
In server.cfg, turn verification on:
verifySignatures = 2;
allowedFilePatching = 0;
verifySignatures = 2: the server checks players' files against the .bisign signatures and rejects those loading an unknown or unsigned mod. At 0, verification is off and any mod gets through.
allowedFilePatching = 0: rejects players who launch the game with -filePatching, an option that loads files outside the signed .pbo files.
- One key too many allows the matching mod: when you remove a mod from the server, also remove its key from
keys.
-serverMod mods are not sent to players: their key is not needed for connections.
The old equalModRequired setting is marked as outdated in the official documentation: signature verification replaces it.
05
Launching the server, players and updates
On Linux, the semicolon between two mods must be preceded by a backslash, otherwise the shell cuts the command at that point. The simplest is a small script /home/steam/arma3/demarrer.sh:
#!/bin/bash
cd /home/steam/arma3
./arma3server_x64 -name=server -config=server.cfg -mod=@cba_a3\;@ace
Make it executable (chmod +x demarrer.sh) and run it in tmux or from a service. A server-only mod is added the same way with -serverMod=@mon_mod_serveur. On Windows, put the parameter in quotes: arma3server_x64.exe -port=2302 -config=server.cfg "-mod=@cba_a3;@ace".
At startup, read the server log: a badly named folder or a missing dependency shows up there right away.
On the players' side, everyone subscribes to the same mods on the Workshop and enables them in the Arma 3 launcher. The launcher can export the list of loaded mods to an HTML file: share it, your players import it and get the same list.
Updates. The Workshop updates players' mods on its own, not the server's. After each mod update, stop the server and repeat the same steps: download with SteamCMD, delete the old @… folder, copy again, switch to lowercase, copy the key (it may change). Otherwise signatures no longer match and players are rejected.
06
On CloudFive
CloudFive offers managed Arma 3 hosting, from €4 per month: you do not install the server yourself.
- servers in France on AMD Ryzen 9 9950X, a processor that is fast on each core, which matters for Arma 3's artificial intelligence;
- Anti-DDoS Premium included, with a game-specific profile (see protecting a game server against DDoS);
- files and console from the customer area: you upload the
@… folders, already in lowercase, and their keys into keys, then check in the console that each mod is loaded. If you cannot find where to declare the -mod list, support will show you;
- billed monthly with no commitment, with support in French 7 days a week.
For Arma Reforger, the system is different: see Arma Reforger mods and create an Arma Reforger server. To send files from the command line, see SSH connection.
07
Frequently asked questions
How do I install a mod on an Arma 3 server?
Copy the @ModName folder to the server root, put its .bikey file in the server's keys folder, then add it to the -mod parameter of the launch line. Players must load the same mod, in the same version.
What is the difference between -mod and -serverMod on Arma 3?
Mods in -mod are loaded by the server and must also be loaded by players. Those in -serverMod only serve the server and are not announced to players, for example admin tools or server-side scripts.
Why are players kicked for a signature on my Arma 3 server?
With verifySignatures = 2, the server rejects a mod whose .bikey key is not in its keys folder, or whose version differs from its own. Copy each mod's key and update the mods on the server after every Workshop update.
How do I download Workshop mods for an Arma 3 server?
With SteamCMD, logged in to a Steam account that owns Arma 3: +workshop_download_item 107410 followed by the mod's number, for example 450814997 for CBA_A3. Files land in steamapps/workshop/content/107410; then copy them into an @name folder at the server root.
Should mods be renamed to lowercase on a Linux Arma 3 server?
Yes, it is the safest choice: Linux tells uppercase from lowercase, and the official Bohemia Interactive wiki states that some mods do not work if capitals remain in their file names. It gives a find and rename command that turns the whole mod folder to lowercase.