96 lines
3 KiB
XML
96 lines
3 KiB
XML
<game_config>
|
|
<game_key>cstrike_linux32</game_key>
|
|
<installer>steamcmd</installer>
|
|
|
|
<game_name>Counter-Strike</game_name>
|
|
<server_exec_name>hlds_run</server_exec_name>
|
|
<cli_template>-game cstrike +servercfgfile csserver.cfg %MAP% %IP% %PORT% %PLAYERS%</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_params>
|
|
<maps_location>cstrike/maps/</maps_location>
|
|
<map_list>cstrike/mapcycle.txt</map_list>
|
|
<max_user_amount>32</max_user_amount>
|
|
<control_protocol>rcon</control_protocol>
|
|
<mods>
|
|
<mod key="cstrike">
|
|
<name>none</name>
|
|
</mod>
|
|
</mods>
|
|
<replace_texts>
|
|
<text key="control_password">
|
|
<default>rcon_password.*</default>
|
|
<var>rcon_password</var>
|
|
<filepath>cstrike/server.cfg</filepath>
|
|
<options>sq</options>
|
|
</text>
|
|
<text key="home_name">
|
|
<default>hostname .*</default>
|
|
<var>hostname</var>
|
|
<filepath>cstrike/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="-nomaster" type="checkbox_key_value">
|
|
<caption>Disable master server communication</caption>
|
|
</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>
|
|
<list_players_command>status</list_players_command>
|
|
<player_info_regex>#\#\s*\d*\s*\"(.*)\"\s*(\d*)\s*.*#</player_info_regex>
|
|
<player_info>
|
|
<index key="1">Name</index>
|
|
<index key="2">userid</index>
|
|
</player_info>
|
|
<player_commands>
|
|
<command key="Kick" type="hidden">
|
|
<string>kick #%userid%</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>amx_nick "%Name%" "%input%"</string>
|
|
</command>
|
|
</player_commands>
|
|
|
|
<post_install>
|
|
wget http://files.iaregamer.com/installers/cs/cstrike.tar.gz
|
|
tar -xzvf cstrike.tar.gz
|
|
rm cstrike.tar.gz
|
|
|
|
</post_install>
|
|
|
|
<lock_files>
|
|
hlds_linux
|
|
hlds_run
|
|
</lock_files>
|
|
<configuration_files>
|
|
<file description="The Main config file">cstrike/server.cfg</file>
|
|
<file description="Map Cycle">cstrike/mapcycle.txt</file>
|
|
<file description="MOTD">cstrike/motd.txt</file>
|
|
</configuration_files>
|
|
|
|
</game_config>
|