This is a list
of useful server commands that can be used during the game,
to implement these commands access the console by pushing the
"¬" key and then enter the command. |
Command |
Use |
mp_startmoney x |
This integer value controls the amount
that players start with at the beginning of a new map or when
they join a server. 800 is the default and the minimum value,
while 16000 is the maximum.
|
mp_playerid x |
This variable controls what players
see when they put their crosshair over an enemy, a hostage,
or a teammate. At 0 (the default), the player see's all popups
with team colors. At 1, the player sees their teammates and
hostages, with team colors. At 2, players see no popups.
|
mp_buytime x |
A floating point (decimal) value to
determine the buy time in minutes. E.g., '1.25' equals one
minute and fifteen seconds of buy time (this is not the pause,
but the time where it is legal to purchase stuff). The minimum
value is 0.25 and there is no maximum.
|
mp_roundtime x |
This variable determines the round time,
in minutes. After this amount of minutes has passed, a scenario
win is awarded (e.g., hostages weren't rescued or the bomb
was not planted). This is also a floating point value, but
most server operators use integers. The minimum value is 1
minute, the maximum is 9. The default is 5 minutes.
|
mp_timelimit x |
This is also a floating point value.
It's the same as the above option, only it applies to the
map and not the round. The default 20 minutes.
|
allow_spectators x
|
Setting to 1 will allow spectators,
while 0 will disallow them. These are non-playing spectators,
not dead people
|
mp_autokick x
|
This variable is defaulted to 1. Toggles
automatic team-killer banning and kicking of idle clients
- Setting of 1 = 'on', and 0 = 'off'.
|
mp_autoteambalance x |
This variable is defaulted to 1. Toggles
the forcing of clients to join teams to make it balanced -
Setting of 1 = 'on', and 0 = 'off'.
|
mp_c4timer x |
This variable is defaulted to 45. Sets
the amount of time in between C4 placement and its explosion
- ranges between 15 and 90 seconds.
|
mp_flashlight x |
This variable is defaulted to 1. Toggles
the use of flashlights by clients - Setting of 1 = 'on', and
0 = 'off'.
|
mp_footsteps x |
This variable is defaulted to 1. Toggles
footstep sounds - Setting of 1 = 'on', and 0 = 'off'.
|
mp_freezetime x |
This variable is defaulted to 6. Sets
the amount of "freeze" time at the beginning of
each round to buy weapons and equipment - Use a setting of
'0' to disable.
|
mp_friendlyfire x |
This variable is defaulted to 0. Toggles
friendly fire - Setting of 1 = 'on', and 0 = 'off'.
|
mp_hostagepenalty x |
This variable is defaulted to 0, or
disabled. Sets the number of hostages a player can kill before
they are booted from the server.
|
mp_tkpunish x |
This variable is defaulted to 1. Toggles
the forcing of a player to sit out the next round if he has
just killed a teammate - Setting of 1 = 'on', and 0 = 'off'.
|
sv_restart x or sv_restartround x |
This variable is defaulted to 0. Sets
the amount of time in seconds before resetting the game, including
frags, map entities, money, and the amount of time left. Use
setting of '0' to disable these restarts. Setting this to
5 would restart the game in five seconds and reset the variable
to 0.
|
mp_limitteams x |
This variable is defaulted to 2. Sets
the maximum number of players that one team can have more
than the other team - Use a setting of '0' to completely disable
the team limiting.
|