<game_config>
  <game_key>rust_win64</game_key>
  <installer>steamcmd</installer>
  <game_name>Rust</game_name>
  <server_exec_name>RustDedicated</server_exec_name>
  <cli_template>-batchmode -nographics +server.ip %IP% %PORT% %QUERY_PORT% %PLAYERS% %HOSTNAME% %IDENTITY% %DESCRIPTION% %WORLDSIZE% %SEED% %SALT% %TICKRATE% %MAP% %BCK% %SAVEINTERNAL% %SECURE% %RCONWEB% %CONTROL_PASSWORD% -logfile output.txt</cli_template>
  <cli_params>
    <cli_param id="IP" cli_string="" />
    <cli_param id="PORT" cli_string="+server.port" options="s" />
    <cli_param id="PLAYERS" cli_string="+server.maxplayers" options="s" />
    <cli_param id="HOSTNAME" cli_string="+server.hostname" options="sq" />
    <cli_param id="CONTROL_PASSWORD" cli_string="+rcon.password" options="sq" />
  </cli_params>
  <reserve_ports>
    <port type="add" id="RCON_PORT" cli_string="+rcon.port" options="s">1</port>
    <port type="add" id="QUERY_PORT" cli_string="+server.queryport" options="s">10</port>
  </reserve_ports>
  <console_log>output.txt</console_log>
  <max_user_amount>500</max_user_amount>
  <mods>
    <mod key="default">
      <name>None</name>
      <installer_name>258550</installer_name>
      <installer_login>anonymous</installer_login>
    </mod>
  </mods>
  <server_params>
    <param key="+server.identity" type="text" id="IDENTITY">
      <default>server_identity</default>
      <options>sq</options>
      <desc>Changes path to your server data (e.g. rust/server/my_server_identity).</desc>
    </param>
 <param key="+server.description" type="text" id="DESCRIPTION">
      <default>Plain old Rust Server</default>
      <options>sQ</options>
      <desc>Server Description shown on server browser</desc>
    </param>

    <param key="+server.worldsize" type="text" id="WORLDSIZE">
      <default>1000</default>
      <options>s</options>
      <desc>Defines the size of the map generated (min 1000, max 8000).</desc>
    </param>
    <param key="+server.seed" type="text" id="SEED">
      <default>0</default>
      <options>s</options>
      <desc>Defines the map generation seed.</desc>
    </param>
    <param key="+server.salt" type="text" id="SALT">
      <default>0</default>
      <options>s</options>
      <desc>Defines the randomization to mining resources.</desc>
    </param>
    <param key="+server.tickrate" type="text" id="TICKRATE">
      <default>30</default>
      <options>s</options>
      <access>admin</access>
      <desc>Defines the server tickrate (going higher than 30 is not recommended).</desc>
    </param>
    <param key="+server.level" type="select" id="MAP">
      <option value="Barren">Barren</option>
      <option value="CraggyIsland">Craggy Island</option>
      <option value="HapisIsland">Hapis Island</option>
      <option value="Procedural Map">Procedural Map</option>
      <option value="SavasIsland">Savas Island</option>
      <option value="SavasIsland_koth">Savas Island KoTH</option>
      <desc>Defines the map of the server.</desc>
    </param>
    <param key="+backup" type="checkbox_key_value" id="BCK">
      <desc>Enable automatic backups.</desc>
    </param>
    <param key="+server.saveinterval" type="text" id="SAVEINTERNAL">
      <default>600</default>
      <options>s</options>
      <desc>Interval between the server saves the map.</desc>
    </param>
    <param key="+rcon.web" type="select" id="RCONWEB">
      <option value="0">Disabled</option>
      <option value="1">Enabled</option>
      <options>s</options>
      <desc>If set to enabled, use websocket RCON. If set to disabled, use legacy source engine RCON.</desc>
    </param>
  </server_params>
<pre_start>
</pre_start>

</game_config>
