The Arma 3 server.cfg is essential for running any Arma 3 server and offers many options to customize your Arma 3 server.
The server.cfg is edited either directly via FTP on a pre-installed game server or VPS.
For a game server, the interface also includes a Configuration menu on the left, allowing you to edit the server.cfg with just a few clicks.
To edit your Arma 3 server.cfg in the ZAP Editor, first click on your server in the interface, then select "Configuration" under "Settings" in the left menu.
Here you will see a list of available configuration files for Arma 3. We will only edit the server.cfg now.
Click the blue "Open File" button to enter the ZAP Editor.
Here you can customize your Arma 3 server, for example, the server name and the number of slots.
Adjust the settings as you wish and then click "Save."
When entering the server name, make sure to enclose it in quotation marks; otherwise, the server will not be able to read it.
It is also important to end each line with a semicolon (;), otherwise the server cannot read the following settings.
An exception is the "motd[]" option – here you must end each line with a comma, except for the last line, where you omit the comma.
Here, quotation marks, semicolons, and commas are missing, so the server would not start.
Alternatively to the ZAP Editor, you can also edit the server.cfg directly via FTP. In this example, we use FileZilla to establish an FTP connection to your game server and browse your server directories.
How to connect to your game server via FTP can be found here: FTP Access.
Make sure your game server is stopped while working on it via FTP.
After connecting to your game server via FTP as described above, navigate in the lower right window of FileZilla to the directory of your server.cfg, which you can find at: /g198376/arma3/config
The name of the first folder (g198376) is your server ID, so you can distinguish folders if you have multiple game servers.
In this directory, you will find your Arma 3 server.cfg as well as other configuration files.
Now you can select the server.cfg with a right-click and choose View/Edit.
A standard editor will open where you can edit your server.cfg as described above.
After editing, save the file with CTRL+S. Then you can close the editor; your server is now ready to start.