Enable the developer console:
Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".
Press ` or ~ on your keyboard.
Enter a command and hit ENTER on your keyboard to run it!
Commands List
Command | Description | More | Syntax |
---|---|---|---|
mp_hostages_spawn_force_positions | This command can be used to force spawn positions. Enter each spawn position you wish to be the same every round (the number of the spawn position), with each spawn potion separated by a comma. |
Examples, Generator & More | mp_hostages_spawn_force_positions
<Positions>
|
mp_hostages_spawn_same_every_round | This command will set whether or not the location of hostages is randomized each round, or the same throughout the game. Default is 1 (same for entire match). |
Examples, Generator & More | mp_hostages_spawn_same_every_round
<0 / 1>
|
mp_hostages_takedamage | This command sets whether or not hostages can take damage. Default is 0 (unable to take damage). |
Examples, Generator & More | mp_hostages_takedamage
<0 / 1>
|
mp_humanteam | This command can be used to restrict non-bot players to a specified team. Default is any team. See argument information for options. |
Examples, Generator & More | mp_humanteam
<Any / CT / T>
|
mp_items_prohibited | This command allows you to prohibit items or guns from being used in your server. |
Examples, Generator & More | mp_items_prohibited
<Items>
|
mp_join_grace_time | This command sets the amount of time (in seconds) that a player can join the game for after a round starts. If they join after this period, they will be added to the spectators until the next round. |
Examples, Generator & More | mp_join_grace_time
<Seconds>
|
mp_limitteams | This command sets the maximum amount of different in players that there can be between two teams. If this was set to 1, if the CT team had 3 and T team had 2, a new player would not be able to join the CT team. Setting this to 0 disables the check. Default is 2. |
Examples, Generator & More | mp_limitteams
<Amount>
|
mp_logdetail | This command sets the server "combat" logging setting. See argument information for help. |
Examples, Generator & More | mp_logdetail
<0 / 1 / 2 / 3>
|
mp_logdetail_items | Turning this command on produces a log any time that a player acquires a new weapon. |
Examples, Generator & More | mp_logdetail_items
<0 / 1>
|
mp_logdistance_2d | mp_logdistance_2d
|
||
mp_logdistance_sec | mp_logdistance_sec
|
||
mp_logloadouts | mp_logloadouts
|
||
mp_logmoney | This command is ued to turn money logging on or off. |
Examples, Generator & More | mp_logmoney
<0 / 1>
|
mp_match_can_clinch | This command sets whether or not the game should be automatically ended when it is not possible for another team to catch up. For example, in competitive, when a team gets 16 rounds, it would be impossible for the other team to catch up (so the match would be ended). If this setting was set to 0 (disabled), the game would not be ended when 16 rounds were reached. By default is this 1 (enabled). |
Examples, Generator & More | mp_match_can_clinch
<0 / 1>
|
mp_match_end_changelevel | This command sets whether or not the map should perform a changelevel when the next map is the same map. Default is off (0), meaning scores/etc will be reset at the end of a match, and the map will not be loaded again if it is the same. |
Examples, Generator & More | mp_match_end_changelevel
<0 / 1>
|
mp_match_end_restart | This command sets whether or not, at the end of the game, the current game (and map) is simply restarted or if a new map is loaded. |
Examples, Generator & More | mp_match_end_restart
<0 / 1>
|
mp_match_restart_delay | This command sets how long it takes, in seconds, for a match to restart. This countdown is used at the end of a match, not when the mp_restartgame command is used. |
Examples, Generator & More | mp_match_restart_delay
<Seconds>
|
mp_max_armor | This command sets what level of armor can be purchased in your server - no armor, kevlar body, or kevlar body and helmet. |
Examples, Generator & More | mp_max_armor
<0 / 1 / 2>
|
mp_maxmoney | This command sets the maximum amount of money that any player can have at a given time. Maximum possible value is 65,535 due to technical limitations. |
Examples, Generator & More | mp_maxmoney
<Amount>
|
mp_maxrounds | This command sets the maximum amount of rounds that the server will play for. |
Examples, Generator & More | mp_maxrounds
<Amount>
|