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 |
---|---|---|---|
script_dump_all | script_dump_all
|
||
script_help | script_help
|
||
script_reload_code | script_reload_code
|
||
script_reload_entity_code | script_reload_entity_code
|
||
sc_setclassflags | This command is used to set specific flags for a given object class, altering its behavior or properties at a low level. |
Examples, Generator & More | sc_setclassflags
<Classname><Value>
|
sc_showclasses | This command lists all the object class names that are recognized by the game's scenesystem, used mainly for debugging and development purposes. |
Examples, Generator & More | sc_showclasses
|
servercfgfile | This command sets your server's config file to the specified config file. |
Examples, Generator & More | servercfgfile
<Config File Name>
|
setang | This command sets your view to the specified pitch, yaw and (optional) roll. |
Examples, Generator & More | setang
<Pitch><Yaw><Roll>
|
setang_exact | This command sets your view to the specified pitch, yaw and (optional) roll. |
setang_exact
<Pitch><Yaw><Roll>
|
|
setinfo | This command can be used to add a new user info value. |
Examples, Generator & More | setinfo
<Key><Value>
|
setmodel | setmodel
|
||
setpause | setpause
|
||
setpos | This command teleports your player to the specified X, Y and Z coordinates. |
Examples, Generator & More | setpos
<X><Y><Z>
|
setpos_exact | This command teleports your player to the specified X, Y and Z coordinates. |
setpos_exact
<X><Y><Z>
|
|
setpos_player | This command moves the specified user to the specified X, Y and Z coorinates. User ID is the number that's shown in the "status" command next to their name (usually 1-10). |
Examples, Generator & More | setpos_player
<User ID><X><Y><Z>
|
shake | This command shakes the screen. |
Examples, Generator & More | shake
|
shake_stop | This command stops the screen from shaking (usually started by the shake command). |
Examples, Generator & More | shake_stop
|
shake_testpunch | This command makes your screen shake as-if you were just punched. |
Examples, Generator & More | shake_testpunch
|
shatterglass_debug | Activates or deactivates the debugging mode for glass shattering effects, providing visual or log feedback about the glass shattering process. |
Examples, Generator & More | shatterglass_debug
<0 / 1>
|
showconsole | This command opens the console. |
Examples, Generator & More | showconsole
|