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.
35 of 35 commands
No commands match your search.
| Command | Aliases | Category | Description | Copy |
|---|---|---|---|---|
agemap
|
— | World |
Output debug map for chunk age/protection/save status.
Usage"agemap" or "agemap [x]", where [x] is a float value specifying the maximum age to normalise results to in in-game days. Defaults to EnumGamePrefs.MaxChunkAge when not specified. Outputs a TGA texture representing a map of all chunks with chunk age, protection status and save status data split across each colour channel: R [scalar]: Effective chunk age proportionate to maximum age, taking POI-based grouping rules into account. More red = older, closer to expiry. G [scalar]: Raw chunk age proportionate to maximum age, ignoring POI-based grouping. Can be compared with the red channel to asses the impacts of grouping. B [scalar]: Protection level. More blue = more protected. A [binary]: Saved status. Opaque = saved, transparent = not saved. |
|
chunkobserver
|
co | World |
Place a chunk observer on a given position.
UsageUsage: 1. chunkobserver add <x> <z> [size] 2. chunkobserver remove <x> <z> 3. chunkobserver list 1. Place an observer on the chunk that contains the coordinate x/z. Optionally specifying the box radius in chunks, defaulting to 1. 2. Remove the observer from the chunk with the coordinate, if any. 3. List all currently placed observers |
|
chunkreset
|
cr | World |
resets the specified chunks
UsageUsage:
1. chunkreset <x1> <z1> <x2> <z2>
2. chunkreset [f]
1. Rebuilds the chunks that contain the given coordinate range.
2. Can only be executed by a player in the ingame console! Behaviour depends on whether the
player is currently within the bounds of a POI:
Within a POI: The POI is reset.
Not within a POI: The chunk the player is in and the eight chunks around that one are
rebuilt. Not deco! Does not reload POI data!
d - regen deco
f - fully regenerates chunks (may cause double entities!)
u, utimed, ue - Unload chunks or entities
nq - Enqueue a 3x3 group of chunks centred around the player to be reset when unsynced, unless they are otherwise protected from the chunk reset system.
|
|
config
|
— | World |
Import/export config data from/to external file
UsageImports/exports config data from/to external file Usage: config import [filename] config export [filename] |
|
damagereset
|
— | World |
Reset damage on all blocks in the currently loaded POI
|
|
decomgr
Client
|
— | World |
"decomgr": Saves a debug texture visualising the DecoOccupiedMap.
"decomgr state": Saves a debug texture visualising the location/state of all of the DecoObjects saved in decorations.7dtd.
|
|
expiryinfo
|
— | World |
Prints location and expiry day/time for the next [x] chunks set to expire.
|
|
exportcurrentconfigs
Client
|
— | World |
Exports the current game config XMLs
UsageExports all game config XMLs as they are currently used (including applied patches from mods) to the folder "Configs" in the save folder of the game. If run from the main menu it exports the XUi configs for the menu, if run from a game session will export all others. |
|
fallingblocks
Client
|
fb | World |
FallingBlocks WIP Settings
|
|
getgamepref
|
gg | World |
Gets game preferences
UsageGet all game preferences or only those matching a given substring |
|
getgamestat
|
ggs | World |
Gets game stats
UsageGet all game stats or only those matching a given substring |
|
getoptions
Client
|
— | World |
Gets game options
UsageGet all game options on the local game |
|
getsandboxoptions
|
gso | World |
Gets the current game's Sandbox Options
|
|
gettime
|
gt | World |
Get the current game time
|
|
lights
|
— | World |
Light debugging
UsageLight debugging: v - toggle viewer enable off - viewer lights off on - viewer lights on clearreg - clear registered disableall - enableall - list - list all lights listfile - list all lights to Lights.txt liste - list lights effecting the player position lodviewdistance <d> - set the light LOD view distance (0 uses defaults) |
|
mapdata
|
— | World |
Writes some map data to an image
UsageUsage: clear - reset player map data prefab - save prefabs to mapdata.png start - save start points to mapdata.png |
|
placeblockrotations
Client
|
pbr | World |
Places all rotations of the currently held block
UsagePlaces the block you currently hold in your hand in all supported rotations. Starts at the current selection box and spreads out towards the right relative to the current view direction of the player. Spaces out each block by 1m meter. |
|
placeblockshapes
Client
|
pbs | World |
Places all shapes of the currently held variant helper block
|
|
pois
|
— | World |
Switches distant POIs on/off
UsageUse on or off or only the command to toggle |
|
poiwaypoints
Client
|
pwp | World |
Adds waypoints for specified POIs.
|
|
prefab
|
— | World |
Prefab commands
|
|
prefabeditor
|
prefabedit, predit | World |
Open the Prefab Editor
Usageprefabeditor |
|
prefabupdater
|
— | World |
—
UsageUpdate prefabs for newer game builds. Usage: 1. prefabupdater loadxml <xmlfile> 2. prefabupdater clearxml 3. prefabupdater createmapping <prefabname> 4. prefabupdater loadtable [nametablefile] 5. prefabupdater unloadtables 6. prefabupdater updateblocks 1. Load a blocks.xml that has the information about the prefabs to be updated. If you have a modded XML first load that modded XML and afterwards load the XML provided with the game for legacy prefabs. The xmlfile-parameter can either be relative to the game's base directory or an absolute path (for pre-Alpha 17 prefabs). 2. Unload the data loaded with loadxml. 3. Create a block mapping file for the given prefab(s). Accepts '*' as wildcard (for pre-Alpha 17 prefabs). 4. Load a block name mapping file. File path is relative to the game directory if not specified as absolute path. If no file is given the default file supplied with the game is loaded (BlockUpdates.csv). 5. Unload the data loaded with loadtable. 6. Update the block mappings in prefabs with the block name mapping table loaded by 4. |
|
regionreset
|
rr | World |
Resets chunks within a target region, or for the entire map.
UsageUsage: rr [-p|-pmode <n>] [-g|-gmode <n>] [-r|-region <x> <z>] Examples: 'rr' - reset all unprotected chunks in all regions (defaults). 'rr -p 2' - all regions, protection mode 2. 'rr -r 1 -2' - only region (1,-2), default modes. 'rr -r 1 -2 -p 0 -g 3' - region (1,-2) with protection mode 0 and grouping mode 3. Protection modes (-p|-pmode, default 0): '0' - Default: All protection statuses are respected, including the dynamic protection of synced chunks around active player position(s). '1' - EXPERIMENTAL: Most protection statuses are respected, excepting the dynamic protection of synced chunks around active player position(s). Chunks whose *only* protection status is "CurrentlySynced" will be treated as unprotected and are subject to being reset. '2' - EXPERIMENTAL: All protection statuses are ignored. Every chunk in the target area will be reset whether protected or not. '3' - EXPERIMENTAL: Most protection statuses are ignored, excepting the dynamic protection of synced chunks around active player position(s). Chunks whose protection status includes "CurrentlySynced" will be treated as protected; all other chunks are subject to being reset. 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: - Use with caution! This operation permanently deletes all saved data for affected chunks. - The experimental protection modes are provided for debug purposes only. They bypass various protections in order to force chunks to be reset. This can cause a significant hitch whilst any synced chunks are regenerated, and may cause other side effects such as failing to clean up nav markers for land claims, etc. |
|
reloadentityclasses
Client
|
rec | World |
reloads entityclasses xml data.
|
|
repairchunkdensity
|
rcd | World |
check and optionally fix densities of a chunk
UsageThis command is used to check if the densities of blocks in a chunk match the actual block type. If there is a mismatch it can lead to the chunk rendering incorrectly or not at all, typically indicated by the error message "Failed setting triangles. Some indices are referencing out of bounds vertices.". It can also fix such mismatches within a chunk. Usage: 1. repairchunkdensity <x> <z> 2. repairchunkdensity <x> <z> fix 1. Just checks the chunk and prints mismatched to the server log. x and z are the coordinates of any block within the chunk to check. 2. Repairs any mismatch found in the chunk. |
|
setgamepref
|
sg | World |
sets a game pref
|
|
setgamestat
|
sgs | World |
sets a game stat
|
|
settargetfps
Client
|
— | World |
Set the target FPS the game should run at (upper limit)
UsageSet the target FPS the game should run at (upper limit). Usage: 1. settargetfps 2. settargetfps <fps> 1. gets the current target FPS. 2. sets the target FPS to the given integer value, 0 disables the FPS limiter. |
|
sette
Client
|
— | World |
Sets the UseTriggerEffects flag, if true controller trigger effects are to be used
|
|
settempunit
Client
|
stu | World |
Set the current temperature units.
UsageSet the current temperature units. Usage: 1. settempunit F 2. settempunit C 1. sets the temperature unit to Fahrenheit. 2. sets the temperature unit to Celsius. |
|
settime
|
st | World |
Set the current game time
UsageSet the current game time. Usage: 1. settime day 2. settime night 3. settime <time> 4. settime <day> <hour> <minute> 1. sets the time to day 1, 12:00 pm. 2. sets the time to day 2, 12:00 am. 3. sets the time to the given value. 1000 is one hour. 4. sets the time to the given day/hour/minute values. |
|
setwatervalue
Client
|
swv | World |
Sets the water value for all flow-permitting blocks within the current selection area, specified in the range of 0 (empty) to 1 (full).
Usage'swv [0.0 - 1.0]' Sets water value between empty (0.0) and full (1.0) for all flow-permitting blocks within the current selection bounds. E.g. 'swv 0.5' will set all affected blocks to be half-full. Blocks which do not permit flow are unchanged. |
|
visitmap
|
— | World |
Visit an given area of the map. Optionally run the density check on each visited chunk.
|
|
weather
|
— | World |
Control weather settings
UsageClouds [0 to 1 (-1 defaults)] Fog [density (-1 defaults)] [start] [end] FogColor [red (-1 defaults)] [green] [blue] Rain [0 to 1 (-1 defaults)] SnowFall [0 to 1 (-1 defaults)] Temp [-99 to 101 (< -99 defaults)] Wind [0 to 200 (-1 defaults)] SimRand [0 to 1 (-1 defaults)] Storm <duration hours> <biome name> Defaults or d |