7 Days to Die console commands
The 70 settings and 43 commands server owners use, with defaults and examples to copy.
113 commands
- 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
- admin
Adds, removes or lists admins and their permission levels. Level 0 is full admin; 1000 is a normal player.
Command
Admin commands
- ban
Bans a player for a set time, removes a ban, or lists bans.
Command
Admin commands
- kick
Kicks a player off the server, with an optional reason.
Command
Admin commands
- teleportplayer
Teleports a player to coordinates or to another player.
Command
Player commands
- give
Drops an item in front of a player, with an amount and an optional quality.
Command
Player commands
- settime
Sets the game time: to a day, hour and minute, to a raw value, or to day or night.
Command
World commands
- spawnwandering
Spawns wandering entities: h for a horde, b for bandits.
Command
World commands
- debugmenu
Turns the debug menu on or off for you.
Command
Player commands
- 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
- ServerMaxPlayerCount
The most players on the server at once. Default 8.
Default 8
Server and network
- 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
- LandClaimSize
The size in blocks of the area a land claim protects. Default 41.
Default 41
Land claims
- MaxSpawnedZombies
The most zombies alive across the whole world. Default 64.
Default 64
Performance
- EACEnabled
Turns EasyAntiCheat on.
Default true
Admin tools and security
- commandpermission
Sets, removes or lists the permission level a command needs. Commands not listed need level 0.
Command
Admin commands
- help
Lists the console commands, searches them, or shows the help for one command.
Command
Admin commands
- kickall
Kicks every player off the server, with an optional reason.
Command
Admin commands
- listplayerids
Lists every player in the game with the IDs other commands take.
Command
Admin commands
- listplayers
Lists the players online with their entity ID, position, health, deaths, kills, level and platform ID.
Command
Admin commands
- saveworld
Saves the world now.
Command
Admin commands
- say
Sends a message to every player on the server.
Command
Admin commands
- shutdown
Shuts the server down.
Command
Admin commands
- version
Shows the version of the game the server runs, and its loaded mods.
Command
Admin commands
- whitelist
Adds, removes or lists whitelist entries. With one entry on the list, only listed players and admins can join.
Command
Admin commands
- buffplayer
Applies a buff to a player.
Command
Player commands
- creativemenu
Turns the creative menu on or off for you.
Command
Player commands
- debuffplayer
Removes a buff from a player.
Command
Player commands
- gamestage
Shows your gamestage and how it is worked out.
Command
Player commands
- giveself
Gives yourself an item, with optional quality, count, and whether it goes straight to your inventory.
Command
Player commands
- giveselfxp
Gives yourself experience points; add 1 to apply XP bonuses.
Command
Player commands
- givexp
Gives a player experience points.
Command
Player commands
- kill
Kills an entity by ID, or a player by name or Steam ID.
Command
Player commands
- listitems
Lists item names that contain some text, or all of them with *.
Command
Player commands
- spectator
Turns spectator mode on or off for you.
Command
Player commands
- teleport
Teleports you to coordinates, to a player, or by an offset from where you are.
Command
Player commands
- chunkreset
Rebuilds the chunks in a coordinate range, or the POI or chunks around you.
Command
World commands
- getgamepref
Shows all game preferences, or those matching some text.
Command
World commands
- getsandboxoptions
Shows the running world's sandbox options and code; add true to show every option, not only changed ones.
Command
World commands
- gettime
Shows the current game day and time.
Command
World commands
- killall
Kills all enemies, all living entities, or all entities. Never kills players.
Command
World commands
- regionreset
Resets unprotected chunks in one region or the whole map. Deletes their saved data for good.
Command
World commands
- setgamepref
Sets a game preference on the running server.
Command
World commands
- shownexthordetime
Shows when the next wandering horde comes.
Command
World commands
- spawnairdrop
Spawns an air drop.
Command
World commands
- spawnentity
Spawns entities around a player by entity number, 1 to 100 at a time.
Command
World commands
- spawnscouts
Spawns zombie scouts near you, near a player, or at coordinates.
Command
World commands
- spawnsupplycrate
Spawns a supply crate where you stand.
Command
World commands
- weather
Overrides the weather: clouds, fog, rain, snow, temperature, wind, or a storm.
weather dresets it.Command
World commands
- worldchunkreset
Resets every unprotected chunk across the world, respecting all protections.
Command
World commands
- Language
The main language of the server's players, as its English name.
Default English
Server and network
- Region
The region shown for the server in the browser.
Default NorthAmericaEast
Server and network
- ServerAdminSlots
How many admins can still join when the server is full.
Default 0
Server and network
- ServerAdminSlotsPermission
The permission level needed to use the admin slots. Default 0.
Default 0
Server and network
- ServerDescription
The description shown in the server browser.
Default A 7 Days to Die server
Server and network
- ServerDisabledNetworkProtocols
Network protocols the server won't use, separated by commas: LiteNetLib, SteamNetworking.
Default SteamNetworking
Server and network
- ServerLoginConfirmationText
A message players must confirm while joining. Empty shows none.
Default (empty)
Server and network
- 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
- ServerName
The server's name in the server browser.
Default My Game Host
Server and network
- ServerPassword
The password players need to join. Empty means no password.
Default (empty)
Server and network
- ServerPort
The port the server listens on. Default 26900.
Default 26900
Server and network
- ServerReservedSlots
How many of the player slots are kept for players with a given permission level.
Default 0
Server and network
- ServerReservedSlotsPermission
The permission level needed to use the reserved slots. Default 100.
Default 100
Server and network
- ServerVisibility
Whether the server is listed: 2 public, 1 friends only, 0 not listed.
Default 2 (Public)
Server and network
- ServerWebsiteURL
A website link shown in the server browser, clickable.
Default (empty)
Server and network
- 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
- BedrollDeadZoneSize
Half the side of the zombie-free box around a bedroll. Default 15.
Default 15
World and rules
- BedrollExpiryTime
Real days a bedroll stays active after its owner was last online. Default 45.
Default 45
World and rules
- BuildCreate
Cheat mode on or off.
Default false
World and rules
- 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
- GameMode
The game mode. GameModeSurvival is the one listed.
Default GameModeSurvival
World and rules
- GameName
The save game's name, and the seed for where trees and decorations go.
Default MyGame
World and rules
- GameWorld
The world to load: RWG for a random world, or a world name such as Navezgane.
Default Navezgane
World and rules
- PartySharedKillRange
How close party members must be to share kill XP and quest kill credit.
Default 100
World and rules
- PlayerSafeZoneHours
How many in-game hours the spawn safe zone lasts.
Default 5
World and rules
- PlayerSafeZoneLevel
Players at or below this level create a zombie-free safe zone when they spawn.
Default 5
World and rules
- TwitchBloodMoonAllowed
Allows Twitch actions during a blood moon.
Default false
World and rules
- TwitchServerPermission
The permission level needed to use Twitch integration on the server. Default 90.
Default 90
World and rules
- WorldGenSeed
The seed for a random world when GameWorld is RWG.
Default MyGame
World and rules
- WorldGenSize
The width and height of a random world, a multiple of 2048 from 6144 to 10240.
Default 6144
World and rules
- LandClaimCount
How many land claims each player may have. Default 5.
Default 5
Land claims
- LandClaimDeadZone
How many blocks apart land claims must be, unless the owners are friends. Default 30.
Default 30
Land claims
- 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
- LandClaimExpiryTime
Real days a player can be offline before their claims expire. Default 7.
Default 7
Land claims
- LandClaimOfflineDelay
Minutes after logout before a claim switches from online to offline hardness. Default 0.
Default 0
Land claims
- LandClaimOfflineDurabilityModifier
How much harder blocks in a claim are while the owner is offline. 0 makes them indestructible. Default 4.
Default 4
Land claims
- LandClaimOnlineDurabilityModifier
How much harder blocks in a claim are while the owner is online. 0 makes them indestructible. Default 4.
Default 4
Land claims
- DynamicMeshEnabled
Turns the dynamic mesh system on.
Default true
Performance
- DynamicMeshLandClaimBuffer
The dynamic mesh radius around land claims, in chunks. Default 3.
Default 3
Performance
- DynamicMeshLandClaimOnly
Keeps the dynamic mesh system to land claim areas only.
Default true
Performance
- DynamicMeshMaxItemCache
How many dynamic mesh items are processed at once; higher uses more RAM. Default 3.
Default 3
Performance
- MaxChunkAge
In-game days after which a chunk no one revisits resets to its original state, unless protected. -1 never.
Default -1
Performance
- MaxQueuedMeshLayers
The most chunk mesh layers queued during mesh generation. Lower saves memory, may slow chunk generation.
Default 1000
Performance
- MaxSpawnedAnimals
The most animals alive across the world. Default 50.
Default 50
Performance
- 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
- 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
- ServerMaxAllowedViewDistance
The highest view distance a player may ask for, from 6 to 12.
Default 12
Performance
- AdminFileName
The admin file's name, in the UserDataFolder/Saves folder. Default serveradmin.xml.
Default serveradmin.xml
Admin tools and security
- EnableMapRendering
Renders the map to tile images as players explore it, for the web dashboard's map.
Default false
Admin tools and security
- 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
- IgnoreEOSSanctions
Lets players with EOS sanctions join anyway.
Default false
Admin tools and security
- PersistentPlayerProfiles
Players always join with the profile they last used. Off lets them join with any profile.
Default false
Admin tools and security
- ServerAllowCrossplay
Turns crossplay on, so console players can find and join the server.
Default false
Admin tools and security
- TelnetEnabled
Turns the telnet remote console on. On in the game's default config.
Default true
Admin tools and security
- TelnetFailedLoginLimit
Wrong telnet passwords from one client before it is blocked. Default 10.
Default 10
Admin tools and security
- TelnetFailedLoginsBlocktime
How long, in seconds, a blocked telnet client stays blocked. Default 10.
Default 10
Admin tools and security
- TelnetPassword
The telnet password. With none, telnet only listens on the local loopback interface.
Default (empty)
Admin tools and security
- TelnetPort
The telnet port. Default 8081.
Default 8081
Admin tools and security
- TerminalWindowEnabled
Shows a terminal window for log output and commands. Windows only.
Default true
Admin tools and security
- 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
- WebDashboardEnabled
Turns the web dashboard on.
Default false
Admin tools and security
- WebDashboardPort
The web dashboard's port. Default 8080.
Default 8080
Admin tools and security
- WebDashboardUrl
The web dashboard's public URL, when it sits behind a reverse proxy.
Default (empty)
Admin tools and security
Nothing matches.
Try part of the name, like freeze or money, or a word from what it does.
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.