7 Days to Die Console Commands

A reference for the 7 Days to Die console. Press F1 to open it.

Items & Blocks

give

Gives an item to a player. Leave the player out to give it to yourself.

Syntax: give <player name/id> <item id> [count] [quality] [durability%]
give meleeToolRepairT0StoneAxe 1
give gunRifleT3Sniper 1 6
give ammo9mmBulletBall 500
give toshi gunRifleT3Sniper 1 6
creativemenu

Toggles the creative menu. While it is on, U opens a list of every item in the game.

Syntax: creativemenu
creativemenu

Entities & Spawning

spawnentity

Spawns an entity (zombie, animal and so on) right in front of you.

Syntax: spawnentity <entity id>
spawnentity zombieBoe
spawnentity animalBear
spawnentity zombieDemolition
spawnwanderinghorde

Spawns a wandering horde immediately.

Syntax: spawnwanderinghorde
spawnwanderinghorde
spawnairdrop

Calls in a supply air drop immediately.

Syntax: spawnairdrop
spawnairdrop

Player

teleport

Teleports you to the given coordinates.

Syntax: teleport <x> <y> <z>
teleport 1000 80 2000
teleport 0 -1 0
teleportplayer Admin only

Teleports another player to the given coordinates.

Syntax: teleportplayer <player name/id> <x> <y> <z>
teleportplayer toshi 1000 80 2000
buff

Applies a buff (a status effect) to a player.

Syntax: buff <player name/id> <buff id>
buff buffIsOnFire
buff buffCured
debuff

Removes a buff from a player.

Syntax: debuff <player name/id> <buff id>
debuff buffInfection
setlevel Admin only

Sets a player's level.

Syntax: setlevel <player name/id> <level>
setlevel 100
setlevel toshi 50
giveselfskillxp

Gives yourself experience in a skill.

Syntax: giveselfskillxp <skill name> <xp>
giveselfskillxp Mining Tools 10000

World

settime

Sets the in-game time.

Syntax: settime <day> <hour> <minute>
settime 7 12 0
settime 1 6 0
settime day
settime night
weather

Changes the weather.

Syntax: weather <weather>
weather rain
weather snow
weather clear
settempunit

Switches the unit used for temperature.

Syntax: settempunit <C/F>
settempunit C
settempunit F

Server Admin

kick Admin only

Kicks a player off the server.

Syntax: kick <player name/id> [reason]
kick toshi "broke the server rules"
ban Admin only

Bans a player. The unit is minutes, hours, days, weeks, months or years.

Syntax: ban <player name/id> <length> <unit> [reason]
ban toshi 7 days "cheating"
ban toshi 9999 years "permanent"
listplayers Admin only

Lists the connected players with their id, position and health.

Syntax: listplayers / lp
lp
say Admin only

Sends a server message to every player.

Syntax: say <message>
say "Server restarting in 10 minutes"
shutdown Admin only

Shuts the server down.

Syntax: shutdown
shutdown
saveworld Admin only

Saves the world by hand.

Syntax: saveworld / sa
sa

Debug

debugmenu

Toggles the debug menu. While it is on, G opens controls for god mode, flying and more.

Syntax: debugmenu / dm
dm
god

Toggles god mode. Requires debugmenu to be on.

Syntax: god
god
fly

Toggles fly mode. Requires debugmenu to be on.

Syntax: fly
fly
invisible

Toggles invisibility. Zombies stop noticing you.

Syntax: invisible
invisible
killall Admin only

Kills every zombie on the map at once.

Syntax: killall
killall
showgamestats

Shows game statistics such as the entity count and FPS.

Syntax: showgamestats / sgs
sgs