133 lines
No EOL
4.9 KiB
XML
133 lines
No EOL
4.9 KiB
XML
<game_config>
|
|
<game_key>hl2d_win32</game_key>
|
|
<installer>steamcmd</installer>
|
|
<game_name>Half-Life 2: Deathmatch</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>hl2mp/maps/</maps_location>
|
|
<map_list>hl2mp/maplist.txt</map_list>
|
|
<console_log>hl2mp/console.log</console_log>
|
|
<max_user_amount>32</max_user_amount>
|
|
<control_protocol>rcon2</control_protocol>
|
|
<mods>
|
|
<mod key="hl2mp">
|
|
<name>none</name>
|
|
<installer_name>232370</installer_name>
|
|
<installer_login>anonymous</installer_login>
|
|
</mod>
|
|
</mods>
|
|
<replace_texts>
|
|
<text key="control_password">
|
|
<default>rcon_password.*</default>
|
|
<var>rcon_password</var>
|
|
<filepath>hl2mp/cfg/server.cfg</filepath>
|
|
<options>sq</options>
|
|
</text>
|
|
<text key="home_name">
|
|
<default>hostname.*</default>
|
|
<var>hostname</var>
|
|
<filepath>hl2mp/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>0</default_value>
|
|
<var>sv_maxrate</var>
|
|
<filepath>hl2mp/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>5000</default_value>
|
|
<var>sv_minrate</var>
|
|
<filepath>hl2mp/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>hl2mp/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>67</default_value>
|
|
<var>sv_mincmdrate</var>
|
|
<filepath>hl2mp/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>hl2mp/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>67</default_value>
|
|
<var>sv_minupdaterate</var>
|
|
<filepath>hl2mp/cfg/server.cfg</filepath>
|
|
<options>s</options>
|
|
<desc>Minimum updates per second that the server will allow.</desc>
|
|
</field>
|
|
</custom_fields>
|
|
<list_players_command>status</list_players_command>
|
|
<player_info_regex>#\#\s*(\d*)\s*\"(.*)\".*#</player_info_regex>
|
|
<player_info>
|
|
<index key="1">userid</index>
|
|
<index key="2">Name</index>
|
|
</player_info>
|
|
<player_commands>
|
|
<command key="Kick" type="hidden">
|
|
<string>kick "%Name%"</string>
|
|
</command>
|
|
<command key="Ban" type="select">
|
|
<option value="0">Permanent</option>
|
|
<option value="15">15m</option>
|
|
<option value="30">30m</option>
|
|
<option value="60">1h</option>
|
|
<option value="1440">1D</option>
|
|
<option value="10080">1W</option>
|
|
<option value="43200">30D</option>
|
|
<string>banid %input% %userid% kick</string>
|
|
</command>
|
|
<command key="Change Nick" type="text">
|
|
<default>new nick</default>
|
|
<string>sm_rename #%userid% "%input%"</string>
|
|
</command>
|
|
</player_commands>
|
|
</game_config> |