<game_config>
	<game_key>brainbread2_linux32</game_key>
	<installer>steamcmd</installer>
	<game_name>BrainBread 2</game_name>
	<server_exec_name>srcds_run</server_exec_name>
	<cli_template>%GAME_TYPE% %PID_FILE% %MAP% %IP% %PORT% %PLAYERS%</cli_template>
	<cli_params>
		<cli_param id="GAME_TYPE" cli_string="-game" options="s" />
		<cli_param id="PID_FILE" cli_string="-pid_file ../" />
		<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_params>
	<maps_location>brainbread2/maps/</maps_location>
	<map_list>brainbread2/maplist.txt</map_list>
	<max_user_amount>12</max_user_amount>
	<control_protocol>rcon2</control_protocol>
	<mods>
		<mod key="brainbread2">
			<name>none</name>
			<installer_name>475370</installer_name>
			<installer_login>anonymous</installer_login>
		</mod>
	</mods>
	<replace_texts>
		<text key="control_password">
			<default>rcon_password.*</default>
			<var>rcon_password</var>
			<filepath>brainbread2/cfg/server.cfg</filepath>
			<options>sq</options>
		</text>
		<text key="home_name">
			<default>hostname.*</default>
			<var>hostname</var>
			<filepath>brainbread2/cfg/server.cfg</filepath>
			<options>sq</options>
		</text>
	</replace_texts>
	<server_params>
		<param key="+sv_setsteamaccount" type="text">
			<caption>Steam Account Login Token</caption>
			<desc>Manage your steam tokens (appid 475370) &lt;a href=https://steamcommunity.com/dev/managegameservers target=_blank&gt;here&lt;/a&gt;</desc>
		</param>

		<param key="-sv_pure" type="select">
			<option value="-1">Do not apply any rules or restrict which files the client may load. (Default)</option>
			<option value="0">Apply rules in cfg/pure_server_minimal.txt only</option>
			<option value="1">Apply rules in cfg/pure_server_full.txt and then cfg/pure_server_whitelist.txt</option>
			<option value="2">Apply rules in cfg/pure_server_full.txt</option>
			<caption>Pure Server</caption>
			<desc>A pure server is one that forces all clients on the server to use content that matches what is on the server.</desc>
		</param>
		<param key="-dev" type="checkbox_key_value">
			<caption>Developer Messages.</caption>
			<desc>Show developer messages.</desc>
		</param>
		<param key="-debuglog custom_error.log" type="checkbox_key_value">
			<caption>Error Logging</caption>
			<desc>File Errors are Logged to.</desc>
		</param>
		<param key="-debug" type="checkbox_key_value">
			<caption>Debugging</caption>
			<desc>Turns on Debugging.</desc>
		</param>
		<param key="+motdfile custom_motd.txt" type="checkbox_key_value">
			<caption>Custom MOTD</caption>
			<desc>Custom MOTD file.</desc>
		</param>
		<param key="+mapcyclefile custom_mapcycle.txt" type="checkbox_key_value">
			<caption>Custom Mapcycle</caption>
			<desc>Custom Mapcycle file.</desc>
		</param>
		<param key="-nomaster" type="checkbox_key_value">
			<caption>Disable master server communication</caption>
		</param>
		<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">
<default>checked</default>
 <caption>No SourceTV</caption>
      <desc>Disables SourceTV and closes its port.</desc>
    </param>

	</server_params>
	<custom_fields>
		<field key="sv_maxrate" type="text">
			<default>sv_maxrate.*</default>
			<default_value>0</default_value>
			<var>sv_maxrate</var>
			<filepath>brainbread2/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>16000</default_value>
			<var>sv_minrate</var>
			<filepath>brainbread2/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>66</default_value>
			<var>sv_maxcmdrate</var>
			<filepath>brainbread2/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>66</default_value>
			<var>sv_mincmdrate</var>
			<filepath>brainbread2/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>66</default_value>
			<var>sv_maxupdaterate</var>
			<filepath>brainbread2/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>66</default_value>
			<var>sv_minupdaterate</var>
			<filepath>brainbread2/cfg/server.cfg</filepath>
			<options>s</options>
			<desc>Minimum updates per second that the server will allow.</desc>
		</field>
	</custom_fields>
	<configuration_files>
		<file description="Main Configuration File">brainbread2/cfg/server.cfg</file>
	</configuration_files>
</game_config>
