7D2D: Console Commands (2023)

Admins have two methods depending on their region for accessing the Command Console:

1. US Keyboards

2. EU Keyboards

Note: Command arguments using [square braces] are optional, however commands using <pointed braces> are not.

Command Shortcut Description Example
help <command> Print description of specified command. help ban
admin add <steamID> <permission level> Add a player to the admin list with the desired permission level. Permissions range from 0-1000. A player can run any command equal to or above their permission level, so 0 lets the player run anything. admin add indifferentbroccoli 0
admin remove <steamID> Remove a player from the admin list. admin remove indifferentbroccoli
aiddebug Toggle AIDirector debug output.
ban add <steamID> <duration> <duration unit> [reason] Bans a player from the game for <duration> in <duration units> with a reason of [reason] (optional). Duration units are minutes, hours, days, weeks, months, and years. ban indifferentbroccoli 10 hours cheating
ban list Print list of banned players with their duration, ID, and reason.
ban remove <steamID> Remove a ban. ban remove indifferentbroccoli
buff <buff name> Apply a buff to yourself. Buff names can be found here. buff CoffeeStaminaBoost
buffplayer <steamID> <buff name> Apply a buff to specified player. Buff names can be found here. buffplayer indifferentbroccoli CoffeeStaminaBoost
chunkcache cc Show chunks loaded in the cache.
clear Clear text in the Command Console.
cp add <command> <level> Add a command to the command permission list with the specified permission level (0-1000). cp add listplayers 0
cp remove <command> Remove a command from the command permission list. cp remove listplayers
cp list Display current command permissions. "1000" is the loosest (normal players can use the command) and "0" is the tightest (only admins can use).
creativemenu cm Toggle the Creative Menu
deathscreen <on/off> Display the death screen during normal gameplay (add blood-splatters to the screen).
debuff <buff name> Remove a buff from yourself. debuff buffLegBroken
debuffplayer <steamID> <buff name> Remove a buff from specified player. debuff indifferentbroccoli buffLegBroken
debugmenu [on/off] dm Toggle Debug Mode. This allows God mode (G key), the debug menu (ESC), and other functionality.
enablescope <on/off> es Toggle debug scope.
exhausted Make yourself exhausted.
exportcurrentconfigs Export your configs to %appdata%/7DaystoDie/Saves/<worldname>/<savegamename>/Configs on Windows and .local/share/7DaystoDie/Saves/<worldname>/<savegamename>/Configs on Linux.
exportitemicons Export item icons to the 7 Days To Die\ItemIcons folder.
getgamepref gg Print current game preferences to the console (zombie speed, daylight length, etc).
getgamestat ggs Print current game statistics to the console (map size, difficulty, etc)
gettime gt Print current day and time.
gfx af <0 or 1> Set anisotropic filtering to 0 (off) or 1 (on). gfx af 0
gfx dti Set distant terrain instancing (A19.2 b3)
gfx dtpix Set distant terrain pixel error (A19.2 b3)
givequest Give yourself a quest. Quest names can be found in 7 Days To Die\Data\Config\quests.xml. givequest quest_BasicSurvival8
giveself <item name> [quality level] Drop an item in front of you with maximum (600) quality. Use the optional [quality level] to specify. Item names can be found in 7 Days To Die\Data\Config\items.xml giveself machete
giveselfskillxp <skill name> <amount> * Increase the specified skill by <amount> of experience points. giveselfskillxp Mining Tools 1000
giveselfxp <amount> Increase your experience points by <amount>. giveselfxp 1000
kick <steamID> [reason] Kick a player from the game. kick indifferentbroccoli bye
kickall [reason] Kick all players from the game. kickall bye
killall Kill all players and entities. Note: Be careful with this command.
lights Toggle halo around all light-emitting objects.
listents le List entities currently in game (e.g. zombies, players, animals).
listlandclaim llp List active Land Claim Blocks (including player name, world ID, SteamID, LCB's current health state, and coordinates).
listplayerids lpi List players and their IDs.
listplayers lp List players and their stats (e.g. positions, health, etc.).
listthreads lt List threads.
loggamestate <message> [true/false] lgs Write information on the current state of the game (memory usage, entities, threads, etc) to the log file at 7 Days To Die\7DaysToDie_Data\output_log.txt. The <message> is included in the header of the generated log. If True, the command should be run on the client. If False (default), the command should be run on the server. loggamestate START
loglevel <loglevel name> <true/false> Telnet/web only. Select which types of log messages are shown on the connection. By default, all log messages are printed on every connection. Log levels: INF, WRN, ERR, EXC, or ALL. loglevel INF false
mem Print memory information and call garbage collector. Useful for debugging.
memcl Print memory information on client and call garbage collector. Useful for debugging.
pplist Print Persistent Player data.
removequest Remove a quest. Quest names can be found in 7 Days To Die\Data\Config\quests.xml.
repairchunkdensity <x> <z> [fix] rcd Check if block density in a chunk matches the actual block type. A mismatch can lead to the chunk rendering incorrectly. Look for error message: "Failed setting triangles. Some indices are references out of bounds vertices." It can also fix mismatches within a chunk. <x> and <z> are the coordinates of any block within the chunk to check. Adding "fix" to the end of the command will repair any mismatches. rcd 0 100 fix
saveworld sa Save the world state.
say <message> Send a message to all connected players.
setgamepref <preference name> <value> sg Set specified gamepref. sg ZombiesRun 0
setgamestat <stat name> <value> sgs Set specified gamestat. sgs LandClaimExpiryTime 10
settempunit <c or f> stu Set temperature unit to c (Celsius) or f (Fahrenheit).
settime day
settime night
settime <time>
settime <day> <hour> <minute>
st

Set the game time. Use either military (0-2400) or day hour minute format

settime 1300
settime 6 15 0
showalbedo albedo Toggle display of albedo in gBuffer.
showchunkdata sc Show data on the current chunk.
showclouds Show one layer of clouds.
shownexthordetime Display wandering horde time.
shownormals norms Toggle display of normal maps in gBuffer.
showspecular spec Toggle display of specular values in gBuffer.
shutdown Shutdown the game.
sounddebug Toggle SoundManager debug output.
spawnairdrop Spawn an air drop.
spawnentity <playerID> <entityID> se Spawn a specified entity.
spawnscouts Spawn one Screamer in the distance. It will move towards the location where the command was used.
spawnscreen Display spawn screen.
spawnsupplycrate Spawn a supply crate.
spawnwh Spawn a wandering horde in the distance. The horde will move towards the location where the command was used.
spectrum <choice> Force a lighting spectrum. Choices are Biome, BloodMoon, Foggy, Rainy, Stormy, Snowy.
starve Make yourself hungry.
staticmap Switch the Navezgane map between static and dynamic.
switchview sv Switch the player view between 1st person and 3rd person.
systeminfo Print info about the current system (e.g. CPU, operating system, etc).
teleport <E / W> [y] <N / S>
teleport <E / W> <N / S>
teleport <target player name/steam id/entity id>
teleport offset <inc E / W> <inc y> <inc N / S>
tp Teleport yourself to the specified location. If using [y] (optional) use -1 to spawn on the ground. Use only <E / W> and <N / S> to always spawn on the ground. Use "offset" to teleport based on current position (e.g. 3 meters north inside a locked building). Type "help tp" for more info. South and West are negative, (-) before number. tp -200 77 300
tp -200 300
tp indifferentbroccoli
tp offset 3 1 0
teleportplayer <name / player id / steam id> <E / W> <y> <N / S>
teleportplayer <player id> <player id>
tele

Teleport the target player to specified location. Use y = -1 to spawn on the ground. Use another player's name or ID to teleport one player to another (such as to yourself). Type "lpi" to print a list of player IDs. Type "help tele" for more info.

South and West are negative, (-) before number.

tele indifferentbroccoli -200 77 300
tele indifferentbroccoli 365
tele <friend> <self>
thirsty Make yourself thirsty.
traderarea If a player is within a trader area they will be forced out.
updatelighton <steamID> Update the light on specified player.
version Print the version of the game and loaded mods.
water Control water settings. Type "help water" for more info.
weather Control weather settings. Type "help weather" for more info.
weathersurvival <on / off> Toggle weather survival.
whitelist add <name / player id / steam id> Add a player to the whitelist.
whitelist remove <name / player id / steam id> Remove a player from the white list.
whitelist list Print a list of whitelisted players.

References

Top Articles
Latest Posts
Article information

Author: Cheryll Lueilwitz

Last Updated: 05/13/2023

Views: 5517

Rating: 4.3 / 5 (74 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Cheryll Lueilwitz

Birthday: 1997-12-23

Address: 4653 O'Kon Hill, Lake Juanstad, AR 65469

Phone: +494124489301

Job: Marketing Representative

Hobby: Reading, Ice skating, Foraging, BASE jumping, Hiking, Skateboarding, Kayaking

Introduction: My name is Cheryll Lueilwitz, I am a sparkling, clean, super, lucky, joyous, outstanding, lucky person who loves writing and wants to share my knowledge and understanding with you.