What are the console commands in 7 Days to Die?

By Melany Moncada

|

Jun 17, 2023

Reading time: 6 min

7 Days to Die released its Alpha 21, the largest update to the game since 2021. If you are thinking about hosting a game with your friends, here are all the console commands you must know about.

7 Days to Die is a survival horror game developed by The Fun Pimps. The game has been in early access since 2013 and releases new Alpha versions at semi-regular intervals.

The multiplayer version of the game works with player-hosted servers. One player acts as administrator to the server and determines, among other things, whether it is a cooperative or a competitive game.

7 Days to Die Console Commands 2023

Blog post image

The console is the control center for the admin. From here, the admin can add players, give out quests, and more.

help <command>

Prints help text for supported commands.

admin add <name / entity id / steam id> <permission level>

Used to add a player to the admin list with the desired permission level.

admin remove <name / entity id / steam id>

Used to remove a player from the admin list.

aiddebug

Toggles AIDirector debug output.             

ban add <name / entity id / steam id> <duration> <duration unit> [reason]

Bans a player from the game for <duration> in <duration units> with a reason of [reason] (optional).

ban list

Print a list of banned players with their duration, ID, and reason to the console.   

ban remove <name / entity id / steam id>                         

Remove a ban. Find a list of banned player IDs using “ban list.”

buff <buff name>                          

Applies a buff to the local player (you).

Buff names can be found in 7 Days To Die\Data\Config\buffs.xml

buffplayer <name / entity id / steam id> <buff name>                  

Applies a buff to the selected player.

chunkcache

Shows all loaded chunks in the cache.    

clear                    

Clears all output text in the command console    

cp add <command> <level>                       

Used to add a command to the command permission list with the desired permission level.

cp remove <command>               

Used to remove a command from the command permission list.

cp list                  

Display a list of current command permissions. “1000” is the lowest (Guest or normal player) while “0” is the highest (Host or Admin).

creativemenu

Enables or disables the Creative Menu    

deathscreen <on/off>                  

Display the blood-filled death screen during normal gameplay. This does not hurt or kill the player but it diminishes visibility.              

debuff <buff name>                      

Remove a buff from the local player (you).

debuffplayer <name / entity id / steam id> <buff name>                            

Remove a buff from the targeted player.

debugmenu [on/off]     

Toggles Debug Mode on or off. This allows God mode (G key), the debug menu (ESC), and other unique functionality.       

enablescope <on/off>

Toggle debug scope.       

exhausted                         

Makes the player exhausted.      

exportcurrentconfigs

Exports the currently used configs to %appdata%/7DaystoDie/Saves/<worldname>/<savegamename>/Configs on Windows

Exportitemicons

Exports all item icons to the 7 Days To Die\ItemIcons folder.          

getgamepref     

Prints a list of current game preferences to the console (airdrop frequency, daylight length, etc).      

getgamestat

Prints a list of current game stats to the console (land claim size, difficulty, etc)    

gettime gt           

Prints current number of days and time.

gfx af <0 or 1>                 

Sets the anisotropic filtering to off(0) or on(1, default).

gfx dti                 

Set distant terrain instancing.

gfx dtpix

Set distant terrain pixel error.

givequest

Give yourself a quest. Quest names can be found in 7 Days To Die\Data\Config\quests.xml.

giveself <item name> [quality level]

Drops an item at your feet with maximum (600) quality. Use the optional [quality level] to specify. Item names can be found in 7 Days To Die\Data\Config\items.xml

giveselfskillxp <skill name> <amount>

Increase the specified skill by <amount> of experience. The <skill name> MUST be capitalized and spaced correctly.

giveselfxp <amount>

Increase your experience by <amount>.

kick <name / entity id / steam id> [reason]                       

Kicks a player from the game.

kickall [reason]               

Kicks all players from the game. [reason] is optional.

killall                    

Kills all players and entities.        

lights

Toggles display of an outline around all light-emitting objects (candles, campfires, etc.)

listents

Lists all entities currently in game (zombies, players, animals).      

listlandclaim      

Lists all active Land Claim Blocks with player name, world ID, SteamID, LCB’s current health state, and coordinates.   

listplayerids       

Lists all players and their IDs.      

listplayers

Lists all players with IDs, positions, health, stats, IP address, etc. 

listthreads

Lists all threads.

loggamestate <message> [true/false]

Writes information on the current state of the game (memory usage, entities, threads, etc) to the log file at 7 Days To Die\7DaysToDie_Data\output_log.txt.

loglevel <loglevel name> <true/false>                  

Telnet/web only. Select which types of log messages are shown on the connection. By default, all log messages are printed on every connection. Log levels: INF, WRN, ERR, EXC, or ALL.

mem

Prints memory information and calls garbage collector.   

memcl

Prints memory information on client and calls garbage collector. 

pplist                   

Prints Persistent Player data.      

removequest                   

Removes a quest. Quest names can be found in 7 Days To Die\Data\Config\quests.xml.     

repairchunkdensity <x> <z> [fix]

Used to check if the densities of blocks in a chunk match the actual block type.

saveworld

Manually saves the world.           

say <message>                

Sends a server message to all connected clients.

setgamepref <preference name> <value>

Sets a gamepref. Preference names can be viewed with the “gg” command (getgamepref).

setgamestat <stat name> <value>

Sets a gamestat. Stat names can be viewed with the “ggs” command (getgamestat).

settempunit <c or f>

Sets the temperature unit to Celsius (c) or Fahrenheit (f, default).              

Blog post image

settime day

settime night

settime <time>

settime <day> <hour> <minute>

Sets the current game time. <time> is in the 24h/military format. This command should be used after saving the game since it can break the game if used incorrectly.

showalbedo

Toggles display of albedo in gBuffer.         

showchunkdata

Shows some data of the current chunk.  

showclouds

Artist command to show one layer of clouds.       

shownexthordetime

Displays the wandering horde time.        

shownormals

Toggles display of normal maps in gBuffer.            

showspecular

Toggles display of specular values in gBuffer.        

shutdown

Shuts the game down.   

sounddebug

Toggles SoundManager debug output.    

spawnairdrop

Spawns an air drop.        

spawnentity <playerID> <entityID>

spawnscouts                    

Spawns 1 Screamer in the distance and makes it navigate towards the location where the command was used.      

spawnscreen

Displays spawn screen.  

spawnsupplycrate

Spawns a supply crate above the player. 

spawnwh

Spawns a wandering horde in the distance; these hordes will move generally towards the player’s location when they were spawned (but not GPS at the player.)

spectrum <choice>                       

Force a lighting spectrum. Choices are Biome, BloodMoon, Foggy, Rainy, Stormy, Snowy.

starve

Makes the player hungry.             

staticmap

Switches the Navazgane map between static and dynamic             

switchview

Switches the player view between 1st person and 3rd person views.

systeminfo                        

Print info about the current system (CPU, operating system, etc).

teleport <E / W> [y] <N / S>

teleport <E / W> <N / S>

teleport <target player name/steam id/entity id>

Teleport the local player (you) to specified location.

teleportplayer <name / player id / steam id> <E / W> <y> <N / S>

teleportplayer <player id> <player id>

Teleport the target player to specified location.

tele <friend> <self>

Teleport a friend to you.

Blog post image

thirsty

Makes the player thirsty.              

traderarea                        

If a player is within a trader area they will be forced out but can reenter unless trader is closed.              

updatelighton <name / player id / steam id>                    

version

Print the version of the game and loaded mods. 

water

Control water settings. Type “help water” for more info. 

weather

Control weather settings. Type “help weather” for more info.       

weathersurvival <on / off>

Toggles weather survival.             

whitelist add <name / player id / steam id>                      

Adds a player to the whitelist.    

whitelist remove <name / player id / steam id>               

Removes a player from the white list.     

whitelist list

Prints a list of all whitelisted players.

Tags

Reviews

Stake

Recommended