

Put your Server Basic Config file to "/usr/home/arma-server/basic.cfg".Let's assume that ArmA is installed to "/usr/home/arma-server". \ArmA\NetLogs is required.Ĭhange the delims specified for %str% to match your regional date settings, the example above uses the "." as the date separator. "D:\Program Files\Bohemia Interactive\ArmA\arma_server.exe" -cfg=server_basic.cfg -config=server.cfg -profiles="%HomeDrive%%HomePath%\My Documents\ArmA Other Profiles\public_server" -netlog -ranking=public_ranking.txt -maxmem=1024Ī directory named. This will record to a net.log file in the ArmA program directory, IP Address, Player name, mod's they are loading, net traffic and the Player ID which is very useful for dealing with troublemakers.īe aware, the logs can grow large as they are not rotated, I would suggest doing this manually when the server is shutdown, or you could automate this in your startup batch file as follows: exist net.log goto rotatelog else endįor /f "tokens=1,2,3* delims=." %%i in ("%str%") do set str=%%k%%j%%iįor /f "tokens=1,2,3* delims=." %%i in ("%tme%") do set tme=%%i%%j%%k cmd extension should be maintained).ĭ:\ArmA\arma_server.exe -cfg=basic.cfg -config=server.cfg -profiles="D:\Documents and Settings\%UserName%\My Documents\ArmA" If you are running a public server, it is probably a good idea to enable logging using the parameter: -netlog Note that the batch file name can be anything you wish, "ArmA_Server.cmd" is used in this example (the. Shortcut properties (following the convention above where ArmA is installed to "D:\Arma", but this time the server profile is in the default "D:\Documents and Settings\%UserName%\My Documents\Arma" location): If so, simply create a batch command file to start ArmA_Server and point the Shortcut to it:.
#Where is the arma 2 config file windows#
You may find the required command is longer than that permissible in the Windows Shortcut Target: option. Put your Server Difficulty Settings File to "D:\ArmA\Users\server\server.armaprofile"ĭ:\ArmA\arma_server.exe -cfg=basic.cfg -config=server.cfg -profiles=D:\ArmA\Users\server -name=server parameter requires the explicit path to the directory containing the "server.armaprofile" file and the default location for this is "Drive:\Documents and Settings\UserName\My Documents\ArmA Other Profiles".Put your Server Config File to "D:\ArmA\server.cfg".Put your Server Basic Config file to "D:\ArmA\basic.cfg".Let's assume that ArmA is installed to "D:\Arma" and the Start in: property of the Windows shortcut is set to: "D:\Arma". Setting up a server is not easy and is not that obvious to do.īasically, the server configuration consists of four elements:
