The following instructions will guide you through setting up an Arma 3 server on 1 box in just 10 steps, and it will also set the foundations for installing multiple servers on that same box.
Our friends over at ArmaHosts.com have been kind enough to create this video tutorial for the guide. It covers all the steps on setting up an Arma 3 server listed below.
Arma 3 Server Setup Steps
1. Install the latest version of DirectX
2. Create necessary empty directories
Below are two example directory names we will use for this guide.
3. Download steamcmd.exe
Save it to your newly created Steam install directory (D:\Steam)
4. Run the steamcmd.exe file
This will download and install the required steam files to your custom Steam directory.
5. Create an Arma3Server.cmd file and save it to D:\Steam
Here’s a sample Arma3Server.cmd you can use:
To create this file, simply paste the text below in a text editor and save the file as ‘Arma3Server.cmd’.
:: DEFINE the following variables where applicable to your install
SET STEAMLOGIN=mylogin mypassword
SET A3serverBRANCH=233780 -beta
:: For stable use 233780 -beta
:: For Dev use 233780 -beta development
:: Note, the missing qotation marks, these need to be wrapped around the entire "+app_data......"
:: There is no DEV branch data yet for Arma 3 Dedicated Server package !!!
SET A3serverPath = C:\ArmaServers\NewServer
SET STEAMPATH = C:\Steam\
echo You are about to update ArmA 3 server
echo Dir: %A3serverPath%
echo Branch: %A3serverBRANCH%
echo Key "ENTER" to proceed
%STEAMPATH%\steamcmd.exe +login %STEAMLOGIN% +force_install_dir %A3serverPath% +"app_update %A3serverBRANCH%" validate +quit
echo Your ArmA 3 server is now up to date
echo key "ENTER" to exit
6. Run the Arma3Server.cmd file
Just after logging into Steam, the console window will hang and ask for a validation key. Steam will have automatically sent you an email with this validation code, which you then need to input at the command prompt. The Update console window should then continue to run and install ArmA3 DEV or STABLEversion to the target directory as defined in the .cmd file) eg (D:\Games\ArmA3\A3Master)
Then, rename D:\ArmaServers\newserver to a descriptive name for your server, such as D:\ArmaServers\ClanServer.
7. Create a shortcut for the ArmA3Server.exe on the server desktop
This shortcut will be used to run the server.
8. Add the following parameters to the Target Line in the shortcut tab of the newly created desktop shortcut
To access the target line, right click on the shortcut icon and click Properties. Add the following text to the end of the Target Line.
- -port=2302 (Required if running multiple server instances including any previous ArmA2 instances)
Make sure it looks similar to the following:
"D:\ArmaServers\ClanServer\arma3server.exe" -profiles=ArmaHosts -port=2302 -config=server\server.cfg -world=empty -name=ArmaHosts -noSound -noSplash -noPause -loadMissionToMemory -autoInit -enableHT
9. Open the ports in your firewall
- 2302-2305 UDP Incoming (Game Server Ports)
- 2302-2305 UDP Outgoing (Game Server Ports
- 2344 TCP & UDP Outgoing (Battleye Ports)
10. Create a simple Notepad document called “server.cfg” and save it to a new folder in the root of your ArmA3 install on the server (D:\ArmaServers\ClanServer\server)
You’re done! Now, just start up your shortcut. You should see a console pop up in your desktop after a few seconds.
If you’ve reached here, you should now have a fully running Arma 3 server!
Accessing Administrative Commands
Login to your server using the password you defined in server.cfg by typing “/” to open the chat window and then type (#login ADMINPASSWORD) followed by enter.
Make sure you never forget the ‘#’ in front of any server command!
Once logged in you will be presented with a mission list. Just select one of the missions to start the game.