Arma 3 (Generic) Guide

This article sets out some key basic information for running an Arma 3 server on AMP. This article assumes that the “Generic” template is being used, not the CubeCoders official module (ARMA III, which is now legacy).

1. Dependencies on Windows

Arma 3 requires the following dependencies on Windows to be installed:

You will also need X86 Visual C++ Redistributable Packages for Visual Studio 2015-2022 to run SteamCMD in AMP to install the server.

2. Ports

Arma 3 uses (or reserves) a number of ports, which are allocated accordingly in AMP:

  • Game Port: 2302 UDP by default
  • Query Port: 2303 UDP by default
  • Steam Port: 2304 UDP by default
  • Reserved Port: 2305 UDP by default
  • BattlEye Port: 2306 UDP by default
  • RCON Port: 2307 UDP by default

At least the first three ports need to be port forwarded (if you’re on a NAT network). Also forward the BattlEye port if using BattlEye on the server.

Check what ports are actually allocated to your instance by clicking on the “Edit Ports” button for the instance.

The query port is used for finding and connecting to the server in Steam. The game port is used for finding and connecting to the server in-game.

You can use the RCON port to connect to the server’s RCON by an external RCON client if needed.

Note that all ports other than the game port and RCON port are configured by the server as relative to the game port. So the query port is game port + 1, the Steam port is game port + 2, etc. Make sure that at least the first five ports above are sequential in AMP.

3. Settings

Almost all settings that can be configured in the server’s config file, as listed here, are included in AMP’s UI.

You can search for a setting using its formal name (eg allowedFilePatching) using AMP’s search bar to find it in AMP’s UI.

AMP uses a file called AMP_server.cfg to control Arma 3’s settings. This file is in the server base directory. This file writes the relevant settings to server.cfg, which is then loaded by the server. Don’t edit server.cfg directly - AMP will overwrite it.

AMP_server.cfg has two sections. You should not change the first section in any way.

Any settings that are not handled by AMP in the first section can be configured in the second section, under “USER CONFIGURABLE SETTINGS”.

This applies particularly to mission settings, including mission cycles.

4. Mods

4.1 Installing/updating

The “Steam workshop items” option under the Updates menu is used to download and update mods on the server.

Specify the mods to be downloaded and updated by adding its mod ID, such as 2912941775. Each mod ID has to be added separately. Order doesn’t matter.

The mods will be downloaded and updated whenever the server is updated.

The mod files are downloaded to the directory steamapps/workshop/content/107410, in separate directories.

4.2 Loading

To load mods, they need to be specified either under “Load Mods” or “Load Server Mods” in the Arma Server Settings menu, depending on the mod type (ie whether they need to be used on the client as well, or only on the server).

The mod lists must be separated by semi-colons. Make sure your mod lists are just one line - no line breaks or carriage returns.

On both Windows and Linux, AMP automatically creates symlinks (technically directory junctions on Windows) in the server base directory to the mod directories downloaded via Updates. So you only have to specify the mod IDs to load them, such as 450814997;583496184;620019431;1472073760;583544987;2912941775.

On Linux, AMP also ensures that all the mod directories and files are in lowercase, to prevent loading issues.

Note that, for some mods, order of loading is important.

4.3 Signature verification

By default, AMP enables addon signature verification, meaning that clients cannot connect if they are using mods not allowed by the server. This is a cheating protection.

To permit mods, the relevant .bikey file needs to be added to the keys directory in the server base directory. For mods installed on your server that clients are also intended to use, copy the .bikey files from the keys or key directory inside each mod directory. Also add the .bikey files of other mods (ie client-only mods) that you wish to allow.

AMP can do this automatically for you for any mods listed in “Load Mods” and/or “Client Mods”, by enabling the “Manage Bikeys” setting. The relevant .bikey files will be copied across when the server is started (assuming the mods are installed on the server, including client-only mods). Note that this will remove the .bikey files for any other mods, other than the default a3.bikey.

Alternatively, you can disable “Addon Signature Verification”, although this is not recommended.

5. Server binding

By default the Arma 3 server is bound to the application IP binding set for the instance. This is normally 0.0.0.0 (all interfaces) unless it has been changed under New Instance Defaults.

If you have multiple IPs on your host, you may wish to bind the server to one of them. You can do this by changing the “Server IP Address” under the Security and Privacy menu.

The IP binding set in this way must be one that AMP itself can reach. Otherwise AMP will not be able to connect to the server’s RCON, and therefore won’t detect when the server is started. As well, logging output to the console, and input from the console, will not be enabled. This can particularly be an issue if the server is bound to a public IP (such as on a VPS). Generally it is better to keep the binding as 0.0.0.0.

6. Headless clients

Headless clients can be used to offload AI calculations from the Arma 3 server, helping improve performance by spreading the processing load across more CPU cores.

You can run headless clients via AMP. AMP allows up to 5 per server, but you generally won’t need more than 2 or 3. Remember that each headless client consumes resources (CPU and RAM), so you must take that into account when deciding how many to run, and if to run them. You can of course also run headless clients for your server on another host (not via AMP).

The headless clients run via AMP are launched when the server is started, and terminated when the server shuts down.

In the Arma Server Settings menu, set the number of clients you want to launch under “Headless Clients To Launch”.

Also set the appropriate IP of the headless clients under “Headless Clients IPs”:

  • If your Arma 3 server is bound to 0.0.0.0 (all IPs), then set "127.0.0.1"
  • If your Arma 3 server is bound to an actual IP, then set that IP, eg "192.168.1.10". As noted above, that IP binding must be reachable from the server, otherwise the headless clients will not be able to connect.

If the IP is 127.0.0.1 or a local (private) IP, set it also under “Local Headless Client IPs”.

(Include the quotation marks in the two IP settings.)

Note that, as a failsafe, if the server is not successfully started within a specified period, the headless clients will not be launched. The default period is 3 minutes, but this can be increased under “Headless Clients Launch Time Limit”.

Any mods listed under “Load Mods” will be passed to the headless clients so that they can connect to the server. If you are instead using a parameters file to load mods for the server (under “Use Server Startup Parameters File”), you can also use a separate parameters file (called hc_parameters.txt) to pass the mods to the headless clients. See the “Use Headless Client Startup Parameters File” setting.

7. Creator DLCs

Creator DLCs are additional content for Arma 3 servers, created by external developers but published by Bohemia Interactive.

To load a Creator DLC on your server:

  1. In the SteamCMD and Updates menu, select Creator DLC Build under “Server Branch”. (Or select Creator DLC + Performance Profiling Builds if you want to use the Performance Profiling build of the server binary with the Creator DLC build. This will take more space on disk.)

  2. Click Update on the Status menu page to install the Creator DLC build (and Performance Profiling build if relevant).

  3. Under “Load Mods” in the Arma Server Settings menu, add the relevant DLC code to load the DLC when the server starts:

    DLC Code
    Global Mobilization - Cold War Germany gm
    S.O.G. Prairie Fire vn
    CSLA Iron Curtain csla
    Western Sahara ws
    Spearhead 1944 spe
  4. Add any DLC missions you want to load to AMP_server.cfg.

8. Server executable

AMP supports running either the 32 bit or 64 bit version of the server. You can switch between them via “Server Executable” under the SteamCMD and Updates menu.

The 32 bit version is required for some mods.