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 |
---|---|---|---|
sv_lagcompensationforcerestore | sv_lagcompensationforcerestore
|
||
sv_lan | This command sets whether or not the server is a LAN server. If a server is a LAN server there is no heartbeat, no Steam authentication, and no non-class C addresses. By default this is disabled (0). |
Examples, Generator & More | sv_lan
<0 / 1>
|
sv_lightquery_debug | This command, when enabled, is used to debug lighting queries in the game environment. It's intended for developers or to troubleshoot lighting issues. |
Examples, Generator & More | sv_lightquery_debug
<0 / 1>
|
sv_load_forced_client_names_file | sv_load_forced_client_names_file
|
||
sv_load_random_client_names_file | This command loads the specified file that contains random words. |
Examples, Generator & More | sv_load_random_client_names_file
<File Name>
|
sv_logbans | This command, if enabled (1), will make server bans be logged in the server log. Default is 0 (does not log bans). |
Examples, Generator & More | sv_logbans
<0 / 1>
|
sv_logblocks | This command, if enabled (1), will log when server queries are blocked. Default is 0 (does not log bans). Note that if you enable this, log files can become very large. |
Examples, Generator & More | sv_logblocks
<0 / 1>
|
sv_logecho | This command sets whether or not all of text that is saved to the log file is also written in the console. Default is 1 (enabled). |
Examples, Generator & More | sv_logecho
<0 / 1>
|
sv_logfile | This command sets whether or not server information should be logged in the log file. Default is 1 (enabled). Setting this to 0 will disable server information being logged. |
Examples, Generator & More | sv_logfile
<0 / 1>
|
sv_logflush | This command sets whether or not the log file should be flushed/saved to the disk whenever something is logged. By default this is disabled, meaning the log file is flushed/saved at intervals, as opposed to whenever a new line is added. If you enable this setting, it may cause lag. |
Examples, Generator & More | sv_logflush
<0 / 1>
|
sv_log_onefile | This command, if enabled, logs all server information to one file, instead of individual (categorised) log files. Default is 0 (disabled). |
Examples, Generator & More | sv_log_onefile
<0 / 1>
|
sv_logsdir | This command sets the directory to which log files are saved. Default is "logs". |
Examples, Generator & More | sv_logsdir
<Directory Name>
|
sv_matchend_drops_enabled | This command sets whether or not drops at the end of the match are enabled. Rewards gameplay time is accumulated regardless. |
Examples, Generator & More | sv_matchend_drops_enabled
<0 / 1>
|
sv_matchpause_auto_5v5 | This command, if enabled, will automatically pause the match at the end of a round if the are less than 5 players on each team. Default is 0 (disabled). |
Examples, Generator & More | sv_matchpause_auto_5v5
<0 / 1>
|
sv_max_allowed_net_graph | This command sets the maximum value players can set their net_graph to on the server. Default is 1. Higher values show more information. |
Examples, Generator & More | sv_max_allowed_net_graph
<Value>
|
sv_max_queries_sec | This command sets the maximum amount of queries per second that will be responded to from the same IP address. |
Examples, Generator & More | sv_max_queries_sec
|
sv_max_queries_sec_global | This command sets the maximum amount of queries per second that the server will responsd to. |
Examples, Generator & More | sv_max_queries_sec_global
|
sv_max_queries_window | The time window, in seconds, that average queries per second should be calculated over. |
Examples, Generator & More | sv_max_queries_window
<Seconds>
|
sv_maxrate | This command sets the maximum bandwidth rate allowed (both incoming/outcoming) per second (in bytes) for each connection to the server. |
Examples, Generator & More | sv_maxrate
<Bytes/s>
|
sv_maxspeed | This command sets the maximum speed for each player on the server. A higher value will allow players to reach faster speeds. A lower value will make players be able to reach lower speeds. |
Examples, Generator & More | sv_maxspeed
<Speed>
|