Skip to main content

7 Days to Die Console Commands

ByYurii LuzhkoSource: 7 Days to Die V3.3 game files
189 commands77 with short forms

7 Days to Die has 189 console commands. Each one below with its short forms, what it does and its usage — the game's own text, read from its code.

To spawn items: giveself <itemID> — all 880 item IDs. For XP: giveselfxp <amount>. For zombies and animals: spawnentity / se.

All 189 console commands

189 of 189
CommandWhat it does
AccDecaySetAccDecay, SetAccuracyDecay, sadAccuracy Decay for guns, show/hide/reset/<Decimal value>
Usage
reset - apply the default settings for this command
<Decimal Value> - Sets the decay constant for accuracy calculations using ItemActionRanged
adminManage user permission levels
Usage
Set/get user permission levels. A level of 0 is maximum permission,
users without an explicitly set permission have a permission level of 1000.
Usage:
   admin add <name / entity id / platform + platform user id> <level> [displayname]
   admin remove <name / entity / platform + platform user id>
   admin addgroup <steam id> <level regular> <level mods> [displayname]
   admin removegroup <steam id>
   admin list
To use the add/remove sub commands with a name or entity ID the player has
to be online, the variant with platform and platform ID can be used for currently offline
users too.
Displayname can be used to put a descriptive name to the ban list in addition
to the user's platform ID. If used on an online user the player name is used by default.
When adding groups you set two permission levels: The 'regular' level applies to
normal members of the group, the 'mods' level applies to moderators / officers of
the group.
agemapOutput 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.
aiAI commands
Usage
AI commands:
activityclear - remove all activity areas (heat)
anim <name> - trigger an animation (attack, attack2)
animmove <forward> <strafe> - set animation forward and strafe motion
freezepos - toggles movement
latency - toggles drawing
pathlines - toggles drawing editor path lines
pathgrid - force grid update
ragdoll <force> <time>
rage <speed> <time> - make all zombies rage (0 - 2, 0 stops) (seconds)
sendnames - toggles admin clients receiving debug name info
aiddebugToggles AIDirector debug output.
as—
audioWatch audio stats
Usage
Just type audio and hit enter for the info.
automationautoAutomation Script Runner
Usage
Type 'auto' in the console or see source XML doc for full usage.
automovePlayer auto movement
Usage
Parameters:
off - disable
gototarget - goto the target position
settarget - set target to current player position
clearlookat - disable look at
setlookat - set look at to current player position
line duration loops <x> <y> <z> - move to x y z (or target) over duration with loops (-loops will ping pong)
orbit duration loops <x> <y> <z> - circle around x y z (or target) over duration with loops (-loops will ping pong)
relative x z angle - move by x (left/right) and z (forward) and turn by angle per second
banManage ban entries
Usage
Set/get ban entries. Bans will be automatically lifted after the given time.
Usage:
   ban add <name / entity id / platform + platform user id> <duration> <duration unit> [reason] [displayname]
   ban remove <name / entity id / platform + platform user id>
   ban list
To use the add/remove sub commands with a name or entity ID the player has
to be online, the variant with platform and platform ID can be used for currently offline
users too.
Duration unit is a modifier to the duration which specifies if in what unit
the duration is given. Valid units:
    minute(s), hour(s), day(s), week(s), month(s), year(s)
Displayname can be used to put a descriptive name to the ban list in addition
to the user's platform ID. If used on an online user the player name is used by default.
Example: ban add madmole 2 minutes "Time for a break" "Joel"
bentsSwitches block entities on/off or counts them
Usage
Use 'on' or 'off', or 'info' to count
buffApplies a buff to the local player
buffplayerApply a buff to a player
Usage
Usage:
   buffplayer <player name / steam id / entity id> <buff name>
Apply the given buff to the player given by the player name or entity id (as given by e.g. "lpi").
cameracamLock/unlock camera movement or load/save a specific camera position
Usage
Usage:
   1. cam save <name> [comment]
   2. cam load <name>
   3. cam list
   4. cam lock
   5. cam unlock
1. Save the current player's position and camera view or the camera position
and view if in detached mode under the given name. Optionally a more descriptive
comment can be supplied.
2. Load the position and direction with the given name. If in detached camera
mode the camera itself will be adjusted, otherwise the player will be teleported.
3. List the saved camera positions.
4/5. Lock/unlock the camera rotation. Can also be achieved with the "Lock Camera" key.
ccphysicsEnables or disables changes to CCPhysics layer interactions. Reloading the game session may be necessary to fully apply if changed.
challengesComplete certain challenges
Usage
|Usage:
			|  1.  list [group name]
			|  2.  complete all ["redeem"/"r"]
			|  3.  complete first ["redeem"/"r"]
			|  4.  complete challenge <challenge name> ["redeem"/"r"]
			|  5.  complete group <group name> ["redeem"/"r"]
			|  6.  complete category <category name> ["redeem"/"r"]
			|  7.  groups [category name]
			|Short forms: "list"->"l", "complete"->"c", "groups"->"g".
			|1. List challenges - optionally limited to a specific group.
			|2. Set all challenges to completed.
			|3. Set challenges of the first defined group to completed.
			|4. Set given challenge to completed.
			|5. Set all challenges in the given group to completed.
			|6. Set all challenges in the given category to completed.
			|2.-6. If the optional "redeem" or "r" is specified it will automatically redeem the completed challenges.
			|7. List all groups - optionally limited to a specific category.
chunkcacheccshows all loaded chunks in cache
chunkobservercoPlace a chunk observer on a given position.
Usage
Usage:
  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
chunkresetcrresets the specified chunks
Usage
Usage:
  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.
commandpermissioncpManage command permission levels
Usage
Set/get permission levels required to execute a given command. Default
level required for commands that are not explicitly specified is 0.
Usage:
   cp add <command> <level>
   cp remove <command>
   cp list
configImport/export config data from/to external file
Usage
Imports/exports config data from/to external file
Usage:
   config import [filename]
   config export [filename]
createwebuserCreate a web dashboard user account
creativemenucmenables/disables the creativemenu
cvarCommands to set, get, track or list CVars.
Usage
Usages of the commands. Add '-p <playerId>' to any command to apply that command to a remote player. 
cvar get <cvarName>
cvar set <cvarName> <floatValue>
cvar track <cvarName> <true|false>
cvar list <searchFilter>
damageresetReset damage on all blocks in the currently loaded POI
Usage
|Usage:
			|    damagereset [include doors]
			|By default the command only resets non-door blocks to full health. If the optional argument is "true" doors are also repaired.
debuffRemoves a buff from the local player
debuffplayerRemove a buff from a player
Usage
Usage:
   debuffplayer <player name / steam id / entity id> <buff name>
Remove the given buff from the player given by the player name or entity id (as given by e.g. "lpi").
debuggamestatsGameStats commands
debugjiggledgj—
debugmenudmenables/disables the debugmenu
debugpanelsallows usage of debug display panels (F3 menu) via command console
Usage
debugpanels - toggle display, enabling also enables the debug menu
debugpanels [names] - set these panels active and disable all others, uses the short name of the panel (e.g. debugpanels Ply Ge Sp)
debugshotdbsCreates a screenshot with some debug information
Usage
Usage:
  debugshot [save perks]
Lets you make a screenshot that will have some generic info
on it and a custom text you can enter. Also stores a list
of your current perk levels, buffs and cvars in a CSV file
next to it if the optional parameter 'save perks' is set to true
debugweatherDumps internal weather state to the console.
decomgr"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.
discorddcToggle Discord debug window
dmsGives control over Dynamic Music functionality.
Usage
No commands available for dms at the moment.
dynamicpropertiesdpropDynamic Properties debugging
enablerenderingDisable live map rendering
Usage
|Usage:
			|  1. enablerendering
			|  2. enablerendering <0/1>
			|1. Show current state of renderer
			|2. Disable/enable renderer
			|NOTE: This command can only turn the renderer off, it can not turn it on if it is not enabled in the serverconfig!
exhaustedMakes the player exhausted.
expiryinfoPrints location and expiry day/time for the next [x] chunks set to expire.
Usage
expiryinfo [x]
exportcurrentconfigsExports the current game config XMLs
Usage
Exports 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.
fallingblocksfbFallingBlocks WIP Settings
floatingoriginfo—
ForceEventDateSpecify date for testing event dates
fovCamera field of view
ftwfellthroughworldLog the fell through world debug information for testing purposes.
gamestageShows the gamestage of the local player
getgameprefggGets game preferences
Usage
Get all game preferences or only those matching a given substring
getgamestatggsGets game stats
Usage
Get all game stats or only those matching a given substring
getlogpathglpGet the path of the logfile the game currently writes to
getoptionsGets game options
Usage
Get all game options on the local game
getsandboxoptionsgsoGets the current game's Sandbox Options
Usage
|Usage:
			|   [show all]
			|Shows the currently loaded game's Sandbox Options.
			|By default only shows those that have non-default values, but can show all options by specifying the optional argument with "true".
gettimegtGet the current game time
gfxGraphics commands
Usage
Graphics commands:
af <value> - anisotropic filtering off, on or force on (0, 1, 2)
dr <scale> <min> <max> - set dynamic res scale (0 auto, .1 to 1 force, -1 for off) and min/max FPS
dt <value> - toggle distant terrain or set value (0 or 1)
dti <value> - set distant terrain instancing (0 or 1)
dtmaxlod <value> - set distant terrain max LOD (0 to 5)
dtpix <value> - set distant terrain pixel error (1 to 200)
key name <value> - set shader keyword (0 or 1)
pp name <value> - set postprocessing name (enable, ambientOcclusion (ao), auto exposure (ae), bloom, colorGrading (cg), etc.) to value (0 or 1)
res <width> <height> - set screen resolution
resetrev - clear graphics preset revision
skin <value> - set skin bone count (1, 2, 4, 5+ (all))
st name <value> - set streaming name (budget (0 disables), discard, forceload, reduction) to value
tex - show texture info
texbias <value> - set bias on all textures
texlimit <value> - set limit (0-x)
viewdist <value> - Set view distance in chunks
givegive an item to a player (entity id or name)
Usage
Give an item to a player by dropping it in front of that player
Usage:
   give <name / entity id> <item name> <amount>
   give <name / entity id> <item name> <amount> <quality>
Either pass the full name of a player or his entity id (given by e.g. "lpi").
Item name has to be the exact name of an item as listed by "listitems".
Amount is the number of instances of this item to drop (as a single stack).
Quality is the quality of the dropped items for items that have a quality.
givequestGives a quest to the player or add to quest tier
Usage
givequest commands:
complete - complete all quests
tieradd <points> - add the points to your quest tier (default is 10)
<quest name> - gives you the quest
giveselfusage: giveself itemName [qualityLevel=…] [count=1] [putInInventory=false] [spawnWithMods=true]
giveselfxpusage: giveselfxp 10000
Usage
Give yourself experience
Usage:
   giveselfxp <number> [1 (use xp bonuses)]
givexpGive XP to a player
Usage
Give a player experience points
Usage:
   givexp <entity id / player name / user id> <number>
graphDraws graphs on screen
Usage
Graph commands:
# - 0 removes all graphs, 1+ sets graphs height
cvar <name> <count> <max> - show graph of a cvar, line count (0 hides), max graph value (default is 1)
dr <count> - show dynamic res graph, line count (0 hides)
fps <count> <fps max> - show fps graph, line count (0 hides), max graph value
pe <name> <count> <max> - show graph of a passive effect (healthmax..), line count (0 hides), max graph value (default is 1)
spf <count> <spf max> - show seconds per frame graph, line count (0 hides), max graph value
stat <name> <count> <max> - show graph of a stat (health, stamina..) with line count (0 hides), max graph value (default is 1)
tex <name> <count> - show texture graph (mem or stream), line count (0 hides)
helpHelp on console and specific commands
Usage
|Usage:
			|  1. help
			|  2. help * <searchstring>
			|  3. help <command name>
			|  4. help output
			|  5. help outputdetailed
			|1. Show general help and list all available commands
			|2. List commands where either the name or the description contains the given text
			|3. Show help for the given command
			|4. Write command list to log file
			|5. Write command list with help texts to log file
invalidatecachesInvalidate contents of web file caches
Usage
TODO
jdsServer junk drone commands.
junkDronejdLocal player junk drone commands.
kickKicks user with optional reason. "kick playername reason"
kickallKicks all users with optional reason. "kickall reason"
killKill a given entity
Usage
Kill a given entity.
Usage:
   1. kill <entity id>
   2. kill <player name / steam id>
1. can be used to kill any entity that can be killed (zombies, players).
2. can only be used to kill players.
killallKill all entities
Usage
Kills all matching entities (but never players)
Usage:
   killall (all enemies)
   killall alive (all EntityAlive types except vehicles and turrets)
   killall all (all types)
lgolistgameobjectsList all active game objects
lightsLight debugging
Usage
Light 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)
listdlcdlcsList the available DLC and their current entitlement status.
Usage
List DLCs and their entitlement states.
Usage:
   listdlc
   dlcs
listentslelists all entities
listitemslilists all items that contain the given substring
Usage
List all available item names
Usage:
   1. listitems <searchString>
   2. listitems *
1. List only names that contain the given string.
2. List all names.
listplayeridslpiLists all players with their IDs for ingame commands
listplayerslplists all players
listthreadsltlists all threads
logenvLog the process environment variables
loggamestatelgsLog the current state of the game
Usage
Writes information on the current state of the game (like memory usage,
entities) to the log file. The section will use the message parameter
in its header.
Usage:
   loggamestate <message> [true/false]
Message is a string that will be included in the header of the generated
log section. The optional boolean parameter specifies if this command
should be run on the client (true) instead of the server (false) which
is the default.
loglevelTelnet/Web only: Select which types of log messages are shown
Usage
Select which types of log messages are shown on the connection
you enter this command. By default all log messages are printed
on every connection.
Usage: loglevel <loglevel name> <true/false>
Log levels: INF, WRN, ERR, EXC or ALL
Example: Disable display of WRN messages: loglevel WRN false
lootLoot commands
Usage
Loot commands:
container [name] <count> <stage> <abundance> - list loot from named container for count times
mapdataWrites some map data to an image
Usage
Usage:
clear - reset player map data
prefab - save prefabs to mapdata.png
start - save start points to mapdata.png
memPrints memory information and unloads resources or changes garbage collector
Usage
Commands:
clean - cleanup memory pools
pools - list memory pools
gc - show GC info
gc alloc <value> - allocate k value of temp memory
gc perm <value> - allocate k value of permanent memory
gc clearperm - clear permanent allocations list
gc c - run collection
gc enable <value> - enable GC (0 or 1)
gc inc <value> - run incremental collect for value ms
gc inctime <value> - set incremental collect time in ms
obj [mode] - list object pool (active or all)
objs - shrink object pool
log [interval] - start/stop logging of performance data to a file
memclPrints memory information on client and calls garbage collector
memprofilemprofToggles screen Memory Profiler UI
meshdatamanagermdmToggle the MeshDataManager
Usage
mdm
mumblepositionalaudiompaMumble Positional Audio related tools
Usage
|Usage:
			|  1. mpa enable
			|  2. mpa disable
			|  3. mpa reinit
naTest new HD stuff.
Usage
Usage:
  1. na
networkclientnetcClient side network commands
networkservernetsServer side network commands
Usage
Commands:
latencysim <min> <max> - sets simulation in millisecs (0 min disables)
packetlosssim <chance> - sets simulation in percent (0 - 50)
newweathersurvivalEnables/disables new weather survival
occlusionControl OcclusionManager
openiddebugenable/disable OpenID debugging
overlapToggle LocalPlayer's Character Controller Overlap Recovery
overridemaxplayercountOverride Max Server Player Count
pathtestenable a path testing utility mode
Usage
Usage. Toggle a path test mode. breakblocks - toggles path allowed to break blocks climbladders - toggles path allowed to break blocks climbwalls - toggles path allowed to break blocks
performanceprofilerppPerformance Profiling Utility
Usage
Type 'pp' to toggle capture, or 'pp start [fps]' / 'pp stop'.
permissionsallowedpallowed, paApply a mask to permissions for testing purposes (respects the existing conditions though).
Usage
|pa i[nfo] - Prints info about the current permissions.pa g[rant] <> - Adds the given permissions to the current debug permissions mask (still respects existing permissions though).pa rev[oke] <> - Removes the given permissions from the current debug permissions mask.pa res[olve] <> <true|false> - Attempt to resolve the specified permissions. True allows prompting the user for input, otherwise it is a silent resolution.
pirstbd
Usage
tbd
placeblockrotationspbrPlaces all rotations of the currently held block
Usage
Places 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.
placeblockshapespbsPlaces all shapes of the currently held variant helper block
Usage
Places all variants of the helper block you currently hold in your hand. Starts
at the current selection box and spreads out towards the right relative to the
current view direction of the player, starting a new row behind those every
{0} blocks. Spaces out each block by 1m meter.
playerOwnedEntitiespoeLists player owned entities.
playervisitmappvmTeleports the player through a rectangular area with optional memory logging
Usage
<x1> <z1> <x2> <z2> : start teleporting through the area defined by the coorindates, should be such that x1 < x2 and z1 < z2
stop : stop moving
height <int> : set the height off the ground to move the player to
stepradius <int> : set distance between teleports in chunks, default is half the player's view dimension
logfile <prefix> : sets the file for the memory log to a temporary file with this prefix
stepsperlog <int> : count of teleports between logs
dumplog : dump the current log file to the game log
poisSwitches distant POIs on/off
Usage
Use on or off or only the command to toggle
poiwaypointspwpAdds waypoints for specified POIs.
Usage
pwp * - adds waypoints to all POIs in the world.
pwp <name> - adds waypoints to all POIs that starts with the name.
pwp <distance> - adds waypoints to all POIs with the specified distance.
pwp * <distance> - adds waypoints to all POIs within the specified distance.
pwp <name> <distance> - adds waypoints to all POIs within the specified distance that start with the name.
pwp -clear - removes all POI waypoints.
pplistLists all PersistentPlayer data
prefabPrefab commands
Usage
|Usage:
			|  1.  load [prefab name]
            |      Load given prefab. If no prefab is given show prefab explorer window.
			|  2.  save
            |      Save current prefab.
			|  3.  clear
            |      Clear prefab editor contents.
			|  4.  thumbnail [name]
            |      Update prefab thumbnail of given prefab. If no prefab is given applies to the loaded prefab.
			|  5.  thumbnail bulk
            |      Create thumbnails for all prefabs that do not have one yet.
			|  6.  stats
            |      Create CSV file with basic stats of all prefabs.
			|  7.  convert <name>
            |      Load, simplify, combine and export named prefab.
			|  8.  bulk [count]
            |      Do "convert" on all prefabs (optionally limited to first "count" prefabs).
			|  9.  bulkins
            |      Update inside information (.ins) for all prefabs.
			|  10.  density <needle> <set>
            |      Change density of all non-air blocks in current pefab that have <needle> density to <set>.
			|  11.  simplify
            |      Simplify current prefab for imposter generation.
			|  12.  simplify1
            |      Simplify current prefab for imposter generation, keep more complex blocks.
			|  13.  combine
            |      Combine meshes of current prefab into one.
			|  14.  export
            |      Export combined meshes as imposter for current prefab.
prefabeditorprefabedit, preditOpen the Prefab Editor
Usage
prefabeditor
prefabupdater—
Usage
Update 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.
profilenetworkWrites network profiling information
profilerUtilities for collection profiling data from a variety of sources
profilingEnable Unity profiling for 300 frames
regionresetrrResets chunks within a target region, or for the entire map.
Usage
Usage: 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.
reloadentityclassesrecreloads entityclasses xml data.
removequestusage: removequest questname
rendermaprender the current map to a file
repairchunkdensityrcdcheck and optionally fix densities of a chunk
Usage
This 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.
resetallstatsResets all achievement stats (and achievements when parameter is true)
saveworldsaSaves the world manually.
saySends a message to all connected clients
ScreenEffectSets a screen effect
Usage
ScreenEffect [name] [intensity] [fade time]
ScreenEffect clear
ScreenEffect reload
sdcsControl entity sex, race, and variant
Usage
Change a player's sex, race, and variant:
  Usage:
    sdcs                            : Show current archetype values
    sdcs <sex|race|variant> <value> : Set the specified value
  Examples :
    sdcs sex <male|female>
    sdcs race <white|black|asian|native>
    sdcs variant <1|2|3|4>
sdminfoSaveDataManager Information
Usage
sdminfo
setgameprefsgsets a game pref
setgamestatsgssets a game stat
settargetfpsSet the target FPS the game should run at (upper limit)
Usage
Set 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.
settempunitstuSet the current temperature units.
Usage
Set 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.
settimestSet the current game time
Usage
Set 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.
setwatervalueswvSets 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.
showShows custom layers of rendering.
showalbedoalbedoenables/disables display of albedo in gBuffer
showchunkdatascshows some date of the current chunk
showCloudsArtist command to show one layer of clouds.
Usage
type "showClouds myCloudTexture" where "myCloudTexture" is the name of the texture you want to see.
type "showClouds" to turn off this view.
Note: cloud textures MUST be locasted at ./resources/textures/environment/spectrums/default
showhitsShow hit entity info
Usage
Commands:
damage - toggle damage numbers
hits <time> <size> - toggle hits
shownexthordetimeDisplays the wandering horde time
shownormalsnormsenables/disables display of normal maps in gBuffer
showspecularspecenables/disables display of specular values in gBuffer
showswingsShow melee swing arc rays
showtriggersSets the visibility of the block triggers.
shutdownshuts down the game
signeditordebugsedToggles visibility of the Sign Editor debug panel.
Usage
No params: Toggles visibility of the Sign Editor debug panel.
signtexmanstmAllows 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.
sleepMakes the main thread sleep for the given number of seconds (allows decimals)
sleeperDrawn or list sleeper info
Usage
draw - toggle drawing for current player prefab
list - list for current player prefab
listall - list all
r - reset all
smoothpoiSmoothens the POI
Usage
|Usage:
			|  smoothpoi [mode] [passes]
			|Mode defaults to "land", also accepts "air".
            |Passes defaults to 1.
            |Smoothed area can be restricted with the blue selection.
smoothworldallswaApplies 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
spawnairdropSpawns an air drop
spawnentitysespawns an entity
Usage
se playerId entity# <count> - spawn around playerId (0 for local) entity# of count (1 to 100)
spawnentityatseaSpawns an entity at a give position
Usage
Usage:
  1. spawnentityat
  2. spawnentityat <entityidx> <x> <y> <z>
  3. spawnentityat <entityidx> <x> <y> <z> <count>
  4. spawnentityat <entityidx> <x> <y> <z> <count> <rotX> <rotY> <rotZ>
  5. spawnentityat <entityidx> <x> <y> <z> <count> <rotX> <rotY> <rotZ> <stepX> <stepY> <stepZ>
  6. spawnentityat <entityidx> <x> <y> <z> <count> <rotX> <rotY> <rotZ> <stepX> <stepY> <stepZ> <spawnerType>
1. Lists the known entity class names
2. Spawns the entity with the given class name at the given coordinates
3. As 2. but spawns <count> instances of that entity type
4. As 3. but also specifies the rotation of the spawned entities
5. As 4. but also specify the step distance between entities
6. As 5. but also specify the spawner source of the entity (Dynamic, StaticSpawner, Biome)
spawnscoutsSpawns 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.
SpawnScreenDisplay SpawnScreen
Usage
SpawnScreen on/off
spawnsupplycrateSpawns a supply crate where the player is
spawnwanderingspawnwSpawn wandering entities
Usage
Commands:
b - bandits
h - horde
spectatorspectatormode, smenables/disables spectator mode
spectrumForce a particular lighting spectrum.
Usage
spectrum <Auto, Biome, BloodMoon, Foggy, Rainy, Stormy, Snowy>
squarespiralsqsMove 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]>
stabstability
starvehungry, foodMakes the player starve (optionally specify the amount of food you want to have in percent).
switchviewsvSwitch between fpv and tpv
SystemInfoList SystemInfo
teleporttpTeleport the local player
Usage
Usage:
  1. teleport <x> <y> <z> [view direction]
  2. teleport <x> <z> [view direction]
  3. teleport <target steam id / player name / entity id>
  4. teleport offset <inc x> <inc y> <inc z>
For 1. and 2.: view direction is an optional specifier to select the direction you want to look into
after teleporting. This can be either of n, ne, e, se, s, sw, w, nw or north, northeast, etc.
1. Teleports the local player to the specified location. Use y = -1 to spawn on ground.
2. Same as 1 but always spawn on ground.
3. Teleports to the location of the given player
4. Teleport the local player to the position calculated by his current position and the given offsets
teleportplayerteleTeleport a given player
Usage
Usage:
  1. teleportplayer <user id / player name / entity id> <x> <y> <z> [view direction]
  2. teleportplayer <user id / player name / entity id> <target user id / player name / entity id>
1. Teleports the player given by his UserID, player name or entity id (as given by e.g. "lpi")
   to the specified location. Use y = -1 to spawn on ground. Optional argument view direction
   allows you to speify a direction you want to look in after teleporting. This can be either
   of n, ne, e, se, s, sw, w, nw or north, northeast, etc.
2. As 1, but destination given by another (online) player
teleportpoirelativetpprTeleport the local player within the current POI
Usage
Usage:
			|  1. teleportpoirelative <x> <y> <z> [view direction]
			|1. Teleports the local player to the specified location relative to the bounds of the current POI. View
			|direction is an optional specifier to select the direction you want to look into after teleporting. This
			|can be either of n, ne, e, se, s, sw, w, nw or north, northeast, etc.
testCensortccCensorship testing toggle.
testDismembermenttdsDismemberment testing toggle.
testloopTest code in a loop
Usage
Commands:
p - player
testoccreporttoccrTest the occlusion manager self reporting to backtrace, requires Backtrace to be enabled at build creation
thirstyMakes the player thirsty (optionally specify the amount of water you want to have in percent).
tppoiOpen POI Teleporter window
traderarea...
transformdebugtdbgTransform Debugging
Usage
tdbg - Toggle Transform Debugging
treesSwitches trees on/off
Usage
trees - toggles
trees <value> - (off, on)
twitchusage: twitch <command> <params>
twitchadminTwitch 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
uioptionsuioAllows 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
unlockForce unlock inventories for everyone or a specific player.
Usage
Usage:
  unlock
  unlock <player id>
versionGet the currently running version of the game and loaded mods
versionuiToggle version number display
visitmapVisit an given area of the map. Optionally run the density check on each visited chunk.
Usage
|Usage:
			|  1. visitmap <x1> <z1> <x2> <z2> [check]
			|  2. visitmap full [check]
			|  3. visitmap stop
			|1. Start visiting the map in the rectangle specified with the two edges defined by
			|   coordinate pairs x1/z1 and x2/z2. If the parameter "check" is added each visited
			|   chunk will be checked for density issues.
			|2. Start visiting the full map. If the parameter "check" is added each visited
			|   chunk will be checked for density issues.
			|3. Stop the current visitmap run.
vpoisvisitpois—
Usage
<s[tart] [pois per auto-pause]|p[ause]|r[eset]>
weatherControl weather settings
Usage
Clouds [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
weathersurvivalEnables/disables weather survival
webpermissionManage web permission levels
Usage
|Set/get permission levels required to access a given web functionality. Default
			    |level required for functions that are not explicitly specified is 0.
			    |Usage:
				|   1. webpermission add <webfunction> <method> <level>
			    |   2. webpermission remove <webfunction>
			    |   3. webpermission list [includedefaults]
				|1. Add a new override (or replace the existing one) for the given function. Method must be a HTTP method (like 'GET', 'POST')
						supported by the function or the keyword 'global' for a per-API permission level. Use the permission level keyword
						'inherit' to use the per-API permission level for the specified method instead of a custom one for just the single method.
				|2. Removes any custom overrides for the specified function.
				|3. List all permissions. Pass in 'true' for the includedefaults argument to also show functions that do not have a custom override defined.
webtokensManage web tokens
Usage
Set/get webtoken permission levels. A level of 0 is maximum permission.
Usage:
   webtokens add <tokenname> <tokensecret> <level>
   webtokens remove <tokenname>
   webtokens list
whitelistManage whitelist entries
Usage
Set/get whitelist entries. Note: If there is at least one entry on the list
no user who is not on this list will be able to join the server!
Usage:
   whitelist add <name / entity id / platform + platform user id> [displayname]
   whitelist remove <name / entity id / platform + platform user id>
   whitelist addgroup <steam id> [displayname]
   whitelist removegroup <steam id>
   whitelist list
To use the add/remove sub commands with a name or entity ID the player has
to be online, the variant with platform and platform ID can be used for currently offline
users too.
Displayname can be used to put a descriptive name to the ban list in addition
to the user's platform ID. If used on an online user the player name is used by default.
worldchunkresetwcrResets 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.
wsmatsworkstationmaterialsSet 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.
xuiExecute 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]
zd—
zz—

Read from the V3.3 game code (each command's own description and help). Where the game fills in a value at run time, it shows as "…".

7 Days to Die console commands — FAQ

How do I use console commands in 7 Days to Die?
Open the console and type a command, then Enter. The community wiki gives F1 as the key on US and EU keyboards (Fandom, Command Console); the game files do not say. The game knows 189 commands, listed below with what each does.
How do I give myself an item in 7DTD?
With giveself and the item's ID. The game's own usage line: "usage: giveself itemName [qualityLevel=…] [count=1] [putInInventory=false] [spawnWithMods=true]". Every item ID is on the item ID list.
How do I enter creative mode in 7 Days to Die?
The creativemenu command, alias cm — the game describes it as "enables/disables the creativemenu".
Does 7 Days to Die have admin commands?
Yes. admin itself is one: "Manage user permission levels". The full list is below.

PinDrop is fan-made and not affiliated with The Fun Pimps.