Free tool
7 Days to Die server config generator (serverconfig.xml)
Checked against the 7 Days to Die wiki's list for V3.4.0 and the game's own serverconfig.xml from V3.3.0 (Steam build 24994542) on . Sources: 7 Days to Die wiki: serverconfig.xml.
Starting points (ours)
A preset changes only the settings it lists; everything else stays as you set it.
Server info
ServerName
The name shown in the server list.
Default: My Game Host · Text
ServerDescription
A short text shown under the server's name in the server list.
Default: A 7 Days to Die server · Text
ServerWebsiteURL
A web address shown in the server list as a clickable link.
Default: (empty) · Text
ServerPassword
The password players must enter to join; empty means anyone can join.
Default: (empty) · Text
ServerLoginConfirmationText
A message players must read and confirm when they join; leave it empty to skip it.
Default: (empty) · Text
Region
The part of the world the server is in, which the server list uses.
Default: NorthAmericaEast
Language
The main language players speak here, written as its English name, so German and not Deutsch.
Default: English · Text
Network
ServerVisibility
Whether the server shows up in the public server list.
Default: 2
Slots
ServerMaxPlayerCount
How many players can be on the server at the same time.
Default: 8 · A whole number, in players
ServerReservedSlots
How many of the player slots only players with a high enough permission level can use.
Default: 0 · A whole number, in players
ServerAdminSlots
How many admins can still join after the server is full.
Default: 0 · A whole number, in players
Technical
ServerAllowCrossplay
Lets players on other platforms join, as long as sanctions are not ignored and the server keeps the normal number of player slots or fewer.
Default: off
EACEnabled
Turns on EasyAntiCheat, the game's anti-cheat system.
Default: on
PersistentPlayerProfiles
When on, players always join with the profile they used last; when off, they can pick any profile.
Default: off
SaveDataLimit
The most disk space each saved game may use, in megabytes; a negative number means no limit.
Default: -1 · A whole number, in MB
Difficulty
SandboxCode
One code that holds the difficulty, day length, blood moon, zombie and loot settings; make it in the game's Sandbox Options screen and paste it here.
Default: AAAJABJACJADJARFBNC · Text
World
GameWorld
Which world the server plays: RWG for a random world, or the name of a ready-made one such as Navezgane; picking another world starts a different save at the next start, and the old one stays on disk.
Default: Navezgane · Text
WorldGenSeed
The text a random world is built from; a new seed makes or loads a different world at the next start, and the old one stays on disk.
Default: MyGame · Text
WorldGenSize
How wide and long a random world is, in blocks; the size is part of the world's name too, so a new size makes a different world at the next start.
Default: 6144
GameName
The name of the saved game, which also decides where trees and other decorations go; a new name starts a fresh save at the next start, and the old one stays on disk.
Default: MyGame · Text
Rules
PlayerSafeZoneLevel
New players at or below this level get a safe zone with no enemies when they spawn.
Default: 5 · A whole number
PlayerSafeZoneHours
How many in-game hours a new player's safe zone lasts.
Default: 5 · A whole number
BuildCreate
Turns the game's cheat mode on or off for everyone on the server.
Default: off
BedrollDeadZoneSize
How far out from a bedroll no zombies spawn, counted from the bedroll to each side.
Default: 15 · A whole number
BedrollExpiryTime
How many real days a bedroll keeps working after its owner was last online.
Default: 45 · A whole number, in days
AllowSpawnNearFriend
Whether a player joining for the first time can start next to a friend who is playing.
Default: 2
CameraRestrictionMode
Which camera views players are allowed to use.
Default: 0
Performance
MaxSpawnedZombies
The most zombies alive in the whole world at once, and a high number can slow the server a lot.
Default: 64 · A whole number
MaxSpawnedAnimals
The most animals alive in the whole world at once; animals use less server power than zombies.
Default: 50 · A whole number
ServerMaxAllowedViewDistance
The farthest view distance a player may ask for, and a high number uses a lot of memory and server power.
Default: 12 · 6 to 12
Multiplayer
PlayerKillingMode
Who players are allowed to kill.
Default: 3
Land claims
LandClaimCount
The most land claims one player can place.
Default: 5 · A whole number
LandClaimSize
How wide the square area one keystone protects is, in blocks, so 41 means 41 by 41.
Default: 41 · A whole number, in blocks
LandClaimDeadZone
How many blocks apart keystones must be, unless their owners are friends.
Default: 30 · A whole number, in blocks
LandClaimExpiryTime
How many real days a player can stay offline before their claims stop protecting their base.
Default: 7 · A whole number, in days
LandClaimDecayMode
How quickly an offline player's land claims lose their protection.
Default: 0
LandClaimOnlineDurabilityModifier
How many times harder the blocks inside a claim are to break while the owner is online; 0 means they never take damage.
Default: 4 · A whole number
LandClaimOfflineDurabilityModifier
How many times harder the blocks inside a claim are to break while the owner is offline; 0 means they never take damage.
Default: 4 · A whole number
Reference
Every setting in serverconfig.xml
All 68 settings this tool knows, with the default each one starts at and the values it takes. Advanced settings are included; in the editor they sit behind the Advanced switch.
Server info
| Setting | Default | Values | What it does |
|---|---|---|---|
ServerNameServer name | DefaultMy Game Host | ValuesText | What it doesThe name shown in the server list. |
ServerDescriptionServer description | DefaultA 7 Days to Die server | ValuesText | What it doesA short text shown under the server's name in the server list. |
ServerWebsiteURLWebsite link | Default(empty) | ValuesText | What it doesA web address shown in the server list as a clickable link. |
ServerPasswordServer password | Default(empty) | ValuesText | What it doesThe password players must enter to join; empty means anyone can join. |
ServerLoginConfirmationTextJoin message | Default(empty) | ValuesText | What it doesA message players must read and confirm when they join; leave it empty to skip it. |
RegionRegion | DefaultNorthAmericaEast | ValuesNorthAmericaEast (North America (east)), NorthAmericaWest (North America (west)), CentralAmerica (Central America), SouthAmerica (South America), Europe, Russia, Asia, MiddleEast (Middle East), Africa, Oceania | What it doesThe part of the world the server is in, which the server list uses. |
LanguageLanguage | DefaultEnglish | ValuesText | What it doesThe main language players speak here, written as its English name, so German and not Deutsch. |
Network
| Setting | Default | Values | What it does |
|---|---|---|---|
ServerPortGame port · advanced | Default26900 | ValuesA whole number | What it doesThe port players connect to, set from the port this server was given. |
ServerVisibilityWho can see the server | Default2 | Values2 (Public), 1 (Friends only), 0 (Not listed) | What it doesWhether the server shows up in the public server list. |
ServerDisabledNetworkProtocolsBlocked connection types · advanced | DefaultSteamNetworking | ValuesAny of LiteNetLib, SteamNetworking | What it doesThe connection types the server will not use; the game suggests switching off SteamNetworking when the ports are forwarded correctly. |
ServerMaxWorldTransferSpeedKiBsWorld download speed · advanced | Default512 | ValuesA whole number; usually up to 1,300 | What it doesThe fastest speed, in kiB per second, a new player can download the world at; the game never goes above about 1300. |
Slots
| Setting | Default | Values | What it does |
|---|---|---|---|
ServerMaxPlayerCountMax players | Default8 | ValuesA whole number, in players | What it doesHow many players can be on the server at the same time. |
ServerReservedSlotsReserved slots | Default0 | ValuesA whole number, in players | What it doesHow many of the player slots only players with a high enough permission level can use. |
ServerReservedSlotsPermissionReserved slot level · advanced | Default100 | Values0 to 1,000 | What it doesThe permission level a player needs to use the reserved slots; a lower number means more power. |
ServerAdminSlotsAdmin slots | Default0 | ValuesA whole number, in players | What it doesHow many admins can still join after the server is full. |
ServerAdminSlotsPermissionAdmin slot level · advanced | Default0 | Values0 to 1,000 | What it doesThe permission level an admin needs to use the admin slots; a lower number means more power. |
Admin tools
| Setting | Default | Values | What it does |
|---|---|---|---|
WebDashboardEnabledWeb dashboard · advanced | Defaultoff | ValuesOn or off | What it doesTurns the game's built-in admin web page on or off. |
WebDashboardPortWeb dashboard port · advanced | Default8080 | ValuesA whole number | What it doesThe port the web dashboard listens on. |
WebDashboardUrlWeb dashboard address · advanced | Default(empty) | ValuesText | What it doesThe full web address of the dashboard when it sits behind a reverse proxy; leave it empty otherwise. |
EnableMapRenderingDraw the map · advanced | Defaultoff | ValuesOn or off | What it doesDraws the map as pictures while players explore, which the web dashboard uses to show a map. |
TelnetEnabledTelnet console · advanced | Defaulton | ValuesOn or off | What it doesTurns the remote text console on or off. |
TelnetPortTelnet port · advanced | Default8081 | Values1 to 65,535 | What it doesThe port of the remote text console. |
TelnetPasswordTelnet password · advanced | Default(empty) | ValuesText | What it doesThe password for the remote text console. The game's own file says that with no password set, telnet listens only on the machine itself. |
TelnetFailedLoginLimitTelnet login attempts · advanced | Default10 | ValuesA whole number | What it doesHow many wrong passwords one computer can try before it is blocked from the text console. |
TelnetFailedLoginsBlocktimeTelnet block time · advanced | Default10 | ValuesA whole number, in seconds | What it doesHow long a blocked computer stays blocked from the text console. |
TerminalWindowEnabledTerminal window · advanced | Defaulton | ValuesOn or off | What it doesShows a window for the log and for typing commands, which only works on Windows. |
Files
| Setting | Default | Values | What it does |
|---|---|---|---|
AdminFileNameAdmin file name · advanced | Defaultserveradmin.xml | ValuesText | What it doesThe name of the file that holds the admins, whitelist and bans, inside the saves folder. |
Technical
| Setting | Default | Values | What it does |
|---|---|---|---|
ServerAllowCrossplayCrossplay | Defaultoff | ValuesOn or off | What it doesLets players on other platforms join, as long as sanctions are not ignored and the server keeps the normal number of player slots or fewer. |
EACEnabledAnti-cheat | Defaulton | ValuesOn or off | What it doesTurns on EasyAntiCheat, the game's anti-cheat system. |
IgnoreEOSSanctionsIgnore Epic sanctions · advanced | Defaultoff | ValuesOn or off | What it doesLets players join even when Epic Online Services has sanctioned them. |
HideCommandExecutionLogHide command logging · advanced | Default0 | Values0 (Show everything), 1 (Hide from Telnet and control panel), 2 (Also hide from players), 3 (Hide everything) | What it doesHow much of the commands people run is kept out of the logs. |
MaxUncoveredMapChunksPerPlayerMap area per player · advanced | Default131072 | ValuesA whole number, in chunks | What it doesHow many chunks each player can uncover on their in-game map, and each chunk adds 512 bytes to that player's map file. |
PersistentPlayerProfilesRemember player profiles | Defaultoff | ValuesOn or off | What it doesWhen on, players always join with the profile they used last; when off, they can pick any profile. |
MaxChunkAgeArea reset time · advanced | Default-1 | ValuesA whole number, in days | What it doesHow many in-game days an area must go unvisited before it resets to how it started, unless a land claim or bedroll protects it. |
SaveDataLimitSave size limit | Default-1 | ValuesA whole number, in MB | What it doesThe most disk space each saved game may use, in megabytes; a negative number means no limit. |
Difficulty
| Setting | Default | Values | What it does |
|---|---|---|---|
SandboxCodeDifficulty and sandbox code | DefaultAAAJABJACJADJARFBNC | ValuesText | What it doesOne code that holds the difficulty, day length, blood moon, zombie and loot settings; make it in the game's Sandbox Options screen and paste it here. |
World
| Setting | Default | Values | What it does |
|---|---|---|---|
GameWorldWorld | DefaultNavezgane | ValuesText | What it doesWhich world the server plays: RWG for a random world, or the name of a ready-made one such as Navezgane; picking another world starts a different save at the next start, and the old one stays on disk. |
WorldGenSeedWorld seed | DefaultMyGame | ValuesText | What it doesThe text a random world is built from; a new seed makes or loads a different world at the next start, and the old one stays on disk. |
WorldGenSizeRandom world size | Default6144 | Values6144 (Small (6 km)), 8192 (Medium (8 km)), 10240 (Large (10 km)) | What it doesHow wide and long a random world is, in blocks; the size is part of the world's name too, so a new size makes a different world at the next start. |
GameNameSave name | DefaultMyGame | ValuesText | What it doesThe name of the saved game, which also decides where trees and other decorations go; a new name starts a fresh save at the next start, and the old one stays on disk. |
GameModeGame mode · advanced | DefaultGameModeSurvival | ValuesText | What it doesThe game mode to play; the only value the shipped file lists is GameModeSurvival. |
Rules
| Setting | Default | Values | What it does |
|---|---|---|---|
PlayerSafeZoneLevelNew-player safe zone level | Default5 | ValuesA whole number | What it doesNew players at or below this level get a safe zone with no enemies when they spawn. |
PlayerSafeZoneHoursSafe zone time | Default5 | ValuesA whole number | What it doesHow many in-game hours a new player's safe zone lasts. |
BuildCreateCheat mode | Defaultoff | ValuesOn or off | What it doesTurns the game's cheat mode on or off for everyone on the server. |
BedrollDeadZoneSizeBedroll safe area | Default15 | ValuesA whole number | What it doesHow far out from a bedroll no zombies spawn, counted from the bedroll to each side. |
BedrollExpiryTimeBedroll expiry | Default45 | ValuesA whole number, in days | What it doesHow many real days a bedroll keeps working after its owner was last online. |
AllowSpawnNearFriendSpawn near friends | Default2 | Values0 (Off), 1 (Always), 2 (Forest only) | What it doesWhether a player joining for the first time can start next to a friend who is playing. |
CameraRestrictionModeCamera view | Default0 | Values0 (Free), 1 (First person), 2 (Third person) | What it doesWhich camera views players are allowed to use. |
Performance
| Setting | Default | Values | What it does |
|---|---|---|---|
MaxSpawnedZombiesMax zombies | Default64 | ValuesA whole number | What it doesThe most zombies alive in the whole world at once, and a high number can slow the server a lot. |
MaxSpawnedAnimalsMax animals | Default50 | ValuesA whole number | What it doesThe most animals alive in the whole world at once; animals use less server power than zombies. |
ServerMaxAllowedViewDistanceMax view distance | Default12 | Values6 to 12 | What it doesThe farthest view distance a player may ask for, and a high number uses a lot of memory and server power. |
MaxQueuedMeshLayersMesh queue size · advanced | Default1000 | ValuesA whole number | What it doesHow many chunk mesh layers can wait in line at once; a lower number saves memory but can make chunks load slower. |
Multiplayer
| Setting | Default | Values | What it does |
|---|---|---|---|
Default100 | ValuesA whole number | What it doesHow close party members must be to share kill experience and quest kill credit. | |
PlayerKillingModePlayer vs player | Default3 | Values0 (Off), 1 (Allies), 2 (Strangers), 3 (Everyone) | What it doesWho players are allowed to kill. |
Land claims
| Setting | Default | Values | What it does |
|---|---|---|---|
LandClaimCountClaims per player | Default5 | ValuesA whole number | What it doesThe most land claims one player can place. |
LandClaimSizeClaim size | Default41 | ValuesA whole number, in blocks | What it doesHow wide the square area one keystone protects is, in blocks, so 41 means 41 by 41. |
LandClaimDeadZoneClaim spacing | Default30 | ValuesA whole number, in blocks | What it doesHow many blocks apart keystones must be, unless their owners are friends. |
LandClaimExpiryTimeClaim expiry | Default7 | ValuesA whole number, in days | What it doesHow many real days a player can stay offline before their claims stop protecting their base. |
LandClaimDecayModeClaim decay | Default0 | Values0 (Slow), 1 (Fast), 2 (None) | What it doesHow quickly an offline player's land claims lose their protection. |
LandClaimOnlineDurabilityModifierClaim toughness, owner online | Default4 | ValuesA whole number | What it doesHow many times harder the blocks inside a claim are to break while the owner is online; 0 means they never take damage. |
LandClaimOfflineDurabilityModifierClaim toughness, owner offline | Default4 | ValuesA whole number | What it doesHow many times harder the blocks inside a claim are to break while the owner is offline; 0 means they never take damage. |
LandClaimOfflineDelayOffline protection delay · advanced | Default0 | ValuesA whole number, in minutes | What it doesHow many minutes after a player logs out their claim switches from online to offline toughness. |
Dynamic mesh
| Setting | Default | Values | What it does |
|---|---|---|---|
DynamicMeshEnabledDynamic mesh · advanced | Defaulton | ValuesOn or off | What it doesTurns the game's dynamic mesh system on or off. |
DynamicMeshLandClaimOnlyDynamic mesh in claims only · advanced | Defaulton | ValuesOn or off | What it doesLimits the dynamic mesh to areas around land claims. |
DynamicMeshLandClaimBufferDynamic mesh claim radius · advanced | Default3 | ValuesA whole number, in chunks | What it doesHow many chunks around each land claim the dynamic mesh covers. |
DynamicMeshMaxItemCacheDynamic mesh work at once · advanced | Default3 | ValuesA whole number | What it doesHow many items the dynamic mesh handles at the same time, and a higher number uses more memory. |
Twitch
| Setting | Default | Values | What it does |
|---|---|---|---|
TwitchServerPermissionTwitch permission level · advanced | Default90 | Values0 to 1,000 | What it doesThe permission level a player needs to use Twitch integration on this server; a lower number means more power. |
TwitchBloodMoonAllowedTwitch in blood moons · advanced | Defaultoff | ValuesOn or off | What it doesLets Twitch actions run during a blood moon, which can add lag because extra zombies appear. |
Questions
Questions and answers.
- Why does the server ignore GameDifficulty and LootAbundance?
- Version 3.0 moved difficulty, day length, blood moons, zombies and loot out of serverconfig.xml and into one sandbox code. The server ignores the old lines. Import an old file and the tool names each of the 30 it no longer reads.
- How do I make a SandboxCode?
- Set the options in the game's Sandbox Options screen; it gives you a code. Put that code in SandboxCode. A code only fits the game version it was made in.
- Which ports does the server need?
- ServerPort is 26900 by default. In our tests players needed TCP and UDP 26900, plus UDP 26902.
- Is telnet safe to leave on?
- The game's own file says that with no TelnetPassword set, telnet listens only on the machine itself. Set a password before you open it to anything else.
Next steps