You will need to add yourself as an admin to your server before using these commands, please follow this guide if you have not already: https://pingperfect.com/index.php/knowledgebase/63/7-Days-to-Die--Adding-an-in-game-admin.html
Usage
There are different keys that can be used to open the Command Console which are:
-
press F1 for US and EU keyboards.
-
press " for US keyboards.
-
press @ for EU keyboards.
-
press Ö/Ø/F2 for Scandinavian keyboards.
-
press Ñ for spanish keyboards.
Command List
Current list taken from Alpha 15. Commands are as listed by typing "help" into the console.
giveself | giveself [item id] [quality level (1-6)] | This console command will spawn the item with the specified item ID in front of your character. You can optionally specify a quality level for the spawned item. Find a list of all item IDs at commands.gg/7dtd/items. |
buff | buff [buff id] | This console command gives you the specified buff. Use buffplayer to give a buff to another player. |
debuff | debuff [buff id] | This admin command removes the buff with the specified ID from you. Use debuffplayer to remove a buff from another player. |
buffplayer | buffplayer [steam id / player name / entity id] [buff id] | This command will add the buff with the specified ID to the player you specify. You can specify a player by their Steam ID, name, or entity ID. |
debuffplayer | debuffplayer [steam id / player name / entity id] [buff id] | This console command will remove the specified buff from the specified player or entity. |
switchview | switchview | This command toggles first/third person mode - i.e. if you are in first person mode when you type this command, you'll be switched to third person (and vice versa). |
systeminfo | systeminfo | This command will print to the console information about the computer you are using to play 7 Days to Die. The information is technical information like your computer's hardware, operating system, etc. |
debugmenu | debugmenu | This command enables ('debugmenu on') and disables ('debugmenu off') Debug Mode. In Debug Mode, you can enable god mode by pressing the G key on your keyboard, and access the debug menu by pressing ESC. |
exhausted | exhausted | This cheat will make your character exhausted. |
giveselfxp | giveselfxp [xp amount] | This cheat code will give you the specified amount of XP. |
creativemenu | creativemenu | This cheat toggles (enables and disables) the Creative Menu. With this command turned on, you can access the Creative Menu by pressing the U key. |
spawnsupplycrate | spawnsupplycrate | This console command will spawn a Supply Crate at your current location. |
admin | admin ['add' / 'remove' / 'list'] [steam id / player name / entity id] [permission level] | This admin command will add or remove a player from the admin list. When adding a player to the admin list, you need to specify a permission level. A permission level is a number between 0 and 1000 that determines what permissions a player has - 1000 is the lowest (no permissions) and 0 is the highest (full admin permissions). By default, commands like admin, and shutdown require a permission level of 0 to use - and kick, and ban require a permission level of 1. Use the 'cp list' command to see what commands are assigned to each permission level. |
kick | kick [steam id / player name / entity id] ["kick message"] | This admin command will kick the player with the specified name, Steam ID, or entity ID from the server with an optional kick message. Note that kicking isn't the same as banning - this will disconnect the player from the server, but they will be able to reconnect. |
kickall | kickall ["kick message"] | This admin command will kick all players from the server with an optional kick message (that will be shown to them when they are disconnected). |
whitelist | whitelist ['add' / 'remove' / 'list'] [steam id / player name / entity id] | This admin command will add a player to the whitelist, remove a player from the whitelist, or list all players on the whitelist. The whitelist is a list of players who are allowed to connect to the server. The whitelist is disabled if no players are on the whitelist, but if there is at least one player on the whitelist it is enabled - i.e. to enable the whitelist, simply add a player to it; to disable the whitelist, remove all players from it. |
ban | ban ['add' / 'remove' / 'list'] [steam id / player name / entity id] [duration + duration unit] ["message"] | This admin command can be used to list all banned players, or ban/unban a specified player. When banning a player, you need to specify a duration (see duration argument information for help). You can optionally specify a ban message (reason) when banning a player. |
killall | killall | This console command will, as you might've guessed from the name, kill every player on the server. It will also kill all zombies/entities. |
teleport | teleport [steam id / player name / entity id] [x y z] [offset x y z] [view direction] | This console command can be used to teleport your character to a desired location. You can do one of the following: teleport to another player, teleport to a set of coordinates, or move yourself a set amount of coordinates left/right/up/down/forward/backwards (offset). See argument information for more help. |
teleportplayer | teleportplayer [steam id / player name / entity id] [steam id / player name / entity id] [x y z] [view direction] | This console command can be used to teleport another player to a location. Using this command, you can do one of these three things: teleport a player to another player, teleport a player to a set of coordinates, or move a player a set amount of coordinates in any direction(s) (offset). |
showclouds | showclouds [texture file name] | This console command will set your game's clouds to the specified cloud texture. The cloud texture should be located in resources/textures/environment/spectrums/default. Typing this command with any arguments will restore cloud textures to default. |
repairchunkdensity | repairchunkdensity [x z] ['fix'] | This command will check for mismatches within a chunk (specified by coordinates). If you specify 'fix' (without quotes) at the end of this command, the game will attempt to repair any mismatches found within the specified chunk. |
weather | weather [weather setting] | This command changes the world's weather to the weather you specify. |
weathersurvival | weathersurvival ['on' / 'off'] | This command will enable ('on') or disable ('off') weather disable for your game. |
spawnentity | spawnentity [player id] [entity id] | This command will spawn an entity specified by its entity ID (at the location of the player with the player ID specified). Typing this command without any arguments ('spawnentity' on its own) will print a list of all entity IDs. Use 'listplayerids' to print a list of all player IDs. |
spawnwanderinghorde | spawnwanderinghorde | This command will spawn a wandering horde of zombies. |
givequest | givequest [quest id] | This cheat will give yourself the quest with the specified quest ID. |
removequest | removequest [quest id] | This cheat will remove the quest with the specified quest ID from you. |
say | say ["message"] | This command will send a message in chat to all players connected to the server (under the chat name "Server"). |
cp | cp ['add' / 'remove' / 'list'] [command] [0 - 1000] | This command can be used to list, remove, add, and change permission levels for different commands. A permission level is a number between 0 and 1000 that determines what permissions a player has - 1000 is the lowest (no permissions) and 0 is the highest (full admin permissions). By default, commands like admin, and shutdown require a permission level of 0 to use - and kick, and ban require a permission level of 1. Use 'cp list' to see a list of all permission levels - if a command doesn't have a permission level set, it requires max permissions (0) to use. See argument information for help adding/removing/changing permissions. Player permission levels can be changed with the admin command - all players by default have a permission level of 1000. |
listplayers | listplayers | This command will print out a list of all players connected to the server with the following information: entity ID, name, coordinates, rotation, whether they are local or remote, health, deaths, zombies they've killed, player's they've killed, score, level, steam ID, IP, and ping. |
version | version | This admin command will print the version of the game you are running, along with any mods you have installed. |
water limit | water limit [amount] | This command can be used to limit how many water flow updates can run at a time. |
thirsty | thirsty | This console command will make you thirsty. |
spectrum | spectrum [spectrum id] | This console command will set the game's lighting spectrum (how the sky looks and what light it produces) to the specified spectrum. |
gettime | gettime | This command will tell you the current game time, including the date and the day that it is in your game. |
spawnscouts | spawnscouts [steam id / player name / entity id] [x y z] | This console command will spawn scouting zombies. To spawn the zombies near you, use the command 'spawnscouts' on its own. To spawn near another player specify their steam ID, entity ID, or name. You can also spawn the zombies at specified X Y Z coordinates. |
listents | listents | This admin command will list all entities currently in the game. Entities include players, zombies, and other living things. Similar to the listplayers command with regard to the information that it provides (e.g. health, etc). |
shutdown | shutdown | This admin command will shut the game down. |
spawnairdrop | spawnairdrop | This command will spawn an air drop - note that this won't necessarily be at your current location (it can be anywhere in the map). |
staticmap | staticmap | This console command will switch your map between static and dynamic mode when playing on the Navezgane map. |
listplayerids | listplayerids | This command will list all players connected to the server, along with their entity IDs. |
setgamestat | setgamestat [game stat] [value] | This command will set the specified game stat to the specified value. Use getgamestat for a list of all game stats. |
getgamestat | getgamestat [string] | This command will print a list of all game stats, or if you specify a search term, game stats containing that term. |
setgamepref | setgamepref [game preference] [value] | This console command sets the specified game preference to the specified value. |
getgamepref | getgamepref [string] | This command prints a list of all game preferences to the console. You can optionally specify a search term to only show game preferences containing that string. |
starve | starve | This command will make you starve. |
settempunit | settempunit [c / f] | This command can be used to change the temperature unit used by the game to Celsius ('C') or Fahrenheit ('F'). |
memcl | memcl | This command will print memory (RAM) information about the CLIENT to the console, including free memory, the heap size, and more. It will also call the garbage collector to try to free up RAM. |
mem | mem | This command will print memory (RAM) information about the SERVER to the console, including free memory, the heap size, and more. It will also call the garbage collector to try to free up RAM. |
traderarea | traderarea | This command will print a list of all Trader Areas in the game, including their coordinates. |
exportitemicons | exportitemicons | This command will export all item icons for 7DTD as PNGs and save them in the ItemIcons folder. |
lights | lights | This command will enable and disable (toggle) light debug mode. The regions that most sources of light affect will be colored green. |
shownexthordetime | shownexthordetime | This command will show you the wandering horde time. |
pplist | pplist | This command will print a list of all PersistentPlayer data. |
clear | clear | This command will clear all messages and text from the console. |
listthreads | listthreads | This console command lists all threads that the game is currently using. |
spawnscreen | spawnscreen | This command will play the spawn screen effect (i.e. blur your screen and lower the constrast). |
showalbedo | showalbedo | This command enables and disables (toggles) the display of albedo in gBuffer. |
settime | settime ['day' / 'night'] [0-24000] [d hh mm] | This console command sets the time in the game. You can use this to set the time to: night, day, or to a specific day/time (e.g. day 3, 14:43). |
help | help [command] | This command prints a list of all console commands to the console. If you specify a command as an argument, it will print help for that specifiy command. |
sounddebug | sounddebug | This command enables and disables (toggles) SoundManager debug output. |
shownormals | shownormals | This command enables and disables (toggles) the display of normal maps in gBuffer. |
loggamestate | loggamestate [header] [true / false] | This command will log client (true) or server (false) information about the game to the 7DaysToDie_Data\output_log.txt file with the specified header. |
chunkcache | chunkcache | This console command will display all of the chunks that are loaded in the cache. |
loglevel | loglevel [log level] [true / false] | This command will enable or disable log messages for the specified log level. This command can be used to hide log messages that are info, but show log messages that are errors. |
saveworld | saveworld | This command will force a save of your current world. |
showchunkdata | showchunkdata | This console command will print information about the chunk you are currently standing in - e.g. memory used, entities within, etc. |
aiddebug | aiddebug | This command enables and disables (toggles) AIDirector debug output. |
showspecular | showspecular | This command will enable or disable (toggle) the display of specular values in gBuffer. |
Looking for a game server host known for brilliant 24/7 customer support and quality hardware?
Try a Pingperfect 7 Days to Die server today! https://pingperfect.com/gameservers/7-days-to-die-server-hosting-rental