Planck/Sandbox – User
Jump to navigation
Jump to search
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) }; };