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_timelimit | The maximum duration of each game, in minutes. By default this is disabled (set to 0). If the total duration of the current map lasts longer than this value, the current map will end and the next map will begin play. |
Examples, Generator & More | mp_timelimit
<Minutes>
|
mp_tkpunish | This command sets whether or not team killers/damagers should be punished in the following round. Default is 0 (disabled). |
Examples, Generator & More | mp_tkpunish
<0 / 1>
|
mp_unpause_match | This command unpauses the match, or cancels a pause that is set for the next round. |
Examples, Generator & More | mp_unpause_match
|
mp_use_respawn_waves | This command sets whether or not respawns should be done in waves (on deathmatch and other gamemodes where players respawn). Default is 0 (disabled). Waves mean dead players are respawned every x seconds (e.g. every 10 seconds all dead players are respawned, as opposed to relatively a few seconds after their death). |
Examples, Generator & More | mp_use_respawn_waves
<0 / 1>
|
mp_verbose_changelevel_spew | This command enables debugging messages for map changes. Default is 1 (enabled). |
Examples, Generator & More | mp_verbose_changelevel_spew
<0 / 1>
|
mp_warmup_pausetimer | This command, if set to 1, will make the warmup last forever. Set to 0 (default) to disable. |
Examples, Generator & More | mp_warmup_pausetimer
<0 / 1>
|
mp_warmup_start | This command starts the warmup. |
Examples, Generator & More | mp_warmup_start
|
mp_warmuptime | This command sets how long the warmup lasts, in seconds. |
Examples, Generator & More | mp_warmuptime
<Seconds>
|
mp_warmuptime_all_players_connected | This command sets the warmup countdown to switch to when all players connect. If the warmup countdown is already below this value, the countdown will not be changed. |
Examples, Generator & More | mp_warmuptime_all_players_connected
<Seconds>
|
mp_weapon_next_owner_touch_time | mp_weapon_next_owner_touch_time
|
||
mp_weapons_allow_heavy | This command dictates which team, if any, can purchase heavy guns such as shotguns and heavy machine guns. |
Examples, Generator & More | mp_weapons_allow_heavy
<-1 / 0 / 2 / 3>
|
mp_weapons_allow_heavyassaultsuit | This command sets whether or not the heavy assault suit is allowed in a server. |
Examples, Generator & More | mp_weapons_allow_heavyassaultsuit
<0 / 1>
|
mp_weapons_allow_map_placed | This command, if disabled (0), will make it so weapons are not removed from the floor when the match starts. Default is enabled (1), meaning weapons are removed from the floor when the match starts. |
Examples, Generator & More | mp_weapons_allow_map_placed
<0 / 1>
|
mp_weapons_allow_pistols | This console command is used to set which teams can buy pistols in a server. |
Examples, Generator & More | mp_weapons_allow_pistols
<-1 / 0 / 2 / 3>
|
mp_weapons_allow_rifles | This console command is used to set which teams can buy rifles in a server. |
Examples, Generator & More | mp_weapons_allow_rifles
<-1 / 0 / 2 / 3>
|
mp_weapons_allow_smgs | This console command is used to set which teams can buy SMGs in a server. |
Examples, Generator & More | mp_weapons_allow_smgs
<-1 / 0 / 2 / 3>
|
mp_weapons_allow_typecount | This console command determines the rules behind players purchasing the max amount of weapons each round. |
Examples, Generator & More | mp_weapons_allow_typecount
<Max Weapons>
|
mp_weapons_allow_zeus | This command sets whether or not the zeus (taser) can be purchased from the buy menu or not. Default is 1 (allowed to be purchased). |
Examples, Generator & More | mp_weapons_allow_zeus
<0 / 1>
|
mp_weapon_self_inflict_amount | This interesting console command is used to set how much damage an attacker takes for missing a shot. |
Examples, Generator & More | mp_weapon_self_inflict_amount
<Damage>
|
mp_weapons_glow_on_ground | This command sets whether or not weapons on the ground have a glow around them. By default this is disabled (set to 0). |
Examples, Generator & More | mp_weapons_glow_on_ground
<0 / 1>
|