Console mode is a debugging tool, adding a wide range of functionality to the game. The tilde (~) key by default toggles the console screen open and closed. Some of these commands can be used through the server control panel. Note: Codes are case sensitive; "a" is not the same as "A". Shortcuts are only two letters and can be used in place of the command. Command arguments in [square braces] are optional, while commands in are not.
Command | Shortcut | Effect
|
---|
ban [player] [reason] | NA | Permanently disconnects a player from the server.
|
chunkcache | cc | Shows all currently loaded chunks in the cache.
|
debugmenu [on/off] | dm | Toggles debug menu (for developers)
|
enablescopes on/off | es | Toggles on/off debug scopes.
|
gameover | go | Ends a round/match in deathmatch/horde mode.
|
kick [player] [reason] | NA | Disconnects a player from the server.
|
listents | le | Lists entities.
|
listplayers | lp | Lists players.
|
listthreads | lt | Lists threads.
|
setgamepre | sg | Sets a game preference.
|
settime [#] | st | Sets the current world time.
|
showchunkdata | sc | Displays data for current chunk.
|
spawnentity [player-id] [entity-id] | se | Ability to spawn entities near a player.
|
toggle_blood_off | NA | Toggles the blood off
|
toggle_blood_on | NA | Toggles the blood on
|