<game_config>
  <game_key>fof_win32</game_key>
  <installer>steamcmd</installer>
  <game_name>Fistful of Frags</game_name>
  <server_exec_name>srcds.exe</server_exec_name>
  <cli_template>-console %GAME_TYPE% %PID_FILE% %MAP% %IP% %PORT% %PLAYERS% -condebug</cli_template>
  <cli_params>
    <cli_param id="PID_FILE" cli_string="-pidfile" options="s" />
    <cli_param id="MAP" cli_string="+map" options="s" />
    <cli_param id="IP" cli_string="+ip" options="s" />
    <cli_param id="PORT" cli_string="-port" options="s" />
    <cli_param id="PLAYERS" cli_string="+maxplayers" options="s" />
    <cli_param id="GAME_TYPE" cli_string="-game" options="s" />
  </cli_params>
  <maps_location>fof/maps/</maps_location>
  <map_list>fof/maplist.txt</map_list>
  <console_log>fof/console.log</console_log>
  <max_user_amount>20</max_user_amount>
  <control_protocol>rcon2</control_protocol>
  <mods>
    <mod key="fof">
      <name>none</name>
      <installer_name>295230</installer_name>
    </mod>
  </mods>
  <replace_texts>
    <text key="control_password">
      <default>rcon_password.*</default>
      <var>rcon_password</var>
      <filepath>fof/cfg/server.cfg</filepath>
      <options>sq</options>
    </text>
    <text key="home_name">
      <default>hostname.*</default>
      <var>hostname</var>
      <filepath>fof/cfg/server.cfg</filepath>
      <options>sq</options>
    </text>
  </replace_texts>
  <server_params>
    <param key="-insecure" type="checkbox_key_value">
      <caption>Disable Valve Anti-Cheat</caption>
      <desc>Will start the server without Valve Anti-Cheat technology.</desc>
    </param>
    <param key="-nohltv" type="checkbox_key_value">
      <caption>No SourceTV</caption>
      <desc>Disables SourceTV and closes its port.</desc>
    </param>
    <param key="-norestart" type="checkbox_key_value">
      <caption>No Restart</caption>
      <desc>Won't attempt to restart failed servers.</desc>
    </param>
    <param key="-nomaster" type="checkbox_key_value">
      <caption>Disable master server communication</caption>
    </param>
  </server_params>
  <custom_fields>
    <field key="sv_maxrate" type="text">
      <default>sv_Maxrate.*</default>
      <default_value>50000</default_value>
      <var>sv_Maxrate</var>
      <filepath>fof/cfg/server.cfg</filepath>
      <options>s</options>
      <desc>Max bandwidth rate allowed on server ( bytes per second ), 0 == unlimited.</desc>
    </field>
    <field key="sv_minrate" type="text">
      <default>sv_Minrate.*</default>
      <default_value>50000</default_value>
      <var>sv_Minrate</var>
      <filepath>fof/cfg/server.cfg</filepath>
      <options>s</options>
      <desc>Min bandwidth rate allowed on server ( bytes per second ), 0 == unlimited.</desc>
    </field>
    <field key="sv_maxcmdrate" type="text">
      <default>sv_Maxcmdrate.*</default>
      <default_value>100</default_value>
      <var>sv_Maxcmdrate</var>
      <filepath>fof/cfg/server.cfg</filepath>
      <options>s</options>
      <desc>If sv_mincmdrate is > 0, this sets the maximum value for cl_cmdrate.</desc>
    </field>
    <field key="sv_mincmdrate" type="text">
      <default>sv_Mincmdrate.*</default>
      <default_value>33</default_value>
      <var>sv_Mincmdrate</var>
      <filepath>fof/cfg/server.cfg</filepath>
      <options>s</options>
      <desc>This sets the minimum value for cl_cmdrate. 0 == unlimited.</desc>
    </field>
    <field key="sv_maxupdaterate" type="text">
      <default>sv_Maxupdaterate.*</default>
      <default_value>100</default_value>
      <var>sv_Maxupdaterate</var>
      <filepath>fof/cfg/server.cfg</filepath>
      <options>s</options>
      <desc>Maximum updates per second that the server will allow.</desc>
    </field>
    <field key="sv_minupdaterate" type="text">
      <default>sv_Minupdaterate.*</default>
      <default_value>33</default_value>
      <var>sv_Minupdaterate</var>
      <filepath>fof/cfg/server.cfg</filepath>
      <options>s</options>
      <desc>Minimum updates per second that the server will allow.</desc>
    </field>
  </custom_fields>
</game_config>