Last updated
Last updated
A headless Client is used to offload AI calculations from the server.
Headless Client is integrated into the game client and dedicated server executable (Windows and Linux, use -client
parameter).
The server does not allow arbitrary connections from headless clients if you do not define the headless clients' IPs in the server.cfg
.
Starting up a headless client and having it connect to your server is easy, Creating a mission that uses the Headless Client is not.
This guide only handles the setup and connecting a headless client.
Edit the config file lgsm/config-lgsm/arma3server-hc.cfg
.
Change the port=
increasing the number by a factor of 12 e.g 2303 becomes 2314.
Update startparameters=
changing it to the following.
Edit the game server config of arma3server
(not the headless client) arma3server.server.cfg
and add the headless client IP address to headlessClients[]=
. If the headless client is on the same physical server as the ARMA 3 server then also add the IP to localClient[]=
.
Do not use 127.0.0.1 as the IP address.
Navigate to your profile directory.
edit Player.Arma3Profile
and add the line battleyeLicense=1;
.
Start your server with ./arma3server start
Start your headless client with ./arma3server-hc start
.
Only an admin can see the headless clients in the player menu on the server. The headless client will connect and automatically assume the first available headless client slot.
Mods can cause your server to become unstable or may not be compatible with each other. It is a good idea to read the mods docs and/or speak with other experienced Arma3 admins.
Here is a popular mod to get started:
Create a directory called @cba_a3
in serverfiles/mods
Copy the contents of the mod archive to the @cba_a3
directory.
Remember to check you have the correct user permissions once uploaded
Copy the contents of the @cba_a3/keys
directory to the server keys directory.
If you are adding multiple mods make sure you put a semicolon with the escape character in between each mod.
Arma 3 server requires that mods have lowercase names. Some mods do not do this and will need to have their file names converted to lowercase.
This can be done by using the following script.
Run the script from the serverfiles/mods
directory.
Create a using LinuxGSM ./linuxgsm.sh arma3server
. This will become the headless client instance and rename the new instance to arma3server-hc
.
Arma 3 mods are managed using the or manual downloads.
Firstly, you need to select the mods you want to use from the .
Download the Mod using the workshop id is 450814997
Add @cba_a3 to the mods=""
setting in the .
Start the server and check that your mods all have valid hashes.
You should see the "Community Base Addons" mod appear in your console
file.