Console Commands

Open the console with F1. Click Copy to put a command on the clipboard. On dedicated servers you need the matching permission level.

31 of 31 commands

Command Aliases Category Description Copy
logenv Other
Log the process environment variables
showtriggers Other
Sets the visibility of the block triggers.
signeditordebug Client sed Other
Toggles visibility of the Sign Editor debug panel.
Usage
No params: Toggles visibility of the Sign Editor debug panel.
signtexman Client stm Other
Allows enabling/disabling the Sign Texture Manager and configuring various baking settings.
Usage
No params: Toggles the enabled state of SignTextureManager. When enabled (default), signs are baked to textures when close to the camera. When disabled, all signs are rendered dynamically (infinite resolution).
Two parameter modes: either (string), or (int, optional int, optional bool).
Single string parameter:
   `stm l` (log) will log debug info.
   `stm ld` (log disk) will do the same and also save the log to the application directory.
First param (integer): Sets sign texture quality level. 0-4 inclusive: Lowest-Ultra. 5: Infinite (no textures).
Second param (integer, optional after first param): Sets tile size. Intended to be a neat power of two in the range of 64-1024.
Third param (bool, optional after second param): Sets debug visualization of in-progress bakes on/off.
sleep Other
Makes the main thread sleep for the given number of seconds (allows decimals)
smoothpoi Other
Smoothens the POI
smoothworldall swa Other
Applies some batched smoothing commands.
Usage
Usage:
  1. smoothworldall [passes] [noregion]
  2. smoothworldall <worldname> [passes] [noregion]
Arguments:
  passes: Integer number, overriding the default of 5 passes
  noregion: If passed in literally it will write the resulting heightmap
            to the dtm.raw instead of updating all of the worlds region files
  worldname: If specified the command is applied to the given world instead of the currently loaded world
spawnairdrop Other
Spawns an air drop
spawnscouts Other
Spawns zombie scouts
Usage
Spawn scouts near a player.Usage:
   1. spawnscouts
   2. spawnscouts <player name/steam id/entity id>
   3. spawnscouts <x> <y> <z>
1. Will spawn the scouts near the issuing player. Can only be used by a player, not a remote console.
2. Spawn scouts near the given player.
3. Spawn scouts at the given coordinates.
spawnsupplycrate Other
Spawns a supply crate where the player is
spawnwandering spawnw Other
Spawn wandering entities
Usage
Commands:
b - bandits
h - horde
spectator Client spectatormode, sm Other
enables/disables spectator mode
squarespiral Client sqs Other
Move the player chunk by chunk in a square spiral. Will start off paused and required un-pausing. Also gives god mode and flying at the start.
Usage
<s[tart] [chunks per auto-pause]|p[ause]|r[eset]|waitmode [minimal|meshes|displayed]>
stab Other
stability
switchview sv Other
Switch between fpv and tpv
teleportpoirelative tppr Other
Teleport the local player within the current POI
testCensor Client tcc Other
Censorship testing toggle.
testDismemberment Client tds Other
Dismemberment testing toggle.
testloop Other
Test code in a loop
Usage
Commands:
p - player
testoccreport Client toccr Other
Test the occlusion manager self reporting to backtrace, requires Backtrace to be enabled at build creation
tppoi Client Other
Open POI Teleporter window
traderarea Other
...
transformdebug Client tdbg Other
Transform Debugging
Usage
tdbg - Toggle Transform Debugging
trees Other
Switches trees on/off
Usage
trees - toggles
trees <value> - (off, on)
twitch Client Other
usage: twitch <command> <params>
twitchadmin Client Other
Twitch Admin Commands
Usage
Usage:
  1. twitchadmin cleanup
  2. twitchadmin export <filepath>
  3. twitchadmin import <filepath>
  4. twitchadmin pointtotals
  5. twitchadmin reset all both
  6. twitchadmin reset all pp
  7. twitchadmin reset all sp
1. Cleans up duplicate Viewer Data.
2. Export users, points, and credits to a file
3. Import users, points, and credits from a file, replacing existing data
4. Prints out the totals for PP, SP, and BitCredit
5. Clears all PP and SP for all users
6. Clears all PP for all users
7. Clears all SP for all users
uioptions Client uio Other
Allows overriding of some options that control the presentation of the UI
Usage
Commands:
optionsvideowindow <value> - set the options window to use for video settings
[no parameters] - toggles video settings between simplified and detailed modes
vpois Client visitpois Other
Usage
<s[tart] [pois per auto-pause]|p[ause]|r[eset]>
worldchunkreset wcr Other
Resets all unprotected chunks across the world.
Usage
Usage: wcr [-g|-gmode <n>]

Examples: 
'wcr' - reset all unprotected chunks using the default grouping.
'wcr -g 2' - reset all unprotected chunks, grouping mode 2.

Grouping modes (-g|-gmode, default 3): 
'1' - NoGrouping: Chunks are reset based on their own protection flags only.
'2' - SeparatePOIs: Each POI gets the combined protection flags from all chunks overlapping the POI.
'3' - GroupedPOIs: Like SeparatePOIs, but POIs with overlapping chunks also merge into groups. Standard reset; should not cause POI discontinuities.

Notes: 
 - All chunk protection statuses are respected. To bypass protections, see 'rr'.
 - Use with caution! This operation permanently deletes all saved data for affected chunks.
wsmats Client workstationmaterials Other
Set material counts on workstations.
Usage
Set the material count for the given material slot on the currently opened workstation
to the given value.
Usage:
   wsmats <slot> <count>
Slot specifies the index of the material slot in the workstation, e.g. 0 on forge is iron, or "all"
to change all slots at once.Count defines to what you want to set the material count with a maximum of 30000.
xui Client Other
Execute XUi operations
Usage
Usage:
   xui open <window group name> [instance] [closeOthers]
   xui close <window group name> [instance]
   xui reload [window group name] [instance]
   xui list <"instances" / "windows"> [instance]