An Arma 3 server on a VPS: AI, headless clients and mod packs
An Arma 3 server is heavy not because of the players but because of the bots. Every enemy squad the server moves across the map plans a route, looks for cover and aims, and nearly all of it runs in the main thread. Thirty players in a mission with a hundred bots load the server harder than sixty players in pure PvP. So you choose a VPS for Arma 3 by single-core speed and by how much AI your missions will have.
Server FPS and choosing a processor
The main health indicator of the server is its FPS, meaning how many times per second it updates the world. You can see it with the #monitor command in chat after logging in as admin. While it stays around 40–50, the game runs normally. When it drops to 15–20 or lower, desync sets in: bots freeze and jump from place to place, vehicles stutter, and hits register late.
- A small group of up to 10–15 people, missions with moderate AI. 4 cores at 3.5 GHz or more and 8 GB of memory.
- A community of 30–60 players, co-op with large mod packs. 4–6 fast cores and 12–16 GB. A pack on the scale of ACE, CBA and vehicle packs is loaded into the server's memory in full.
- A persistent campaign with hundreds of bots. 6–8 cores for headless clients, more on those below. Have a look at the high-frequency VPS selection: clock speed matters more than anything else here.
Work out the disk in advance too. The server itself is small, but popular mod packs weigh tens of gigabytes, and during an update SteamCMD temporarily needs extra space for the new versions.
Headless clients: taking the bots off the server
A headless client is another copy of the game without graphics that connects to the server like a player and takes over the AI calculations. The server hands it squads of bots, and the main thread is freed up for the players. You start such a client with the same server program using the parameters -client -connect=127.0.0.1 and the server password, so you don't need to buy the game again. If the client runs on the same machine, add its address to headlessClients[] and localClient[] in server.cfg so the server lets it in without bandwidth limits.
There are two conditions. First, the mission needs a slot for the headless client, and the mission or a mod has to be able to hand bots over to it. Many ready-made campaigns do this, but in your own mission you'll have to set up the handover yourself. Second, every client needs its own core and 2–4 GB of memory. Two clients on a four-core server will just take resources away from the server itself.
Installation, mods and ports
The server is released for Windows and Linux and installed through SteamCMD as app 233780. An anonymous login doesn't work for it; you need a Steam account. To download mods from the Steam Workshop through SteamCMD, use an account that owns Arma 3. Don't keep its password in plain text in your update scripts: SteamCMD remembers the login after the first authorisation.
The Windows version is still the main one. Mods are tested on it, and some server extensions, for example for working with a database, only come as Windows DLLs. A Linux server uses less memory, but there you have to convert mod file and folder names to lowercase, otherwise the server won't find them. If your pack is heavy or uses extensions, it's easier to take a Windows VPS and allow 2–3 GB of memory for the system.
Mods are loaded with the -mod=@CBA_A3;@ace parameter, and server-side ones with -serverMod. The signature keys (.bikey files) from each mod's folder are copied into the server's keys folder, and server.cfg turns on the check with verifySignatures = 2. Without it a player can join with modified files.
The server needs ports 2302–2306 over UDP: game and voice, Steam queries and registration, a backup voice port and BattlEye. If you change the base port with -port, the others shift along with it. A second server on the same machine goes at least 100 ports higher, for example 2402.
Saves, backups and protection
Most long campaigns save progress to the server profile, in a file with the .vars.Arma3Profile extension. Copy the profile folder together with server.cfg, basic.cfg and the mod list off the VPS once a day and before updating the pack. After a mod update an old campaign save sometimes stops loading, and without a copy you can't roll back.
For a community in Europe, servers in Germany or the Netherlands keep ping low across most of the continent. North American units do better with a data centre on the US East Coast or in the Midwest, and if your players are spread across both sides of the Atlantic, the East Coast is the usual compromise. You can compare locations on the VPS in Europe and VPS in the USA pages. Public Arma 3 servers sometimes get attacked, and a disconnect in the middle of a multi-hour operation ruins the evening for the whole unit, so for an open server choose a plan with DDoS protection. If you are choosing a game for a community, compare with VPS for DayZ: DayZ grew out of an Arma 2 mod, and its servers have similar concerns with mods, signature keys and BattlEye.