Skip to content
/SLASHPLAY

7 Days to Die console commands

The 70 settings and 43 commands server owners use, with defaults and examples to copy.

113 commands

  1. serveradmin.xml

    The file of admins, bans, whitelist and command permission levels. On SLASHPLAY: UserData/Saves/serveradmin.xml.

    Default Not listed

    Admin tools and security

  2. admin

    Adds, removes or lists admins and their permission levels. Level 0 is full admin; 1000 is a normal player.

    Command

    Admin commands

  3. ban

    Bans a player for a set time, removes a ban, or lists bans.

    Command

    Admin commands

  4. kick

    Kicks a player off the server, with an optional reason.

    Command

    Admin commands

  5. teleportplayer

    Teleports a player to coordinates or to another player.

    Command

    Player commands

  6. give

    Drops an item in front of a player, with an amount and an optional quality.

    Command

    Player commands

  7. settime

    Sets the game time: to a day, hour and minute, to a raw value, or to day or night.

    Command

    World commands

  8. spawnwandering

    Spawns wandering entities: h for a horde, b for bandits.

    Command

    World commands

  9. debugmenu

    Turns the debug menu on or off for you.

    Command

    Player commands

  10. SandboxCode

    A code holding the world's sandbox options: difficulty, day length, blood moons, loot, XP and more. Default is Adventurer.

    Default AAAJABJACJADJARFBNC

    World and rules

  11. ServerMaxPlayerCount

    The most players on the server at once. Default 8.

    Default 8

    Server and network

  12. PlayerKillingMode

    Who players can kill: 0 no one, 1 allies only, 2 strangers only, 3 everyone. Default 3.

    Default 3 (Kill everyone)

    World and rules

  13. LandClaimSize

    The size in blocks of the area a land claim protects. Default 41.

    Default 41

    Land claims

  14. MaxSpawnedZombies

    The most zombies alive across the whole world. Default 64.

    Default 64

    Performance

  15. EACEnabled

    Turns EasyAntiCheat on.

    Default true

    Admin tools and security

  16. commandpermission

    Sets, removes or lists the permission level a command needs. Commands not listed need level 0.

    Command

    Admin commands

  17. help

    Lists the console commands, searches them, or shows the help for one command.

    Command

    Admin commands

  18. kickall

    Kicks every player off the server, with an optional reason.

    Command

    Admin commands

  19. listplayerids

    Lists every player in the game with the IDs other commands take.

    Command

    Admin commands

  20. listplayers

    Lists the players online with their entity ID, position, health, deaths, kills, level and platform ID.

    Command

    Admin commands

  21. saveworld

    Saves the world now.

    Command

    Admin commands

  22. say

    Sends a message to every player on the server.

    Command

    Admin commands

  23. shutdown

    Shuts the server down.

    Command

    Admin commands

  24. version

    Shows the version of the game the server runs, and its loaded mods.

    Command

    Admin commands

  25. whitelist

    Adds, removes or lists whitelist entries. With one entry on the list, only listed players and admins can join.

    Command

    Admin commands

  26. buffplayer

    Applies a buff to a player.

    Command

    Player commands

  27. creativemenu

    Turns the creative menu on or off for you.

    Command

    Player commands

  28. debuffplayer

    Removes a buff from a player.

    Command

    Player commands

  29. gamestage

    Shows your gamestage and how it is worked out.

    Command

    Player commands

  30. giveself

    Gives yourself an item, with optional quality, count, and whether it goes straight to your inventory.

    Command

    Player commands

  31. giveselfxp

    Gives yourself experience points; add 1 to apply XP bonuses.

    Command

    Player commands

  32. givexp

    Gives a player experience points.

    Command

    Player commands

  33. kill

    Kills an entity by ID, or a player by name or Steam ID.

    Command

    Player commands

  34. listitems

    Lists item names that contain some text, or all of them with *.

    Command

    Player commands

  35. spectator

    Turns spectator mode on or off for you.

    Command

    Player commands

  36. teleport

    Teleports you to coordinates, to a player, or by an offset from where you are.

    Command

    Player commands

  37. chunkreset

    Rebuilds the chunks in a coordinate range, or the POI or chunks around you.

    Command

    World commands

  38. getgamepref

    Shows all game preferences, or those matching some text.

    Command

    World commands

  39. getsandboxoptions

    Shows the running world's sandbox options and code; add true to show every option, not only changed ones.

    Command

    World commands

  40. gettime

    Shows the current game day and time.

    Command

    World commands

  41. killall

    Kills all enemies, all living entities, or all entities. Never kills players.

    Command

    World commands

  42. regionreset

    Resets unprotected chunks in one region or the whole map. Deletes their saved data for good.

    Command

    World commands

  43. setgamepref

    Sets a game preference on the running server.

    Command

    World commands

  44. shownexthordetime

    Shows when the next wandering horde comes.

    Command

    World commands

  45. spawnairdrop

    Spawns an air drop.

    Command

    World commands

  46. spawnentity

    Spawns entities around a player by entity number, 1 to 100 at a time.

    Command

    World commands

  47. spawnscouts

    Spawns zombie scouts near you, near a player, or at coordinates.

    Command

    World commands

  48. spawnsupplycrate

    Spawns a supply crate where you stand.

    Command

    World commands

  49. weather

    Overrides the weather: clouds, fog, rain, snow, temperature, wind, or a storm. weather d resets it.

    Command

    World commands

  50. worldchunkreset

    Resets every unprotected chunk across the world, respecting all protections.

    Command

    World commands

  51. Language

    The main language of the server's players, as its English name.

    Default English

    Server and network

  52. Region

    The region shown for the server in the browser.

    Default NorthAmericaEast

    Server and network

  53. ServerAdminSlots

    How many admins can still join when the server is full.

    Default 0

    Server and network

  54. ServerAdminSlotsPermission

    The permission level needed to use the admin slots. Default 0.

    Default 0

    Server and network

  55. ServerDescription

    The description shown in the server browser.

    Default A 7 Days to Die server

    Server and network

  56. ServerDisabledNetworkProtocols

    Network protocols the server won't use, separated by commas: LiteNetLib, SteamNetworking.

    Default SteamNetworking

    Server and network

  57. ServerLoginConfirmationText

    A message players must confirm while joining. Empty shows none.

    Default (empty)

    Server and network

  58. ServerMaxWorldTransferSpeedKiBs

    The most kiB/s the world is sent at to a player joining for the first time. Default 512; tops out near 1300.

    Default 512

    Server and network

  59. ServerName

    The server's name in the server browser.

    Default My Game Host

    Server and network

  60. ServerPassword

    The password players need to join. Empty means no password.

    Default (empty)

    Server and network

  61. ServerPort

    The port the server listens on. Default 26900.

    Default 26900

    Server and network

  62. ServerReservedSlots

    How many of the player slots are kept for players with a given permission level.

    Default 0

    Server and network

  63. ServerReservedSlotsPermission

    The permission level needed to use the reserved slots. Default 100.

    Default 100

    Server and network

  64. ServerVisibility

    Whether the server is listed: 2 public, 1 friends only, 0 not listed.

    Default 2 (Public)

    Server and network

  65. ServerWebsiteURL

    A website link shown in the server browser, clickable.

    Default (empty)

    Server and network

  66. AllowSpawnNearFriend

    Whether new players can choose to spawn near a friend: 0 no, 1 always, 2 only in the forest biome.

    Default 2 (Only near friends in the forest biome)

    World and rules

  67. BedrollDeadZoneSize

    Half the side of the zombie-free box around a bedroll. Default 15.

    Default 15

    World and rules

  68. BedrollExpiryTime

    Real days a bedroll stays active after its owner was last online. Default 45.

    Default 45

    World and rules

  69. BuildCreate

    Cheat mode on or off.

    Default false

    World and rules

  70. CameraRestrictionMode

    Camera modes allowed: 0 first and third person, 1 first person only, 2 third person only.

    Default 0 (Players can swap between first and third person)

    World and rules

  71. GameMode

    The game mode. GameModeSurvival is the one listed.

    Default GameModeSurvival

    World and rules

  72. GameName

    The save game's name, and the seed for where trees and decorations go.

    Default MyGame

    World and rules

  73. GameWorld

    The world to load: RWG for a random world, or a world name such as Navezgane.

    Default Navezgane

    World and rules

  74. PartySharedKillRange

    How close party members must be to share kill XP and quest kill credit.

    Default 100

    World and rules

  75. PlayerSafeZoneHours

    How many in-game hours the spawn safe zone lasts.

    Default 5

    World and rules

  76. PlayerSafeZoneLevel

    Players at or below this level create a zombie-free safe zone when they spawn.

    Default 5

    World and rules

  77. TwitchBloodMoonAllowed

    Allows Twitch actions during a blood moon.

    Default false

    World and rules

  78. TwitchServerPermission

    The permission level needed to use Twitch integration on the server. Default 90.

    Default 90

    World and rules

  79. WorldGenSeed

    The seed for a random world when GameWorld is RWG.

    Default MyGame

    World and rules

  80. WorldGenSize

    The width and height of a random world, a multiple of 2048 from 6144 to 10240.

    Default 6144

    World and rules

  81. LandClaimCount

    How many land claims each player may have. Default 5.

    Default 5

    Land claims

  82. LandClaimDeadZone

    How many blocks apart land claims must be, unless the owners are friends. Default 30.

    Default 30

    Land claims

  83. LandClaimDecayMode

    How an offline player's claim weakens: 0 slow (linear), 1 fast (exponential), 2 none until it expires.

    Default 0 (Slow (linear))

    Land claims

  84. LandClaimExpiryTime

    Real days a player can be offline before their claims expire. Default 7.

    Default 7

    Land claims

  85. LandClaimOfflineDelay

    Minutes after logout before a claim switches from online to offline hardness. Default 0.

    Default 0

    Land claims

  86. LandClaimOfflineDurabilityModifier

    How much harder blocks in a claim are while the owner is offline. 0 makes them indestructible. Default 4.

    Default 4

    Land claims

  87. LandClaimOnlineDurabilityModifier

    How much harder blocks in a claim are while the owner is online. 0 makes them indestructible. Default 4.

    Default 4

    Land claims

  88. DynamicMeshEnabled

    Turns the dynamic mesh system on.

    Default true

    Performance

  89. DynamicMeshLandClaimBuffer

    The dynamic mesh radius around land claims, in chunks. Default 3.

    Default 3

    Performance

  90. DynamicMeshLandClaimOnly

    Keeps the dynamic mesh system to land claim areas only.

    Default true

    Performance

  91. DynamicMeshMaxItemCache

    How many dynamic mesh items are processed at once; higher uses more RAM. Default 3.

    Default 3

    Performance

  92. MaxChunkAge

    In-game days after which a chunk no one revisits resets to its original state, unless protected. -1 never.

    Default -1

    Performance

  93. MaxQueuedMeshLayers

    The most chunk mesh layers queued during mesh generation. Lower saves memory, may slow chunk generation.

    Default 1000

    Performance

  94. MaxSpawnedAnimals

    The most animals alive across the world. Default 50.

    Default 50

    Performance

  95. MaxUncoveredMapChunksPerPlayer

    How many chunks each player can uncover on the in-game map. The default lets each player uncover up to 32 square km.

    Default 131072

    Performance

  96. SaveDataLimit

    The most disk space a save may use, in MB. Chunks may be reset to stay under it. Negative means no limit.

    Default -1

    Performance

  97. ServerMaxAllowedViewDistance

    The highest view distance a player may ask for, from 6 to 12.

    Default 12

    Performance

  98. AdminFileName

    The admin file's name, in the UserDataFolder/Saves folder. Default serveradmin.xml.

    Default serveradmin.xml

    Admin tools and security

  99. EnableMapRendering

    Renders the map to tile images as players explore it, for the web dashboard's map.

    Default false

    Admin tools and security

  100. HideCommandExecutionLog

    Hides the log of commands run: 0 show all, 1 hide from telnet and panel, 2 also from game clients, 3 hide all.

    Default 0 (Show everything)

    Admin tools and security

  101. IgnoreEOSSanctions

    Lets players with EOS sanctions join anyway.

    Default false

    Admin tools and security

  102. PersistentPlayerProfiles

    Players always join with the profile they last used. Off lets them join with any profile.

    Default false

    Admin tools and security

  103. ServerAllowCrossplay

    Turns crossplay on, so console players can find and join the server.

    Default false

    Admin tools and security

  104. TelnetEnabled

    Turns the telnet remote console on. On in the game's default config.

    Default true

    Admin tools and security

  105. TelnetFailedLoginLimit

    Wrong telnet passwords from one client before it is blocked. Default 10.

    Default 10

    Admin tools and security

  106. TelnetFailedLoginsBlocktime

    How long, in seconds, a blocked telnet client stays blocked. Default 10.

    Default 10

    Admin tools and security

  107. TelnetPassword

    The telnet password. With none, telnet only listens on the local loopback interface.

    Default (empty)

    Admin tools and security

  108. TelnetPort

    The telnet port. Default 8081.

    Default 8081

    Admin tools and security

  109. TerminalWindowEnabled

    Shows a terminal window for log output and commands. Windows only.

    Default true

    Admin tools and security

  110. UserDataFolder

    Where the server keeps all user data: saves and generated worlds. Commented out in the shipped config.

    Default Not listed

    Admin tools and security

  111. WebDashboardEnabled

    Turns the web dashboard on.

    Default false

    Admin tools and security

  112. WebDashboardPort

    The web dashboard's port. Default 8080.

    Default 8080

    Admin tools and security

  113. WebDashboardUrl

    The web dashboard's public URL, when it sits behind a reverse proxy.

    Default (empty)

    Admin tools and security

Questions

How do I run 7 Days to Die commands on my server?

Admin commands are typed in the in-game console (F1) by a player on the admin list in UserData/Saves/serveradmin.xml; the server page's Console tab shows the server's output but can't send commands. Settings go in sdtd.xml on the Files tab and apply at the next start.

How do I keep a setting after a restart?

The server reads its settings from sdtd.xml when it starts. Change them there, in the Files tab of the server page, then restart the server.

Where does this list come from?

SLASHPLAY wrote it from the serverconfig.xml that ships with the dedicated server (Steam public branch, 2026-10-29 build) and the console commands' own help text from that build: the settings and commands server owners use, with the game's own defaults.

Try them on
your own server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.