Posted on May 11, 2024 in General
7 Days to Die Console Commands and Usage
by Clay B.
7 Days to Die is a popular survival horror game known for its open-world and crafting mechanisms. Battling waves of the undead can be a tiring experience if you aren't equipped with the right tools for the job. From spawning items to changing the game's time of day, console commands offer quite a great deal of control. In this guide, we'll show you how to use console commands and provide you with a full list. This guide is updated and current for Alpha 21.
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.
List of 7 Days to Die Console Commands
We've categorized the commands below based on the type of command.
Spawning & XP Commands
Command |
Description |
Example |
giveself [item id] [quality 1-6] |
Give yourself the specified item with a quality level. See below for item IDs. |
giveself gunPistol 6 |
spawnsupplycrate |
Spawn a supply crate at your current position |
spawnsupplycrate |
spawnairdrop |
Spawn an airdrop at your current position |
spawnairdrop |
spawnentity [player id] [entity id] |
Spawns an entity at the specified player's position. Use listplayerids to find player IDs |
spawnentity 101 zombieJoe |
givexp [playerid] [xp amount] |
Gives a specified player XP |
givexp 101 50 |
giveselfxp [xp amount] |
Gives yourself XP |
giveselfxp 50 |
Admin Commands
Command |
Description |
Example |
admin add [player id] [perm level] |
Add a player as an admin. Use range of 0-1000 for perms. |
admin add 101 500 |
admin remove [player id] |
Removes a player as an admin |
admin remove 101 |
ban add [player id] [time] [unit] |
Bans a player for a specified time. |
ban add 101 7 day |
ban remove [player id] |
Removes a ban |
ban remove 101 |
ban list |
Lists current bans |
ban list |
kick [player id] [message] |
Kicks a player |
kick 101 bye |
kickall [message] |
Kick all players |
kickall bye |
whitelist add [player id] |
Adds 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 id] |
Removes a player from the whitelist. |
whitelist remove 101 |
say [message] |
Sends a message to all players. |
say Welcome to the server! |
saveworld |
Saves the current world. |
saveworld |
shutdown |
Shuts down the server. |
shutdown |
Teleportation Commands
Command |
Description |
Example |
teleport [player id] |
Teleports you to the specified player ID |
teleport 101 |
teleport [player1 id] [player2 id] |
Teleports one player to another |
teleport 101 102 |
teleportplayer [player id] [coords] |
Teleports a player to specified coordinates |
teleportplayer 101 -100 3000 |
Buff Commands
Command |
Description |
Example |
buff [buff id] |
Applies a buff to yourself |
buff buffRedTea |
debuff [buff id] |
Removes a buff from yourself |
debuff buffRedTea |
buffplayer [player id] [buff id] |
Buff a specified player |
buff 101 buffRedTea |
debuffplayer [player id] [buff id] |
Removes buff from a specified player |
debuff 101 buffRedTea |
Weather Commands
Command |
Description |
Example |
weather [weather id] |
Changes the weather to the specified type. |
weather rain |
weatherrandom |
Enables or disables random weather changes. |
weatherrandom |
Game Management Commands
Command |
Description |
Example |
gamestage [player id] [value] |
Sets the game stage for a player. |
gamestage 101 50 |
settime [day] [hour] [minute] |
Sets the current time in the game. |
settime 10 12 30 |
time |
Shows the current game time. |
time |
Player Management Commands
Command |
Description |
Example |
listplayers |
Lists all players connected to the server. |
listplayers |
setplayerstat [stat] [value] |
Sets a player’s stat to the specified value. |
setplayerstat food 100 |
Creative Mode Commands
Command |
Description |
Example |
cm |
Toggles creative mode. |
cm |
creativemenu |
Opens the creative menu. |
creativemenu |
Entity Management Commands
Command |
Description |
Example |
killall |
Kills all entities. |
killall |
kill [player id] |
Kills a specified player. |
kill 101 |
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