Home / Docs / Gameserver / 7 Days To Die / Server Befehle

7 Days to Die Server Commands

The most important console and admin commands for your 7 Days to Die server: make admins, kick, ban, save, teleport and use serveradmin.xml correctly.

Quick answer: Enter commands in the panel console or in game in the F1 console. You become admin with admin add <player> 0. help lists all commands of your version, help <command> shows the exact syntax.

Applies to: 7 Days to Die V3.4.0. Commands can change with updates – help always shows the current list.

Where do you enter commands?

  • Panel console: after the start, our panel connects to the server via Telnet. Whatever you type in the console goes straight to the server console – without a slash.
  • In game: press F1 to open the console. Commands only work there if you have the required permission level.
  • External Telnet: port and password are in the panel on the Startkonfiguration (startup) tab.

Becoming admin: admin add and serveradmin.xml

The quickest way: the player is online and you type in the panel console:

lp
admin add <name, entity ID or Steam ID> 0

lp lists the players with their IDs. The number at the end is the permission level: 0 is the highest (full rights), 1000 means no rights. Players who are not listed automatically have 1000.

The server stores permissions in serveradmin.xml in the server's Saves folder. An entry looks like this:

<user platform="Steam" userid="76561198000000000" name="YourName" permission_level="0" />

With cp (command permission) you set from which level a command is allowed, e.g. so that moderators with level 1 may kick.

Managing players

  • listplayers / lp – players online with entity ID, Steam ID and ping.
  • listplayerids / lpi – only the player IDs.
  • kick <player> [reason] – kick a player.
  • kickall [reason] – kick everyone, e.g. before a restart.
  • ban add <player> <duration> <unit> [reason] – ban; units: minutes, hours, days, weeks, months, years.
  • ban remove <player> – lift a ban. ban list shows all bans.
  • whitelist add <player> / whitelist remove <player> / whitelist list – whitelist. As soon as one entry exists, only whitelisted players can join.
  • admin remove <player> – remove admin rights.

Controlling the server

  • say "<text>" – message to all players.
  • saveworld / sa – save the world now.
  • shutdown – shut the server down cleanly (saves first).
  • gettime / gt – current in-game time and day.
  • settime / st – set the in-game time; syntax via help st.
  • weather – show or change the weather; syntax via help weather.
  • mem – memory usage of the server.
  • version – game and mod versions.

Admin and cheat commands

  • debugmenu / dm – toggle debug mode (flying, god mode etc. via the menu).
  • creativemenu / cm – creative menu with all blocks and items.
  • teleportplayer / tele – teleport a player to coordinates or to another player.
  • giveself <item> [quality] [count] – put an item into your own inventory.
  • spawnentity / se – spawn a zombie or animal at a player.
  • spawnairdrop – trigger an airdrop.
  • spawnwanderinghorde – trigger a wandering horde.
  • killall – kill all enemies nearby.

Tips

  • Before a restart: first say, then saveworld, then shutdown – instead of killing the server.
  • Allow cheat commands such as cm and dm only for level 0.
  • After big updates, check with help whether commands have changed.

Servers at NexoraHost: Rent a 7 Days to Die server · Manage: panel.nexorahost.de (Frankfurt · 1 Tbit/s DDoS · 99.9% uptime)

Need a server?

Order Gameserver, VPS or Root in Frankfurt.

To shop