Basic Server Config File – Arma 2
Jump to navigation
Jump to search
Dark soldier (talk | contribs) No edit summary |
Dark soldier (talk | contribs) |
||
Line 3: | Line 3: | ||
This article deals with the '''basic.cfg''', the name means nothing, and can be called anything. The real name is determined by the [[-cfg]] command line option when launching the dedicated server. | This article deals with the '''basic.cfg''', the name means nothing, and can be called anything. The real name is determined by the [[-cfg]] command line option when launching the dedicated server. | ||
In this configuration file you should configure your server's connectivity. | In this configuration file you should configure your server's connectivity, mainly for performance tuning. | ||
==Server Options== | ==Server Options== |
Revision as of 19:22, 9 December 2007
Introduction
This article deals with the basic.cfg, the name means nothing, and can be called anything. The real name is determined by the -cfg command line option when launching the dedicated server.
In this configuration file you should configure your server's connectivity, mainly for performance tuning.
Server Options
Parameter | Description |
passwordAdmin = "xyzxyz"; | Password to protect admin access |
password = "xyz"; | Password required to connect to server |
hostname="OFP Server # 1"; | Server Hostname, the one visible in the game browser |
maxPlayers = 10; | The maximum number of players that can connect to server ( seems to be out by 1 in the demo at least ) |
motd[]= {"Welcome to OFP server.","Hosted by Flashpoint Webworlds.",}; | Welcome message, two lines "," means 'new line' |
Server Behavior | Description |
voteThreshold=0.33; | When one third agrees, this is enough to confirm a vote |
voteMissionPlayers=3; | Start voting for missions when 3 players connect |
reportingIP="<>"; | Private server - no reporting ("armedass.master.gamespy.com" to report to the master server) |
checkfiles[]={"HWTL\dta\data3d.pbo","dta\data3d.pbo"}; | List of files to check for integrity. |
kickduplicate=1; | Do not allow duplicate game ids |
equalModRequired=1; | Require equal mod as the server |
ArmA Only Parameters | Description |
verifySignatures=1; | Enables or disables the signature verification for addons. Default = 0 |
disableVoN=1; | Enables or disables the Voice over Net. Default = 0 |
vonCodecQuality=10; | Sets VoN codec quality. Can be from 1 to 10. Default = 3 |
persistent=1; | Enables or disables the persistent battlefield. Default 0. |
logFile = "server_console.log"; | Enables output of dedicated server console into textfile. Default location of log is same as crash dumps and other logs. (Local settings) Note that this does not change the location of the "net.log" file, which you enable with the -netlog command line option. |
doubleIdDetected = "command"; | see Server Side Scripting |
onUserConnected = "command"; | |
onUserDisconnected = "command"; | |
onHackedData = "command"; | |
onDifferentData = "command"; | |
onDifferentData = "command"; | |
onUnsignedData = "command"; | |
regularCheck = "command"; |
Enabling the persistency option will make missions that have either base or instant respawn keep on running after all players have disconnected. The other respawn types will not make a mission persistent. The kind of respawn a certain mission uses is set in its Description.ext.