7 Days to Die Command List | Cheats and Codes for PC

7 Days to Die is one of the most popular survival games. It is a voxel-based survival game, which means that building is simple and environments are destructible. Gathered and found objects are degrading through use, so it forces players into the constant search for better equipment.

The name of the game hints at the horde mechanic, where every seventh day a large group of zombies is swarming the players’ location. Players will be killed in that case, unless preparations for the attack are sufficient enough. But that can be a lot more easier or interesting, so check out the list of the main cheats and commands for the game.

Command List

To use cheats and commands in 7 Days to Die, press any of these buttons  F1@ÖØF2 or Ñ on your keyboard, depending on your keyboard layout. Type your into the console and press ENTER to see its effect.

NameCodeEffect
giveselfgiveself [item id] [quality level (1-6)]His console command will spawn the item with the specified item ID in front of your character. You can optionally specify a quality level for the spawned item.
buffbuff [buff id]His console command gives you the specified buff. Use buffplayer to give a buff to another player.
debuffdebuff [buff id]His admin command removes the buff with the specified ID from you. Use debuffplayer to remove a buff from another player.
buffplayerbuffplayer [steam id / player name / entity id] [buff id]Will add the buff with the specified ID to the player you specify. You can specify a player by their Steam ID, name, or entity ID.
debuffplayerdebuffplayer [steam id / player name / entity id] [buff id]His console command will remove the specified buff from the specified player or entity.
switchviewswitchviewToggles first/third person mode – i.e. if you are in first person mode when you type this command, you’ll be switched to third person (and vice versa).
systeminfosysteminfoWill print to the console information about the computer you are using to play 7 Days to Die. The information is technical information like your computer’s hardware, operating system, etc.
debugmenudebugmenuEnables (‘debugmenu on’) and disables (‘debugmenu off’) Debug Mode. In Debug Mode, you can enable god mode by pressing the G key on your keyboard, and access the debug menu by pressing ESC.
exhaustedexhaustedHis cheat will make your character exhausted.
giveselfxpgiveselfxp [xp amount]His cheat code will give you the specified amount of XP.
creativemenucreativemenuHis cheat toggles (enables and disables) the Creative Menu. With this command turned on, you can access the Creative Menu by pressing the U key.
spawnsupplycratespawnsupplycrateHis console command will spawn a Supply Crate at your current location.
adminadmin [‘add’ / ‘remove’ / ‘list’] [steam id / player name / entity id] [permission level]His admin command will add or remove a player from the admin list. When adding a player to the admin list, you need to specify a permission level. A permission level is a number between 0 and 1000 that determines what permissions a player has – 1000 is the lowest (no permissions) and 0 is the highest (full admin permissions). By default, commands like admin, and shutdown require a permission level of 0 to use – and kick, and ban require a permission level of 1. Use the ‘cp list’ command to see what commands are assigned to each permission level.
kickkick [steam id / player name / entity id] [“kick message”]His admin command will kick the player with the specified name, Steam ID, or entity ID from the server with an optional kick message. Note that kicking isn’t the same as banning – this will disconnect the player from the server, but they will be able to reconnect.
kickallkickall [“kick message”]His admin command will kick all players from the server with an optional kick message (that will be shown to them when they are disconnected).
whitelistwhitelist [‘add’ / ‘remove’ / ‘list’] [steam id / player name / entity id]His admin command will add a player to the whitelist, remove a player from the whitelist, or list all players on the whitelist. The whitelist is a list of players who are allowed to connect to the server. The whitelist is disabled if no players are on the whitelist, but if there is at least one player on the whitelist it is enabled – i.e. to enable the whitelist, simply add a player to it; to disable the whitelist, remove all players from it.
banban [‘add’ / ‘remove’ / ‘list’] [steam id / player name / entity id] [duration + duration unit] [“message”]His admin command can be used to list all banned players, or ban/unban a specified player. When banning a player, you need to specify a duration (see duration argument information for help). You can optionally specify a ban message (reason) when banning a player.
killallkillallHis console command will, as you might’ve guessed from the name, kill every player on the server. It will also kill all zombies/entities.
teleportteleport [steam id / player name / entity id] [x y z] [offset x y z] [view direction]His console command can be used to teleport your character to a desired location. You can do one of the following: teleport to another player, teleport to a set of coordinates, or move yourself a set amount of coordinates left/right/up/down/forward/backwards (offset). See argument information for more help.
teleportplayerteleportplayer [steam id / player name / entity id] [steam id / player name / entity id] [x y z] [view direction]His console command can be used to teleport another player to a location. Using this command, you can do one of these three things: teleport a player to another player, teleport a player to a set of coordinates, or move a player a set amount of coordinates in any direction(s) (offset).
showcloudsshowclouds [texture file name]His console command will set your game’s clouds to the specified cloud texture. The cloud texture should be located in resources/textures/environment/spectrums/default. Typing this command with any arguments will restore cloud textures to default.
repairchunkdensityrepairchunkdensity [x z] [‘fix’]Will check for mismatches within a chunk (specified by coordinates). If you specify ‘fix’ (without quotes) at the end of this command, the game will attempt to repair any mismatches found within the specified chunk.
weatherweather [weather setting]Changes the world’s weather to the weather you specify.
weathersurvivalweathersurvival [‘on’ / ‘off’]Will enable (‘on’) or disable (‘off’) weather disable for your game.
spawnentityspawnentity [player id] [entity id]Will spawn an entity specified by its entity ID (at the location of the player with the player ID specified). Typing this command without any arguments (‘spawnentity’ on its own) will print a list of all entity IDs. Use ‘listplayerids’ to print a list of all player IDs.
spawnwanderinghordespawnwanderinghordeWill spawn a wandering horde of zombies.
givequestgivequest [quest id]His cheat will give yourself the quest with the specified quest ID.
removequestremovequest [quest id]His cheat will remove the quest with the specified quest ID from you.
saysay [“message”]Will send a message in chat to all players connected to the server (under the chat name “Server”).
cpcp [‘add’ / ‘remove’ / ‘list’] [command] [0 – 1000]Can be used to list, remove, add, and change permission levels for different commands. A permission level is a number between 0 and 1000 that determines what permissions a player has – 1000 is the lowest (no permissions) and 0 is the highest (full admin permissions). By default, commands like admin, and shutdown require a permission level of 0 to use – and kick, and ban require a permission level of 1. Use ‘cp list’ to see a list of all permission levels – if a command doesn’t have a permission level set, it requires max permissions (0) to use. See argument information for help adding/removing/changing permissions. Player permission levels can be changed with the admin command – all players by default have a permission level of 1000.
listplayerslistplayersWill print out a list of all players connected to the server with the following information: entity ID, name, coordinates, rotation, whether they are local or remote, health, deaths, zombies they’ve killed, player’s they’ve killed, score, level, steam ID, IP, and ping.
versionversionHis admin command will print the version of the game you are running, along with any mods you have installed.
water limitwater limit [amount]Can be used to limit how many water flow updates can run at a time.
thirstythirstyHis console command will make you thirsty.
spectrumspectrum [spectrum id]His console command will set the game’s lighting spectrum (how the sky looks and what light it produces) to the specified spectrum.
gettimegettimeWill tell you the current game time, including the date and the day that it is in your game.
spawnscoutsspawnscouts [steam id / player name / entity id] [x y z]His console command will spawn scouting zombies. To spawn the zombies near you, use the command ‘spawnscouts’ on its own. To spawn near another player specify their steam ID, entity ID, or name. You can also spawn the zombies at specified X Y Z coordinates.
listentslistentsHis admin command will list all entities currently in the game. Entities include players, zombies, and other living things. Similar to the listplayers command with regard to the information that it provides (e.g. health, etc).
shutdownshutdownHis admin command will shut the game down.
spawnairdropspawnairdropWill spawn an air drop – note that this won’t necessarily be at your current location (it can be anywhere in the map).
staticmapstaticmapHis console command will switch your map between static and dynamic mode when playing on the Navezgane map.
listplayeridslistplayeridsWill list all players connected to the server, along with their entity IDs.
setgamestatsetgamestat [game stat] [value]Will set the specified game stat to the specified value. Use getgamestat for a list of all game stats.
getgamestatgetgamestat [string]Will print a list of all game stats, or if you specify a search term, game stats containing that term.
setgameprefsetgamepref [game preference] [value]His console command sets the specified game preference to the specified value.
getgameprefgetgamepref [string]Prints a list of all game preferences to the console. You can optionally specify a search term to only show game preferences containing that string.
starvestarveWill make you starve.
settempunitsettempunit [c / f]Can be used to change the temperature unit used by the game to Celsius (‘C’) or Fahrenheit (‘F’).
memclmemclWill print memory (RAM) information about the CLIENT to the console, including free memory, the heap size, and more. It will also call the garbage collector to try to free up RAM.
memmemWill print memory (RAM) information about the SERVER to the console, including free memory, the heap size, and more. It will also call the garbage collector to try to free up RAM.
traderareatraderareaWill print a list of all Trader Areas in the game, including their coordinates.
exportitemiconsexportitemiconsWill export all item icons for 7DTD as PNGs and save them in the ItemIcons folder.
lightslightsWill enable and disable (toggle) light debug mode. The regions that most sources of light affect will be colored green.
shownexthordetimeshownexthordetimeWill show you the wandering horde time.
pplistpplistWill print a list of all PersistentPlayer data.
clearclearWill clear all messages and text from the console.
listthreadslistthreadsHis console command lists all threads that the game is currently using.
spawnscreenspawnscreenWill play the spawn screen effect (i.e. blur your screen and lower the constrast).
showalbedoshowalbedoEnables and disables (toggles) the display of albedo in gBuffer.
settimesettime [‘day’ / ‘night’] [0-24000] [d hh mm]His console command sets the time in the game. You can use this to set the time to: night, day, or to a specific day/time (e.g. day 3, 14:43).
helphelp [command]Prints a list of all console commands to the console. If you specify a command as an argument, it will print help for that specifiy command.
sounddebugsounddebugEnables and disables (toggles) SoundManager debug output.
shownormalsshownormalsEnables and disables (toggles) the display of normal maps in gBuffer.
loggamestateloggamestate [header] [true / false]Will log client (true) or server (false) information about the game to the 7DaysToDie_Data\output_log.txt file with the specified header.
chunkcachechunkcacheHis console command will display all of the chunks that are loaded in the cache.
loglevelloglevel [log level] [true / false]Will enable or disable log messages for the specified log level. This command can be used to hide log messages that are info, but show log messages that are errors.
saveworldsaveworldWill force a save of your current world.
showchunkdatashowchunkdataHis console command will print information about the chunk you are currently standing in – e.g. memory used, entities within, etc.
aiddebugaiddebugEnables and disables (toggles) AIDirector debug output.
showspecularshowspecularWill enable or disable (toggle) the display of specular values in gBuffer.
Exit mobile version