Fandom

7 Days To Die Wiki

Command Console

178pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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)
giveselfskillxp <skill name> 1000

n/a

allows you to increase the specified skill by 1 level (e.g., giveselfskillxp Mining Tools 1000)

kick <playerID> [reason] scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| n/a scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Kicks a player from the game, reason is optional.
killall Kills all entities.
listents scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| le scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Lists all entities currently in game.
listplayers scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| lp scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Lists all players currently in game.
listthreads scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| lt scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Lists all threads.
mem scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| n/a scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Prints memory information and calls garbage collector.
mod add <playerID> <permission level> scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| n/a scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Used to add a player to the moderator list
with the desired permission level.
mod remove <playerID> scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| n/a scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Used to remove a player from the moderator list.
mod update <playerID> <permission level> scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| n/a scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Used to update a players moderator permission level.
say <message> scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| n/a scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Sends a server message to all connected clients.
settempunit <"c" or "f"> scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| n/a scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Sets the temperature unit to Celsius (c) or Fahrenheit (f, default). Added with Alpha 14.
settime scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| st scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| 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 scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| n/a scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Toggles SoundManager debug output.
saveworld scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| sa scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Saves the world manually.
setgamepref scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| sg scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Shows a list of preferences that can be changed using the console.
setgamepref <preference> <value> scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| sg <preference> <value> scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| This will change the chosen preference to value selected.
showchunkdata scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| sc scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Shows some data relating to the current chunk.
shownexthordetime scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| n/a scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Displays the wandering horde time.
shutdown scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| n/a scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Shuts the game down.
spawnairdrop scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| n/a scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Spawns an air drop.
spawnentity scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| se scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Shows a list of entities that can be spawned.
spawnentity <playerID> <entityID> scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| se <playerID> <entityID> scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| This will spawn the chosen entity next to the player selected.
spawnsupplycrate scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| n/a scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Spawns a supply crate above the player
whitelist add <playerID> <permission level> scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| n/a scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Used to add a player to the white list
with the desired permission level.
whitelist remove <playerID> scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| n/a scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Used to remove a player from the white list.
whitelist update <playerID> <permission level> scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: center;"| n/a scope="row" colspan="1 style="padding: 5px; margin: 3px; font-weight: bold; text-align: left;"| Used to update a white listed players permission level.

Also on Fandom

Random Wiki