Wikia

7 Days To Die Wiki

Command Console

120pages on
this wiki
Talk0

Description

The Command Console is a debugging tool primarily used for game development but players can use it to change game settins, access player statistics, ban or kick disruptive players if necessary and even control time.

Usage

  • There are two different keys that can be used to open the Command Console these are as follows:

Key 1

  • press ~ for US keyboards.
  • press 0 for EU keyboards.
  • To dispel any confusion, regardless of the keyboard layout, it is the key directly to the left of the 1 key.

Key 2

  • press " for US keyboards.
  • press @ for EU keyboards.
  • press Ö/Ø for Scandinavian keyboards.

Console Commands

Entering codes

  • Be careful when entering a code, each one is case sensitive; "a" is not the same as "A".
  • Short-cuts are made up of only two letters and can be used in place of the full command. Not all commands have a short-cut. For example, Creative Mode on/of is 'cm'.
  • Command arguments presented in [square braces] are optional, however commands using <pointed braces> are not.
  • Command "settime" is prone to CTD during gameplay if value entered is 0.

Command List

Current list taken from Alpha 8.8 with fixes for v11.3+. Commands are as listed by typing help into the command line.

Command Short Cut Effect
help [command] n/a Shows help for each representive command.
help ban
admin add <playerID> <permission level> n/a Used to add a player to the admin list
with the desired permission level.
admin remove <playerID> n/a Used to remove a player from the admin list.
admin update <playerID> <permission level> n/a Used to update a players admin permission level.
aiddebug n/a Toggles AIDirector debug output.
ban <playerID> <timeframe> n/a Bans a player from the game for the timeframe selected,
allowed timeframes are minutes, hours, days, weeks, months, and years.
e.g "ban 175 10 hours" would apply a 10 hour ban to the playerID 175.
ban <add | del | list> <playerID> <number of> <minutes | hours | days> n/a Updated for Alpha 14
chunkcache cc Shows all loaded chunks in the cache.
clear n/a clears the command console
cm n/a enables or disables creative mode (U key)
cp add <permission level> n/a Used to add a command to the command permission list,
with the desired permission level.
cp remove <command> n/a Used to remove a command from the command permission list.
cp update <command> <permission level> n/a Used to update a commands permission level.
debugmenu [on/off] dm Toggles debug menu on or off (for developers).
enablescope <on/off> es Toggle debug scope.
gameover go Set the games state to GameOver.
giveself <item name> [quality level] n/a allows you to give yourself the specified item using the specified quality level (e.g., giveself blunderbuss 876)
kick <playerID> [reason] n/a Kicks a player from the game, reason is optional.
killall Kills all entities.
listents le Lists all entities currently in game.
listplayers lp Lists all players currently in game.
listthreads lt Lists all threads.
mem n/a Prints memory information and calls garbage collector.
mod add <playerID> <permission level> n/a Used to add a player to the moderator list
with the desired permission level.
mod remove <playerID> n/a Used to remove a player from the moderator list.
mod update <playerID> <permission level> n/a Used to update a players moderator permission level.
say <message> n/a Sends a server message to all connected clients.
settempunit <"c" or "f"> n/a Sets the temperature unit to Celsius (c) or Fahrenheit (f, default). Added with Alpha 14.
settime st Sets the current world time.
Hour notation is military time * 1000 (1000 = 1 hour).
eg. 0 = Day 1, 8h; 8000 = Day 1, 16h; 16000 = Day 2, 0h; 24000 = Day 2, 08h
sounddebug n/a Toggles SoundManager debug output.
saveworld sa Saves the world manually.
setgamepref sg Shows a list of preferences that can be changed using the console.
setgamepref <preference> <value> sg <preference> <value> This will change the chosen preference to value selected.
showchunkdata sc Shows some data relating to the current chunk.
shownexthordetime n/a Displays the wandering horde time.
shutdown n/a Shuts the game down.
spawnairdrop n/a Spawns an air drop.
spawnentity se Shows a list of entities that can be spawned.
spawnentity <playerID> <entityID> se <playerID> <entityID> This will spawn the chosen entity next to the player selected.
spawnsupplycrate n/a Spawns a supply crate above the player
whitelist add <playerID> <permission level> n/a Used to add a player to the white list
with the desired permission level.
whitelist remove <playerID> n/a Used to remove a player from the white list.
whitelist update <playerID> <permission level> n/a Used to update a white listed players permission level.

Around Wikia's network

Random Wiki