IDENTIFYING YOUSELF
The first thing an admin has to do once they have connected to the server is tell the server that they have the admin password (rcon_password) and are allowed to send rcon commands. you only need to identify yourself once. at the console type:
rcon_port portnumber (e.g. rcon_port 27115)
rcon_password yourpassword (e.g. rcon_password yeahright)
replace portnumber with the port of the booked server (a list of tcb servers and ports can be found by clicking here). rcon_port tells your client which server to send commands to (you MUST type rcon_port portnumber for any commands to work at all - forgetting this setting will send all your commands to a non-existent server). you only need to type this in once at the beginning of your session.
rcon_password yourpassword is the admin password you specified when you booked. once you have gotten this far, you can then go head and use the commands below.
the commands
note: DO NOT change the rcon password! you will be permanently banned from using our servers if you do!
you have been warned!
now the server knows you are the admin, you can send commands to the server simply by putting "rcon" in front of them. You can also see what the current setting of a command is by typing rcon command (e.g. rcon mp_timelimit will tell you the current value for map timelimit).
the most important commands you will need are:
command: say
function: global say, all players will see what you type.
example: rcon say the match will start in 30 seconds everyone
note: will appear to other players as "(tcb cs server): the match will start in 30 seconds everyone"
command: changelevel
function: changes the map.
example: rcon changelevel de_dust
note: do not use rcon map mapname to change the map. this will disconnect all players from the server before changing the map. always use "changelevel" to change the map.
command: sv_restartround
function: restarts the round after n seconds, setting all money, kills, weapons, etc. back to 0.
example: rcon sv_restartround 5
note: probably the most important command for admining matches. see "tips + notes" below regarding using this command
command: mp_timelimit
function: sets the map time limit in minutes
example: rcon mp_timelimit 35
default: 0 (map will never end)
command: mp_c4timer
function: sets the timelimit for the bomb timer in seconds
example: rcon mp_c4timer 35
default: 45 seconds
command: mp_freezetime
function: sets the time frozen at the beginning of each round in seconds
example: rcon mp_freezetime 10
default: 6 seconds
command: mp_roundtime
function: sets the time of each round in minutes
example: rcon mp_roundtime 6
default: 5 minutes
command: mp_friendlyfire
function: sets friendlyfire on or off
example: rcon mp_friendlyfire 0
default: 1 (on)
command: exec
function: executes server config files
example: rcon exec stacscharlie.cfg
note: the given example is only one use for this, see the available exec files below
tips
when you connect, set up the server with your preferences while you wait for everybody else. you can set commands like mp_c4timer, mp_roundtime, mp_freezetime, etc., and they will be remembered by the server (even if you change the map with the changelevel command).
the best way to start a match is to wait until everybody gets on the server and joins the correct teams. once this is done, you can use the sv_restartround command to restart the round with all kills, weapons, money, etc. set back to zero. however this will not reset mp_timelimit. if you set the map timelimit to 35 minutes and spend 5 minutes setting up, once you restart the round with sv_restartround there will only be 30 minutes before the map finishes. you should take into account the setup time when specifying a map timelimit.
do not use rcon restart! the current version of half-life has a bug which causes the server to crash when that command is run.
config files available to exec
server.cfg settings (default):
sv_minrate 2500
sv_maxrate 7500
sv_lan 0
sv_allowupload 0
sv_allowdownload 1
sv_aim 0
sv_maxspeed 500
sv_airmove 0
sv_cheats 0
sv_sendvelocity 0
motd_display_time 45
pausable 0
mp_autokick 0
mp_autoteambalance 0
mp_c4timer 35
mp_decals 250
mp_forcechasecam 1
mp_falldamage 1
mp_flashlight 1
mp_footsteps 1
mp_freezetime 4
mp_friendlyfire 0
mp_friendly_grenade_damage 0
mp_ghostfrequency 0.5
mp_hostagepenalty 0
mp_limitteams 0
mp_lowlag 0
mp_roundtime 4
mp_timelimit 35
mp_logmessages 1
mp_tkpunish 0
decalfrequency 60
stacscharlie.cfg settings:
edgefriction 2
mp_allowmonsters 0
mp_chasecam 1
mp_consistency 1
mp_forcechasecam 1
mp_fragsleft 0
mp_freezetime 5
mp_ghostfrequency 0
mp_logecho 1
mp_roundtime 5
mp_timeleft 0
sv_accelerate 5.000000
sv_airaccelerate 10
sv_bounce 1
sv_clienttrace 3.5
sv_clipmode 0
sv_friction 4.000000
sv_gravity 800
sv_restartround 0
sv_stepsize 18
sv_stopspeed 75.000000
sv_wateraccelerate 10
sv_waterfriction 1
sv_maxunlag .3
sv_unlagsamples 1
say tcb server now running sta-cs config!
oglcs.cfg settings:
mp_timelimit 25
mp_footsteps 1
decalfrequency 30
mp_friendly_grenade_damage 1
mp_limitteams 0
mp_fraglimit 0
mp_freezetime 10
mp_forcechasecam 1
say tcb server now running ogl-cs config!
|