Posted on May 11, 2024

7 Days to Die Console Commands and Usage

by Clay B.

Welcome to our comprehensive resource on console commands for your 7 Days to Die server! Whether you're an experienced server administrator or new to managing your own game world, console commands are invaluable tools that can greatly enhance your server management and gameplay. These commands give you the power to control various aspects of your game, from player management to world customization, all with a few keystrokes.

Picture being able to instantly teleport to any location, spawn vital resources in a moment of need, or adjust the game environment to create unique challenges and experiences. Console commands make all of this possible, offering you the flexibility to tailor the game to your exact preferences. This resource will cover everything you need to know, from accessing the console to using basic and advanced commands effectively.

Explore how you can streamline server operations, customize gameplay, and address issues efficiently. This detailed resource will equip you with the knowledge to fully utilize console commands, transforming your 7 Days to Die server into a dynamic and engaging environment. Let's get started on maximizing the potential of your server with the power of console commands!

How to use console commands in 7 Days to Die

Accessing the console command window in 7 Days to Die is simple:

  • Press the F1 key on your keyboard to open up the console.
  • Type your command and press enter. Refer to the full list of commands below.

Assigning Admins to Your Server

Many of these 7D2D console commands require admin-level permissions within the server. If you do not yet have admin rights, please check out our detailed instructions on assigning admins on your 7 Days to Die server.

List of 7 Days to Die Console Commands

We've categorized the commands below based on the type of command.

Spawning & XP Commands

CommandDescriptionExample
giveself item id quality 1-6Give yourself the specified item with a quality level. See below for item IDs.giveself gunPistol 6
spawnsupplycrateSpawn a supply crate at your current positionspawnsupplycrate
spawnairdropSpawn an airdrop at your current positionspawnairdrop
spawnentity player id entity idSpawns an entity at the specified player's position. Use listplayerids to find player IDs.spawnentity 101 zombieJoe
givexp playerid xp amountGives a specified player XPgivexp 101 50
giveselfxp xp amountGives yourself XPgiveselfxp 50
givequest questAssigns a specific quest to the playergivequest quest_tier1
removequestRemoves a quest from the playerremovequest

Admin Commands

CommandDescriptionExample
admin add player id perm levelAdd a player as an admin. Use range of 0-1000 for perms.admin add 101 500
admin remove player idRemoves a player as an adminadmin remove 101
ban add player id time unitBans a player for a specified time.ban add 101 7 day
ban remove player idRemoves a banban remove 101
ban listLists current bansban list
kick player id messageKicks a playerkick 101 bye
kickall messageKick all playerskickall bye
whitelist add player idAdds a player to whitelist. Note: this will enable the whitelist on your server and prevent non-whitelisted users from joining.whitelist add 101
whitelist remove player idRemoves a player from the whitelist.whitelist remove 101
say messageSends a message to all players.say Welcome to the server!
saveworldSaves the current world.saveworld
shutdownShuts down the server.shutdown
cp add command levelAdds a command permission level to a player.cp add command1 1000
cp listLists all command permissions.cp list
cp remove commandRemoves a command permission.cp remove command1
loglevel loglevel name true/falseSets logging level for the server.loglevel INF true
exportcurrentconfigsExports current server configuration.exportcurrentconfigs
exportitemiconsExports icons for items.exportitemicons

Teleportation Commands

CommandDescriptionExample
teleport player idTeleports you to the specified player IDteleport 101
teleport player1 id player2 idTeleports one player to anotherteleport 101 102
teleportplayer player id coordsTeleports a player to specified coordinatesteleportplayer 101 -100 3000

Buff Commands

CommandDescriptionExample
buff buff idApplies a buff to yourselfbuff buffRedTea
debuff buff idRemoves a buff from yourselfdebuff buffRedTea
buffplayer player id buff idBuff a specified playerbuff 101 buffRedTea
debuffplayer player id buff idRemoves buff from a specified playerdebuff 101 buffRedTea
exhaustedA player becomes exhaustedexhausted
thirstyA player becomes thirstythirsty
starveA player becomes starvedstarve

Weather Commands

CommandDescriptionExample
weather weather idChanges the weather to the specified typeweather rain
weatherrandomEnables or disables random weather changesweatherrandom
showcloudsShows cloud coverage or settingsshowclouds

Game Management Commands

CommandDescriptionExample
gamestage player id valueSets the game stage for a playergamestage 101 50
settime day hour minuteSets the current time in the gamesettime 10 12 30
timeShows the current game timetime
gettimeDisplays current game timegettime
settime day/nightSets the current time of day or nightsettime night

Player Management Commands

CommandDescriptionExample
listplayersLists all players connected to the serverlistplayers
listplayeridsDisplays all player IDs on the serverlistplayerids
setplayerstat stat valueSets a player's stat to the specified valuesetplayerstat food 100
settempunit c or fChanges the temperature unitsettempunit f
updatelighton name/player id/steam idUpdates the lighting for a specific playerupdatelighton 101

Creative Mode Commands

CommandDescriptionExample
cmToggles creative modecm
creativemenuOpens the creative menucreativemenu

Entity Management Commands

CommandDescriptionExample
killallKills all entitieskillall
kill player idKills a specified playerkill 101
se or spawnentity playerid entityidSpawns an entity at a player's locationse 101 zombie
spawnscoutsSpawns a group of scout zombiesspawnscouts
spawnwhSpawns a wandering hordespawnwh

Debugging & Development Commands

CommandDescriptionExample
ai pathgridToggles the AI path grid visualizationai pathgrid
ai pathlinesShows AI pathfinding linesai pathlines
aiddebugDisplays AI debugging informationaiddebug
albedo or showalbedoToggles albedo rendering modealbedo
cc or chunkcacheShows chunk cache informationcc
clearClears the console outputclear
deathscreen on/offEnables or disables the death screendeathscreen off
dm or debugmenu on/offEnables or disables the debug menudm on
gfx af 0 or 1Toggles anisotropic filteringgfx af 1
gfx dtiDisplays dynamic terrain informationgfx dti
gfx dtpixDisplays terrain pixel informationgfx dtpix
gg or getgameprefDisplays current game preferencesgg
ggs or getgamestatDisplays current game statsggs
help commandShows help for a specified commandhelp teleport
le or listentsLists all entitiesle
lgs or loggamestate message true/falseLogs the current game statelgs gamestate true
lightsToggles light sourceslights
llp or listlandclaimLists all land claimsllp
memDisplays memory usagemem
memclDisplays client memory usagememcl
norms or shownormalsDisplays normals of objectsnorms
pplistLists player prefabspplist
rcd or repairchunkdensity x z fixRepairs chunk density at specific coordinatesrcd 0 0 fix
sc or showchunkdataDisplays data about game chunkssc
sg or setgamepref preference valueSets a game preferencesg daylightlength 18
sgs or setgamestat stat valueSets a game statsgs kills 500
shownexthordetimeDisplays the time until the next Blood Moon hordeshownexthordetime
sounddebugToggles sound debugging informationsounddebug
spec or showspecularToggles specular highlightsspec
spectrum choiceToggles between different spectrum settingsspectrum 1
staticmapDisplays static map datastaticmap
systeminfoDisplays system informationsysteminfo

List of 7 Days to Die Items

This blog post would've gotten quite long if we were to list all of the items here. That said, there's a great reference available on the 7 Days to Die wiki here: https://7daystodie.fandom.com/wiki/List_of_Items

Frequently Asked Questions About Console Commands for 7 Days to Die

How do I open the console in 7 Days to Die?

To open the console in 7 Days to Die, press the F1 key on your keyboard (by default).

What are the most useful basic console commands for beginners?

Here are some useful basic console commands for beginners in 7 Days to Die:

  • help: Displays all available console commands.
  • give item quantity: Spawns a specified item into your inventory. Example: give wood 100 (gives 100 wood).
  • teleport player name x y z: Teleports a player to specified coordinates.
  • spawnentity player name entity id: Spawns an entity near a player (use this with caution).
  • time set day/hour: Changes the in-game time to the specified day or hour.

How can I back up my server using console commands?

Backing up your server directly using console commands isn't a built-in feature, but you can manually save the state of the server and its world data. Here's a way to do it:

  • saveworld: Use this command in the console to force-save the world data. This will back up the current progress, ensuring all changes are saved on the server.

How to use cheats in 7 Days to Die?

To enable Cheat Mode, which grants access to the Creative Menu, follow these steps:

  • Open the console by pressing F1.
  • Type the command cm and press Enter. This enables Cheat Mode.
  • Press the U key to open the Creative Menu.
  • Press the Q key to enable/disable god mode.
  • Press the H key to enable/disable flying. Use Space to go up and C to go down.

How do I enable developer mode in 7 Days to Die?

To enable Developer Mode, which grants additional tools and commands, follow these steps:

  • Open the console by pressing F1.
  • Type the command dm and press Enter. This enables Developer Mode.