Difference between revisions of "DedicatedServer:Settings"

From Galactineers
Jump to navigationJump to search
(Created page with "{{DISPLAYTITLE:Dedicated Server Settings}} Category:DedicatedServer")
 
 
Line 1: Line 1:
 
{{DISPLAYTITLE:Dedicated Server Settings}}
 
{{DISPLAYTITLE:Dedicated Server Settings}}
 +
The dedicated server can be configured via the '''server_settings.xml''' file, which looks like this:
 +
<source lang="xml">
 +
<ServerSettings>
 +
  <MaxPlayers>12</MaxPlayers>
 +
  <IPBinding>123.123.123.123</IPBinding>
 +
  <Password>myPassword</Password>
 +
  <MapPath>maps/OnlineServer</MapPath>
 +
  <Port>13579</Port>
 +
  <BlackList>
 +
    <string>HostileUserName</string>
 +
  </BlackList>
 +
</ServerSettings>
 +
</source>
  
 +
{| class="wikitable"
 +
|+ Parameters
 +
|-
 +
! Parameter
 +
! Type
 +
| Description
 +
|-
 +
| <MaxPlayers> || integer || ''Mandatory''. Maximum number of players allowed to connect simultaneously. Maximum value is 16.
 +
|-
 +
| <IPBinding> || IP address || ''Optional''. Can be used to bind the server to a certain IP, if you host multiple games at different IPs on the same machine.
 +
|-
 +
| <Port> || integer || ''Mandatory''. The port the server will listen for connections. Default is ''13579''.
 +
|-
 +
| <Password> || string || ''Optional''. Used to password-protect your server. Leave blank to allow joining without password.
 +
|-
 +
| <MapPath> || string || ''Mandatory''. Relative path to the map file. If the file does not exist at startup, server will create a new map.
 +
|-
 +
| <BlackList> || List<string> || ''unsupported yet''. Can be used to blacklist players to prevent them from joining your server.
 +
|}
 
[[Category:DedicatedServer]]
 
[[Category:DedicatedServer]]

Latest revision as of 20:11, 15 March 2016

The dedicated server can be configured via the server_settings.xml file, which looks like this:

<ServerSettings>
  <MaxPlayers>12</MaxPlayers>
  <IPBinding>123.123.123.123</IPBinding>
  <Password>myPassword</Password>
  <MapPath>maps/OnlineServer</MapPath>
  <Port>13579</Port>
  <BlackList>
    <string>HostileUserName</string>
  </BlackList>
</ServerSettings>
Parameters
Parameter Type Description
<MaxPlayers> integer Mandatory. Maximum number of players allowed to connect simultaneously. Maximum value is 16.
<IPBinding> IP address Optional. Can be used to bind the server to a certain IP, if you host multiple games at different IPs on the same machine.
<Port> integer Mandatory. The port the server will listen for connections. Default is 13579.
<Password> string Optional. Used to password-protect your server. Leave blank to allow joining without password.
<MapPath> string Mandatory. Relative path to the map file. If the file does not exist at startup, server will create a new map.
<BlackList> List<string> unsupported yet. Can be used to blacklist players to prevent them from joining your server.