Planck/Sandbox – User
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
----- | ----- | ||
==Introduction== | |||
This article deals with the '''server.cfg''', the name means nothing, and can be called anything. The real name is determined by [[-config]] command line option when launching the dedicated server. This is a configuration file which you can use to configure various game server settings such as the difficulty level, how many votes are needed, and welcome messages. Please feel free to add more information . | |||
==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>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>checkfiles[]=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 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>persistent=1;</td> | |||
<td>Enables or disables the persistent battlefield. Default 0.</td> | |||
</tr> | |||
</table> | |||
==Example Configuration File== | |||
// comments are written with "//" in front of them. | |||
// server.cfg | |||
passwordAdmin = "xyzxyz"; // password to protect admin access | |||
password = "xyz"; // password required to connect to server | |||
hostname="OFP Server # 1"; | |||
motd[]= {"Welcome to OFP server.","Hosted by Flashpoint Webworlds.",}; // Welcome message, two lines "," means 'new line' | |||
motdInterval=1; // if motd has multiple lines, how fast to show these in succession (default is 5 seconds). | |||
voteThreshold=0.33; // when one third agrees, this is enough to confirm a vote | |||
reportingIP=""; // private server - no reporting ("armedass.master.gamespy.com" to report to the master server) | |||
voteMissionPlayers=3; // start voting for missions when 3 players connect | |||
checkfiles[]={"HWTL\dta\data3d.pbo","dta\data3d.pbo"}; //list of files to check for identity | |||
kickduplicate=1; // do not allow duplicate id | |||
equalModRequired=1; // require equal mod | |||
class Missions {}; | |||
===ArmA Demo Configuration=== | |||
When running the [[ArmA: Demo]] in server mode, there are 3 multi player missions included. The following example is for the missions included with the demo only. | |||
class Missions | |||
{ | |||
class MPCTF_01 // name for the mission, can be anything | |||
{ | |||
template = M02CaptureTheFlag.SaraLite; | |||
cadetMode = 1; // difficulty 0=veteran 1=cadet (not only AI, but radar, map etc) | |||
}; | |||
class MPCOOP_01 // name for the mission, can be anything | |||
{ | |||
template = M01Cooperative.SaraLite; | |||
cadetMode = 1; // difficulty 0=veteran 1=cadet (not only AI, but radar, map etc) | |||
}; | |||
class MPCTI_01 // name for the mission, can be anything | |||
{ | |||
template = M03ConquerTheIsland.SaraLite; | |||
cadetMode = 1; // difficulty 0=veteran 1=cadet (not only AI, but radar, map etc) | |||
}; | |||
}; | |||
==See Also== | |||
[[Armed Assault:Dedicated Server]] | |||
[[Operation Flashpoint:Dedicated Server]] |
Revision as of 19:06, 22 January 2007
Introduction
This article deals with the server.cfg, the name means nothing, and can be called anything. The real name is determined by -config command line option when launching the dedicated server. This is a configuration file which you can use to configure various game server settings such as the difficulty level, how many votes are needed, and welcome messages. Please feel free to add more information .
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 |
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. |
checkfiles[]=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 |
persistent=1; | Enables or disables the persistent battlefield. Default 0. |
Example Configuration File
// comments are written with "//" in front of them. // server.cfg passwordAdmin = "xyzxyz"; // password to protect admin access password = "xyz"; // password required to connect to server hostname="OFP Server # 1"; motd[]= {"Welcome to OFP server.","Hosted by Flashpoint Webworlds.",}; // Welcome message, two lines "," means 'new line' motdInterval=1; // if motd has multiple lines, how fast to show these in succession (default is 5 seconds). voteThreshold=0.33; // when one third agrees, this is enough to confirm a vote reportingIP=""; // private server - no reporting ("armedass.master.gamespy.com" to report to the master server) voteMissionPlayers=3; // start voting for missions when 3 players connect checkfiles[]={"HWTL\dta\data3d.pbo","dta\data3d.pbo"}; //list of files to check for identity kickduplicate=1; // do not allow duplicate id equalModRequired=1; // require equal mod class Missions {};
ArmA Demo Configuration
When running the ArmA: Demo in server mode, there are 3 multi player missions included. The following example is for the missions included with the demo only.
class Missions { class MPCTF_01 // name for the mission, can be anything { template = M02CaptureTheFlag.SaraLite; cadetMode = 1; // difficulty 0=veteran 1=cadet (not only AI, but radar, map etc) }; class MPCOOP_01 // name for the mission, can be anything { template = M01Cooperative.SaraLite; cadetMode = 1; // difficulty 0=veteran 1=cadet (not only AI, but radar, map etc) }; class MPCTI_01 // name for the mission, can be anything { template = M03ConquerTheIsland.SaraLite; cadetMode = 1; // difficulty 0=veteran 1=cadet (not only AI, but radar, map etc) }; };