Arma 3 Server Setup Guide

Arma 3 Server Setup Guide

Arma3logo

Arma 3 Server Setup

Arma 3 Server Os supported

  • Windows
  • Linux*

Arma 3 Server windows Setup
Guide taken from https://community.bistudio.com/wiki/Arma_3_Dedicated_Server

The following instructions will guide you through setting up one Arma 3 server on 1 box, however they will also set the foundations for installing multiple servers on that same box

  1. Install the latest version of DirectX
  2. Create the following empty directories
    • D:\Apps\Steam
    • D:\Games\ArmA3\A3Master
    • D:\Games\ArmA3\A3Files
  3. Download steamcmd.exe and save it to your targetted Steam install directory (E.g D:\Apps\Steam)
  4. Run the steamcmd.exe. (This will download and install the required steam files to your custom steam directory)
  5. Create an #Arma3server_steamcmd_example.cmd file and save it to D:\Games\ArmA3\A3Files
  6. Run the #Arma3server_steamcmd_example.cmd file
  7. 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 STABLE) version to the target directory as defined in the .cmd file) eg (D:\Games\ArmA3\A3Master)
  8. Create a shortcut for the ArmA3Server.exe on the server desktop
  9. Add the following parameters to the Target Line in the shortcut tab of the newly created desktop shortcut
    • -port=2302 (Required if running multiple server instances including any previous ArmA2 instances)
    • “-profiles=d:\Games\Arma3\A3Master”
    • -config=CONFIG_Vanilla.cfg
    • -world=empty
      • so it looks something similar to the following
      • “D:\Games\Arma3\A3Master\arma3server.exe” “-profiles=d:\Games\Arma3\A3Master” -port=2302 -config=CONFIG_Vanilla.cfg -world=empty
  10. Setup the #Port Forwarding in your firewall accordingly
  11. Create a simple Notepad document called “CONFIG_Vanilla.cfg” and save it to the root folder of your ArmA3 install on the server D:\Games\ArmA3\A3Master
  12. Start up your shortcut, check the server runs. (You will see a console pop up in your desktop after a few seconds)
  13. Close the console window down, then you will need to edit the following files which will have been automatically created
    • D:\Games\Arma3\A3Master\Users\Adminstrator\Administrator.Arma3Profile
    • D:\Games\Arma3\A3Master\Users\Administrator\Arma3.cfg
  14. Restart the server
  15. Start up your client Arma3.exe (Running the same branch as the server, (eg Stable or DEV) and you should then be able to see your server in the server browser (Filters are available to reduce the server list)
  16. Login to your server using the password you defined in #CONFIG_Vanilla.cfg by typing “/” to open the chat window and then type (#login ADMINPASSWORD) followed by enter
    Warning: Make sure you never forget the '#' in front of any server command!
  17. Once logged in you will be presented with a mission list, select one of the missions to start the game
  18. Prove the stability of your server by running BIS missions initially before you start adding user made content

 

Examples:

Arma3server_steamcmd_example.cmd

@echo off

@rem http://media.steampowered.com/installer/steamcmd.zip

SETLOCAL ENABLEDELAYEDEXPANSION

:: 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:\A3server\

SET STEAMPATH=C:\STEAMcmd\
:: _________________________________________________________

echo.

echo You are about to update ArmA 3 server

echo Dir: %A3serverPath%

echo Branch: %A3serverBRANCH%

echo.

echo Key "ENTER" to proceed pause %STEAMPATH%\steamcmd.exe +login %STEAMLOGIN% +force_install_dir %A3serverPath% +"app_update %A3serverBRANCH%" validate +quit

echo .

echo Your ArmA 3 server is now up to date echo key "ENTER" to exit pause
Config_Vanilla.cfg
//
// server.cfg
//
// comments are written with "//" in front of them.

// STEAM

steamport		=8766;  //default 8766, needs to be unique if multiple serves on same box
steamqueryport        	=27016; //default 27016, needs to be unique if multiple servers on same box

// GLOBAL SETTINGS

hostname        	= "My Server:    My Teamspeak address";        // The name of the server that shall be displayed in the public server list
//password         	= "ServerAccessPassword";            		// Password for joining, eg connecting to the server
passwordAdmin         	= "AdminPassword";                		// Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz'
//reportingIP         	= "arma3pc.master.gamespy.com";            	// not used at all in Arma 3
logFile            	= "arma3server.log";
verifySignatures     	= 2;
equalModRequired = 0;            		// kick if data/mods aren't equal
requiredSecureId = 2;            		// was used to define type of secureID

// WELCOME MESSAGE ("message of the day")
// It can be several lines, separated by comma
// Empty messages "" will not be displayed at all but are only for increasing the interval

motd[]={
    "Welcome to My Arma 3 Server",
    "TS3 Server:     teamspeak.somewhere.com",
    "Web:            www.example.com"
};
motdInterval 		= 30;            		// Time interval (in seconds) between each message

// JOINING RULES
maxPlayers		= 40;				// Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.
kickDuplicate = 1;					// Each ArmA version has its own ID. If kickDuplicate is set to 1, a player will be kicked 
//requiredBuild = 12345					// Require clients joining to have at least build 12345 of game, preventing obsolete clients to connect


// VOTING
voteMissionPlayers	= 1;        			// Tells the server how many people must connect so that it displays the mission selection screen.
voteThreshold		= 0.33;     			// 33% or more players need to vote for something, for example an admin or a new map, to become effective
//voteMissionPlayers	= 0;

// INGAME SETTINGS
disableVoN = 1;						// If set to 1, Voice over Net will not be available
vonCodecQuality = 0;					// supports range 1-30 //8kHz is 0-10 (narrowband), 16kHz is 11-20 (wideband), 32kHz is 21-30 (ultrawideband)
persistent = 1;						// If 1, missions still run on even after the last player disconnected.
timeStampFormat = "short";				// Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default),"short","full".
BattlEye = 1;                                           // Server to use BattlEye system
allowedLoadFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"}; // only allow files with those extensions to be loaded via loadFile command (since Arma 3 build 1.19.124216) 
allowedPreprocessFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"}; // only allow files with those extensions to be loaded via preprocessFile/preprocessFileLineNumber commands (since Arma 3 build 1.19.124323) 


// SCRIPTING ISSUES
onUserConnected = "";					//
onUserDisconnected = "";				//
doubleIdDetected = "";					//

// SIGNATURE VERIFICATION
onUnsignedData = "kick (_this select 0)";		// unsigned data detected
onHackedData = 	"kick (_this select 0)";	//"ban (_this select 0)";			// tampering of the signature detected
onDifferentData = "";

 

Arma 3 Server RCON Commands

 

CommandExampleDescription

#login password #login adminPW Log in as the admin
#logout as is Admin log out
#mission filename #mission myDM.intro Select mission with known name
#missions Select mission
#restart Restart mission
#reassign Start over and reassign roles
#shutdown Shuts down the server
#init Reload server config file loaded by –config option
#exec ban #exec ban nickName #exec ban 47114712 #exec ban 3 Allows you to ban a player. Their ID will be added to the ban.txt
#kick #kick nickName #kick 47114712 #kick 3 Allows you to kick a player
#monitor (interval in sec) #monitor 1 Shows performance information of the server. Interval 0 means to stop monitoring
#debug off #debug off Disables debbuging.
#debug (interval in sec) #debug 30 Default interval is 10 seconds.
  1. breedbreed03-18-2015

    Please show video how create this server

Leave a Reply