Basic Server Config File – Arma 2
Jump to navigation
Jump to search
Dark soldier (talk | contribs) No edit summary |
Dark soldier (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
In this configuration file you should configure your server's connectivity. | In this configuration file you should configure your server's connectivity. | ||
==Server Options== | |||
<table border="1" cellpadding="2" cellspacing="2"> | |||
<tr> | |||
<td>'''Parameter'''</td> | |||
<td>'''Description'''</td> | |||
</tr> | |||
<tr> | |||
<td>passwordAdmin = "xyzxyz";</td> | |||
<td>Password to protect admin access</td> | |||
</tr> | |||
<tr> | |||
<td>password = "xyz";</td> | |||
<td>Password required to connect to server</td> | |||
</tr> | |||
<tr> | |||
<td>hostname="OFP Server # 1";</td> | |||
<td>Server Hostname, the one visible in the game browser</td> | |||
</tr> | |||
<tr> | |||
<td>maxPlayers = 10;</td> | |||
<td>The maximum number of players that can connect to server ( seems to be out by 1 in the demo at least )</td> | |||
</tr> | |||
<tr> | |||
<td>motd[]= {"Welcome to OFP server.","Hosted by Flashpoint Webworlds.",};</td> | |||
<td>Welcome message, two lines "," means 'new line'</td> | |||
</tr> | |||
</table> | |||
<table border="1" cellpadding="2" cellspacing="2"> | |||
<tr> | |||
<td>'''Server Behavior'''</td> | |||
<td>'''Description'''</td> | |||
</tr> | |||
<tr> | |||
<td>voteThreshold=0.33;</td> | |||
<td>When one third agrees, this is enough to confirm a vote</td> | |||
</tr> | |||
<tr> | |||
<td>voteMissionPlayers=3;</td> | |||
<td>Start voting for missions when 3 players connect</td> | |||
</tr> | |||
<tr> | |||
<td>reportingIP="<>";</td> | |||
<td>Private server - no reporting ("armedass.master.gamespy.com" to report to the master server)</td> | |||
</tr> | |||
<tr> | |||
<td>checkfiles[]={"HWTL\dta\data3d.pbo","dta\data3d.pbo"}; </td> | |||
<td>List of files to check for integrity.</td> | |||
</tr> | |||
<tr> | |||
<td>kickduplicate=1; </td> | |||
<td>Do not allow duplicate game ids </td> | |||
</tr> | |||
<tr> | |||
<td>equalModRequired=1;</td> | |||
<td>Require equal mod as the server</td> | |||
</tr> | |||
</table> | |||
<table border="1" cellpadding="2" cellspacing="2"> | |||
<tr> | |||
<td>'''ArmA Only Parameters'''</td> | |||
<td>'''Description'''</td> | |||
</tr> | |||
<tr> | |||
<td>verifySignatures=1;</td> | |||
<td>Enables or disables the [[ArmA: Addon Signatures|signature verification]] for addons. Default = 0</td> | |||
</tr> | |||
<tr> | |||
<td>disableVoN=1;</td> | |||
<td>Enables or disables the Voice over Net. Default = 0</td> | |||
</tr> | |||
<tr> | |||
<td>vonCodecQuality=10;</td> | |||
<td>Sets VoN codec quality. Can be from 1 to 10. Default = 3</td> | |||
</tr> | |||
<tr> | |||
<td>persistent=1;</td> | |||
<td>Enables or disables the persistent battlefield. Default 0.</td> | |||
</tr> | |||
<tr> | |||
<td>logFile = "server_console.log";</td> | |||
<td>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.</td> | |||
</tr> | |||
<tr> <td>doubleIdDetected = "command";</td><td>see [[ArmA: Server Side Scripting|Server Side Scripting]]</td></tr> | |||
<tr> <td>onUserConnected = "command";</td></tr> | |||
<tr> <td>onUserDisconnected = "command";</td></tr> | |||
<tr> <td>onHackedData = "command";</td></tr> | |||
<tr> <td>onDifferentData = "command";</td></tr> | |||
<tr> <td>onDifferentData = "command";</td></tr> | |||
<tr> <td>onUnsignedData = "command";</td></tr> | |||
<tr> <td>regularCheck = "command";</td></tr> | |||
</table> | |||
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]]. |
Revision as of 19:20, 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.
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.