7 Days To Die

  



  • The latest tweets from @7DaystoDie.
  • Welcome to my 7 Days to Die (7D2D) guide. This guide aims to provide a roadmap for the novice player to bridge the challenges in the early game, and to give you targets to aspire to in the future (crafting, bases, role playing etc.). Assuming you have successfully installed and launched 7D2D, on the main menu there are a whole lot of options.
Some items' or groups' chance to drop changes according to the player's gamestage. Here you can see those values for any gamestage you want using the little box below. Just type the gamestage you want in the box and press the Apply!-button. The values should change immediately, if the chance is different.
Current game stage: 1
  • 2Usage
  • 3Console Commands

🔴 Live Almost Everyday on TWITCH! JOIN for Members-Only.Behind the Scenes Funny Moments. Videos!

Description[edit | edit source]

The Command Console is a tool primarily used for game development. However, it can be accessed by the player and used to input various 'Console Commands' adding a wider range of functionality to the game. Using the commands the player is able to retrieve game information and statistics in addition, but not limited to altering the game's settings, spawning items and controlling time. Commands are also available which can be used to control guest players when the game is running in multi-player. This allows the host player to kick or even ban other players that are abusive or being disruptive. More command are available at 7DaysToDieCommands.com.

Usage[edit | edit source]

  • There are two different keys that can be used to open the Command Console these are as follows:
7 Days To Die

Key 1[edit | edit source]

  • press F1 for US and EU keyboards.

Key 2[edit | edit source]

  • press ' for US keyboards.
  • press @ for EU keyboards.
  • press Ö/Ø/F2 for Scandinavian keyboards.
  • press Ñ for spanish keyboards.

Console Commands[edit | edit source]

Entering codes[edit | edit source]

Days
  • Some commands are case sensitive; 'a' is not the same as 'A'.
  • Shortcuts can be used in place of the full command. Not all commands have a shortcut.
  • Command arguments presented in [square braces] are optional, however commands using <pointed braces> are not.

Command List[edit | edit source]

Current list taken from Alpha 15. Commands are as listed by typing 'help' into the console.

CommandShortcutDescriptionExample
help <command>Prints help text for supported commands.help ban
admin add <name / entity id / steam id> <permission level>Used to add a player to the admin list with the desired permission level. Note that you can use the players entityid, playername, or steam ID. Type 'lpi' to find an ID. Permission levels can range between 0 (maximum) and 1000 (none).admin add 171 0
admin remove <name / entity id / steam id>Used to remove a player from the admin list. Type 'lpi' to find an ID.admin remove 171
ai pathgridTBD - added in A19.2 b3
ai pathlines (was: ai path)TBD - renamed in A19.2 b3
aiddebugToggles AIDirector debug output.
ban add <name / entity id / steam id> <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. Type 'lpi' to find an ID.ban 171 10 hours griefing
ban 282 1 year hacking
ban listPrint a list of banned players with their duration, ID, and reason to the console.
ban remove <name / entity id / steam id>Remove a ban. Find a list of banned player IDs using 'ban list'.ban remove 171
buff <buff name>Applies a buff to the local player (you). Buff names can be found in 7 Days To DieDataConfigbuffs.xmlbuff CoffeeStaminaBoost
buffplayer <name / entity id / steam id> <buff name>Applies a buff to the selected player. Type 'lpi' to find an ID. Buff names can be found in 7 Days To DieDataConfigbuffs.xml.buffplayer 171 CoffeeStaminaBoost
chunkcacheccShows all loaded chunks in the cache.
clearClears all output text in the command console
cp add <command> <level>Used to add a command to the command permission list with the desired permission level. Use 'cp list' to view commands.cp add gettime 0
cp remove <command>Used to remove a command from the command permission list.cp remove gettime
cp listDisplay a list of current command permissions. '1000' is the lowest (Guest or normal player) while '0' is the highest (Host or Admin).
creativemenucmEnables or disables the Creative Menu
deathscreen <on/off>Display the blood-filled death screen during normal gameplay. This does not hurt or kill the player but it diminishes visibility.
debuff <buff name>Remove a buff from the local player (you).debuff buffLegBroken
debuffplayer <name / entity id / steam id> <buff name>Remove a buff from the targeted player.debuff 171 buffLegBroken
debugmenu [on/off]dmToggles Debug Mode on or off. This allows God mode (G key), the debug menu (ESC), and other unique functionality.
enablescope <on/off>esToggle debug scope.
exhaustedMakes the player exhausted.
exportcurrentconfigsExports the currently used configs to %appdata%/7DaystoDie/Saves/<worldname>/<savegamename>/Configs on Windows and .local/share/7DaystoDie/Saves/<worldname>/<savegamename>/Configs on Linux.

Useful for mod development. [1]

exportitemiconsExports all item icons to the 7 Days To DieItemIcons folder. Extremely useful for wiki editing!
getgameprefggPrints a list of current game preferences to the console (airdrop frequency, daylight length, etc).
getgamestatggsPrints a list of current game stats to the console (land claim size, difficulty, etc)
gettimegtPrints current number of days and time.
gfx af <0 or 1>Sets the anisotropic filtering to off(0) or on(1, default).gfx af 0
gfx dtiSet distant terrain instancing (A19.2 b3)
gfx dtpixSet distant terrain pixel error (A19.2 b3)
givequestGive yourself a quest. Quest names can be found in 7 Days To DieDataConfigquests.xml. The example command can be used to skip to the end of the tutorial quests. This is also immensely helpful for modded quests.givequest quest_BasicSurvival8
giveself <item name> [quality level]Drops an item at your feet with maximum (600) quality. Use the optional [quality level] to specify. Item names can be found in 7 Days To DieDataConfigitems.xmlgiveself machete
giveselfskillxp <skill name> <amount> *Increase the specified skill by <amount> of experience. The <skill name> MUST be capitalized and spaced correctly.giveselfskillxp Mining Tools 1000
giveselfxp <amount>Increase your experience by <amount>.giveselfxp 1000
kick <name / entity id / steam id> [reason]Kicks a player from the game. Type 'lpi' to find an ID. [reason] is optional.kick 171 bye
kickall [reason]Kicks all players from the game. [reason] is optional.kickall bye
killallKills all players and entities.
lightsToggles display of an outline around all light-emitting objects (candles, campfires, etc) (screenshot)
listentsleLists all entities currently in game (zombies, players, animals).
listlandclaimllpLists all active Land Claim Blocks with player name, world ID, SteamID, LCB's current health state, and coordinates.
listplayeridslpiLists all players and their IDs.
listplayerslpLists all players with IDs, positions, health, stats, IP address, etc.
listthreadsltLists all threads.
loggamestate <message> [true/false]lgsWrites information on the current state of the game (memory usage, entities, threads, etc) to the log file at 7 Days To Die7DaysToDie_Dataoutput_log.txt. <message> is any string that will be included in the header of the generated log. True = the command should be run on the client. False = the command should be run on the server. 'False' is default.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
memPrints memory information and calls garbage collector.
memclPrints memory information on client and calls garbage collector.
pplistPrints Persistent Player data.
removequestRemoves a quest. Quest names can be found in 7 Days To DieDataConfigquests.xml.
repairchunkdensity <x> <z> [fix]rcdUsed 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, indicated by the 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
saveworldsaManually saves the world.
say <message>Sends a server message to all connected clients.
setgamepref <preference name> <value>sgSets a gamepref. Preference names can be viewed with the 'gg' command (getgamepref).sg ZombiesRun 0
setgamestat <stat name> <value>sgsSets a gamestat. Stat names can be viewed with the 'ggs' command (getgamestat).sgs LandClaimExpiryTime 10
settempunit <c or f>stuSets the temperature unit to Celsius (c) or Fahrenheit (f, default).
settime day
settime night
settime <time>
settime <day> <hour> <minute>
stSets the current game time. <time> is in the 24h/military format (1pm is 1300). [hour] and [minute] are not. You can also set the <day>, which is the number of total days that have passed. Type 'help settime' for more info.settime 1300
settime 6 15 0
showalbedoalbedoToggles display of albedo in gBuffer.
showchunkdatascShows some data of the current chunk.
showcloudsArtist command to show one layer of clouds.
shownexthordetimeDisplays the wandering horde time.
shownormalsnormsToggles display of normal maps in gBuffer.
showspecularspecToggles display of specular values in gBuffer.
shutdownShuts the game down.
sounddebugToggles SoundManager debug output.
spawnairdropSpawns an air drop.
spawnentity <playerID> <entityID>se'se' by itself prints a list of entity IDs. Type 'lpi' to find an ID. You may also use the Entity Spawner (F6) in Debug Mode to spawn an entity.
spawnscoutsSpawns 1 Screamer in the distance and makes it navigate towards the location where the command was used.
spawnscreenDisplays spawn screen.
spawnsupplycrateSpawns a supply crate above the player.
spawnwhSpawns a wandering horde in the distance; these hordes will move generally towards the player's location when they were spawned (but not GPS at the player). (verified for A19.2 by faatal @TFP)
spectrum <choice>Force a lighting spectrum. Choices are Biome, BloodMoon, Foggy, Rainy, Stormy, Snowy. For the moment, the 'biome' choice is bugged and might crash the game.
starveMakes the player hungry.
staticmapSwitches the Navazgane map between static and dynamic
switchviewsvSwitches the player view between 1st person and 3rd person views. This can also be done in Debug Mode by hitting F5.
systeminfoPrint info about the current system (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>
tpTeleport the local player (you) to 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 171
tp offset 3 1 0
teleportplayer <name / player id / steam id> <E / W> <y> <N / S>
teleportplayer <player id> <player id>
teleTeleport 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 171 -200 77 300
tele 171 365
tele <friend> <self> = friend to you.
thirstyMakes the player thirsty.
traderareaIf a player is within a trader area they will be forced out but can reenter unless trader is closed.
updatelighton <name / player id / steam id>Commands for UpdateLightOnAllMaterials and UpdateLightOnPlayers.
versionPrint the version of the game and loaded mods.
waterControl water settings. Type 'help water' for more info.
weatherControl weather settings. Type 'help weather' for more info.
weathersurvival <on / off>Toggles weather survival.
whitelist add <name / player id / steam id>Adds a player to the whitelist.
whitelist remove <name / player id / steam id>Removes a player from the white list.
whitelist listPrints a list of all whitelisted players.

Notes[edit | edit source]

7 days to die mods
  • Not applicable to A18

Video Guide[edit | edit source]

  1. https://forums.7daystodie.com/forum/-7-days-to-die-pc/game-modification/tutorials-guides/101325-xpath-error-checking?99279-XPath-Error-Checking=
Retrieved from 'https://7daystodie.gamepedia.com/Command_Console?oldid=130753'
Some items' or groups' chance to drop changes according to the player's gamestage. Here you can see those values for any gamestage you want using the little box below. Just type the gamestage you want in the box and press the Apply!-button. The values should change immediately, if the chance is different.
Current game stage: 1



Welcome to the Official Wiki, Navezgane Survivalists

The Official 7 Days to Die guide written and maintained by players just like you!

7 Days to Die is a new survival horde crafting game from The Fun Pimps:

With nearly 10 million copies sold, 7 Days to Die has defined the survival genre, with unrivaled crafting and world-building content. Set in a brutally unforgiving post-apocalyptic world overrun by the undead, 7 Days to Die is an open-world game that is a unique combination of first person shooter, survival horror, tower defense, and role-playing games. It presents combat, crafting, looting, mining, exploration, and character growth, in a way that has seen a rapturous response from fans worldwide. Play the definitive zombie survival sandbox RPG that came first. Navezgane awaits! (7DaysToDie.com)

Image from 7 Days to Die Blog, developers diary

Alpha 19.2 Stable is out! - rhuenink - 2020/10/20 15:15

Alpha A19.2 Stable is out! Along with some great fixes we enabled Steel Series’s game sense feature, allowing Steel Series Mouse and keyboard users to have some ingame events tied to their hardware LE...

Alpha 19.1 Stable is out! - rhuenink - 2020/09/22 15:14

Hey Survivors,We are proud to announce that the Alpha 19.1 Stable is out! The build has many great fixes, balance improvements and much more. Here are the full Official Release Notes, the forum bug re...

Farewell to a Mentor - rhuenink - 2020/08/20 15:40

Farewell to a Mentor By Richard Huenink It is not often that I get personnel on the internet or with our company ‘The Fun Pimps’ but the last couple weeks we’re hard and under the circumstances I felt...

A19 Streamer Weekend - rhuenink - 2020/06/25 19:08

Hey Survivors, We are proud to announce that the ‘Alpha 19 Streamer Weekend’ is finally here. We have partnered with over 170 streamers from 30 countries. We will be running the Streamer Weekend event...
Die

7 Days To Die Map

More game news...

7 Days To Die Ps4


We are currently maintaining 8,650 pages (1,976 articles)!
Recent changes | New pages | Help us translate the wiki

How to help
See how you can help contribute to the 7 Days to Die Wiki !.
Remember to maintain a standard for grammar and punctuation in your contributions, please.
Register
Register an account to keep track of your contributions.
Main page sections: Top · Flex · Bottom. Changes for the main page can be proposed here.
7 days to die xbox one

7 Days To Die Commands

Retrieved from 'https://7daystodie.gamepedia.com/7_Days_to_Die_Wiki?oldid=127000'