Skip to content
Back to Homepage

7 Days to Die Console Commands

The console lets you manage players, change game settings, spawn items and troubleshoot your world. This guide covers the most useful commands, grouped by what they do, with examples you can copy.

  • In game: press F1 (or the “ key on US keyboards).
  • On a dedicated server: use your server’s console or a Telnet connection.

Some commands only work for admins, and a few only work in Debug Mode. Where this matters, it is noted below.

Tip: Many commands need a player ID. Type lpi (listplayerids) to see the entity ID, player name and Steam ID of everyone online. Any of the three can be used in commands.

Shortcut Full command
lp listplayers
lpi listplayerids
llp listlandclaim
le listents
gt gettime
gg getgamepref
ggs getgamestat
sg setgamepref
sgs setgamestat
st settime
se spawnentity
tp teleport
tele teleportplayer
sa saveworld
dm debugmenu
cm creativemenu
Command What it does Example
help <command> Shows help text for a command. help ban
clear Clears all text from the console. clear
version Shows the game version and loaded mods. version

Permission levels run from 0 (highest, full admin) to 1000 (lowest, normal player).

Command What it does Example
admin add <name / entity id / steam id> <level> Adds a player to the admin list at the chosen permission level. admin add 171 0
admin remove <name / entity id / steam id> Removes a player from the admin list. admin remove 171
cp add <command> <level> Sets the permission level needed to use a command. cp add gettime 0
cp remove <command> Removes a command from the permission list. cp remove gettime
cp list Lists current command permissions. cp list
Command What it does Example
listplayers (lp) Lists all players with IDs, positions, health, stats and IP addresses. lp
listplayerids (lpi) Lists all players and their IDs. lpi
kick <name / entity id / steam id> [reason] Kicks a player. The reason is optional. kick 171 bye
kickall [reason] Kicks every player. The reason is optional. kickall restarting
ban add <name / entity id / steam id> <duration> <unit> [reason] Bans a player. Units are minutes, hours, days, weeks, months and years. ban 171 10 hours griefing
ban list Shows banned players with duration, ID and reason. ban list
ban remove <name / entity id / steam id> Removes a ban. ban remove 171
whitelist add <name / player id / steam id> Adds a player to the whitelist. whitelist add 171
whitelist remove <name / player id / steam id> Removes a player from the whitelist. whitelist remove 171
whitelist list Lists all whitelisted players. whitelist list
killall Kills all players and entities. Use with care. killall

South and West coordinates are negative, so put a minus sign before the number. Use -1 for the height (y) to land on the ground.

Command What it does Example
teleport <E/W> [y] <N/S> Teleports you to coordinates. Leave out y to always land on the ground. tp -200 77 300 or tp -200 300
teleport <player> Teleports you to another player. tp 171
teleport offset <E/W> <y> <N/S> Moves you relative to your current position. tp offset 3 1 0
teleportplayer <player> <E/W> <y> <N/S> Teleports another player to coordinates. tele 171 -200 77 300
teleportplayer <player> <player> Teleports one player to another. The first player moves to the second. tele 171 365

For more detail, type help tp or help tele.

Command What it does Example
giveself <item name> [quality] Drops an item at your feet. Quality defaults to the maximum (600). Item names are in Data\Config\items.xml. giveself machete
giveselfxp <amount> Gives you experience. giveselfxp 1000
giveselfskillxp <skill name> <amount> Adds experience to one skill. The skill name must be capitalized and spaced correctly. giveselfskillxp Mining Tools 1000
givequest <quest name> Gives you a quest. Names are in Data\Config\quests.xml. givequest quest_BasicSurvival8
removequest <quest name> Removes a quest. removequest quest_BasicSurvival8

Buff names are listed in Data\Config\buffs.xml.

Command What it does Example
buff <buff name> Applies a buff to yourself. buff CoffeeStaminaBoost
buffplayer <player> <buff name> Applies a buff to another player. buffplayer 171 CoffeeStaminaBoost
debuff <buff name> Removes a buff from yourself. debuff buffLegBroken
debuffplayer <player> <buff name> Removes a buff from another player. debuffplayer 171 buffLegBroken
starve Makes you hungry. starve
thirsty Makes you thirsty. thirsty
exhausted Makes you exhausted. exhausted
Command What it does Example
gettime (gt) Shows the current day and time. gt
settime day / settime night Jumps to day or night. settime night
settime <time> Sets the time using the 24-hour format (1 pm is 1300). settime 1300
settime <day> <hour> <minute> Sets the day, hour and minute. settime 6 15 0
saveworld (sa) Saves the world manually. sa
shownexthordetime Shows the wandering horde time. shownexthordetime
weather Controls weather settings. Type help weather for options. help weather
water Controls water settings. Type help water for options. help water
weathersurvival <on/off> Turns weather survival on or off. weathersurvival off
settempunit <c or f> Sets the temperature unit to Celsius or Fahrenheit (default). settempunit c
staticmap Switches the Navazgane map between static and dynamic. staticmap

Warning: settime can break timers in your save game, including quests, traders and horde nights. Save your world and make a backup before using it.

Command What it does Example
getgamepref (gg) Lists current game preferences, such as airdrop frequency and daylight length. gg
setgamepref <name> <value> (sg) Changes a game preference. Names come from gg. sg ZombiesRun 0
getgamestat (ggs) Lists current game stats, such as land claim size and difficulty. ggs
setgamestat <name> <value> (sgs) Changes a game stat. Names come from ggs. sgs LandClaimExpiryTime 10
say <message> Sends a message to all connected players. say Restart in 5 minutes
shutdown Shuts the game down. shutdown
Command What it does Example
spawnentity <playerID> <entityID> (se) Spawns an entity near a player. Type se on its own to list entity IDs. se
spawnairdrop Spawns an air drop. spawnairdrop
spawnsupplycrate Spawns a supply crate above you. spawnsupplycrate
spawnscouts Spawns a Screamer in the distance that heads toward your location. spawnscouts
spawnwh Spawns a wandering horde in the distance. They move toward your general area but do not track you exactly. spawnwh
Command What it does Example
listlandclaim (llp) Lists all land claim blocks with owner, health state and coordinates. llp
listents (le) Lists all entities in the game, including zombies, animals and players. le
traderarea Pushes players out of trader areas. They can re-enter unless the trader is closed. traderarea
Command What it does Example
debugmenu [on/off] (dm) Toggles Debug Mode, which enables God mode (G key), the debug menu (Esc) and other tools. dm on
creativemenu (cm) Turns the Creative Menu on or off. cm
switchview (sv) Switches between first and third person. sv
deathscreen <on/off> Shows the blood-filled death screen. It does not hurt you but reduces visibility. deathscreen off
lights Toggles an outline around light-emitting objects. lights
Command What it does Example
systeminfo Shows CPU, operating system and other system details. systeminfo
mem Shows memory information and runs the garbage collector. mem
memcl Same as mem, but on the client. memcl
listthreads (lt) Lists all threads. lt
chunkcache (cc) Shows all loaded chunks in the cache. cc
showchunkdata (sc) Shows data for the chunk you are in. sc
pplist Prints persistent player data. pplist
loggamestate <message> [true/false] (lgs) Writes the game state (memory, entities, threads) to the log file. true runs it on the client, false (default) on the server. loggamestate START
loglevel <level> <true/false> Telnet and web only. Chooses which log messages show on your connection. Levels are INF, WRN, ERR, EXC and ALL. loglevel INF false
repairchunkdensity <x> <z> [fix] (rcd) Checks a chunk for block density mismatches that cause rendering errors. Add fix to repair them. rcd 0 100 fix
exportcurrentconfigs Exports the configs currently in use. Useful for mod development. exportcurrentconfigs
exportitemicons Exports all item icons to the ItemIcons folder. exportitemicons

Note: If a chunk looks broken or fails to render, with an error like “Failed setting triangles”, run rcd on it without fix first. Add fix only once you have confirmed there is a mismatch.

  • Back up first. Save your world and take a backup before using commands like settime, killall or setgamestat.
  • Use IDs, not names. Player names can contain spaces or special characters. Entity IDs and Steam IDs are more reliable.
  • Limit admin rights. Give permission level 0 only to people you fully trust.
  • Test in a copy. Try unfamiliar commands on a test world before using them on your main save.

If a command does not behave as expected, check that you have the right permission level and that you typed the player ID or name correctly. If you are still stuck, contact the AleForge support team and tell us the command you used and any error message shown.