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 |
---|---|---|---|
nav_toggle_deselecting | nav_toggle_deselecting | ||
nav_toggle_in_selected_set | nav_toggle_in_selected_set | ||
nav_toggle_selected_set | nav_toggle_selected_set | ||
nav_toggle_selecting | nav_toggle_selecting | ||
nav_unmark | nav_unmark | ||
net_allow_multicast | This command sets whether or not multicast is enabled. Default is 1 (enabled). | Examples, Generator & More | net_allow_multicast <0 / 1> |
net_client_steamdatagram_enable_override | net_client_steamdatagram_enable_override | ||
net_public_adr | This command sets the public IP of the server (NAT/DHCP). | Examples, Generator & More | net_public_adr <IP Address> |
net_showudp | This command, if set to 1 (default 0), will enable the printing of information about UDP packets to the console. | Examples, Generator & More | net_showudp <0 / 1> |
net_showudp_remoteonly | This command, if set to 1 (default 0), will enable the printing of information about remote UDP packets to the console. | Examples, Generator & More | net_showudp_remoteonly <0 / 1> |
nextdemo | This command will make the next demo in your current demo sequence be played. | Examples, Generator & More | nextdemo |
nextlevel | This command will make the server load/progress to the specified map at the end of the current game. In other words, this command sets the next map in the map cycle. | Examples, Generator & More | nextlevel <Map Code> |
nextmap_print_enabled | nextmap_print_enabled | ||
nextmode | nextmode | ||
option_duck_method | option_duck_method | ||
option_speed_method | option_speed_method | ||
particle_test_attach_attachment | particle_test_attach_attachment | ||
particle_test_attach_mode | particle_test_attach_mode | ||
particle_test_create | This command creates the specified particle system at the location where the player is currently looking, used for testing and development purposes. | Examples, Generator & More | particle_test_create <Particle System Name> |
particle_test_destroy | Destroys all particle systems matching the specified name. | Examples, Generator & More | particle_test_destroy <Particle Name> |