Planck/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Erentar moved page Planck's Sandbox to User:Planck/Sandbox: Bot: Moved page)
 
(2 intermediate revisions by one other user not shown)
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]]

Latest revision as of 04:23, 3 December 2018