Get started

Free trial Try any game free for 3 days. No card needed. Start a free trial Start a free trial

Game servers

All games

Guides / 7 Days to Die / Server and world settings

7 Days to Die serverconfig.xml explained

What serverconfig.xml holds in 7 Days to Die V3.3: the settings people change and their defaults, what moved to World rules, and how to edit it by hand.

Updated , checked on 7 Days to Die V3.3.0

serverconfig.xml is the file that holds the settings of a 7 Days to Die server. In V3.3 it has 68 settings, called properties, and one more (UserDataFolder) that is commented out. It no longer holds game rules such as difficulty, XP, day length and blood moons. Those moved into one setting, SandboxCode.

On a server of your own, edit serverconfig.xml in the game folder. On Loafhosts the panel uses serverconfig.custom.xml instead.

The settings people change

The first column is the key in the file. The second is the label in the Config Editor.

KeyConfig Editor labelWhat it doesDefault
ServerNameServer nameThe name in the server browser.My Game Host
ServerDescriptionDescriptionShown with the name.A 7 Days to Die server
ServerPasswordJoin passwordPlayers need it to join. Empty means open.empty
RegionRegionWhere players searching by region find you.NorthAmericaEast
ServerVisibilityListed2 public, 1 friends only, 0 not listed.2
ServerMaxPlayerCountMaximum playersHow many can play at once.8
GameWorldWorldNavezgane, RWG or a made world such as Pregen06k01.Navezgane
WorldGenSizeGenerated world size6144, 8192 or 10240.6144
GameNameSave nameThe save’s name. A new name starts a new save.MyGame
PlayerKillingModePlayer killing0 none, 1 allies only, 2 strangers only, 3 everyone.3
BuildCreateCreative modeTurns on creative mode.false
PlayerSafeZoneLevelSafe zone up to levelPlayers at or below this level get a zone with no enemies when they spawn.5
LandClaimCountLand claims per playerMost claims one player can have.5
LandClaimSizeClaim size (blocks)Blocks a keystone protects.41
MaxSpawnedZombiesZombies at onceZombies in the whole world. A big effect on performance.64
ServerAllowCrossplayCrossplayLets console players join.false
EACEnabledAnti-cheatEasy Anti-Cheat (EAC).true
The Config Editor with the Server name, Join password and Listed rows
  1. Server name
  2. Listed
  3. Save

The file has more: bedrolls, safe zone hours, land claim expiry, slots, land claim hardness, view distance and others. The Config Editor shows them all, in the groups Server, Slots, World, Rules, Land claims, Performance, Technical and Advanced.

Settings that moved to World rules

In V3.0 The Fun Pimps (TFP, the developer) moved most gameplay settings into SandboxCode. The V3.3.0 file has no GameDifficulty, XPMultiplier, DayNightLength, BloodMoonFrequency, ZombieMove, DropOnDeath or AirDropFrequency. Each is now a World rule, and so are loot, traders, quests and more. Guides that tell you to edit those keys in serverconfig.xml are for older versions.

The shipped SandboxCode is AAAJABJACJADJARFBNC. The file’s own comment calls it the default difficulty of Adventurer. On Loafhosts, change the rules on the World rules page. See World rules and the SandboxCode.

Which file a Loafhosts server uses

The game replaces serverconfig.xml at every update, so edits there would be lost. A Loafhosts server starts from its own copy, serverconfig.custom.xml. It is made from serverconfig.xml when the server is installed, and kept after that. The Config Editor edits the same copy.

The server's top folder in Files, with the two settings files and the data, logs and Mods folders
  1. Your copy, edit this
  2. The game's own copy
  3. data
  4. Mods

The name you gave when you ordered is written into ServerName while the file still holds the game’s default name.

Edit it by hand

  1. Stop the server.
  2. Open the Files page and open serverconfig.custom.xml.
  3. Change the value. Keep the quotes. For example, to allow 16 players:
<property name="ServerMaxPlayerCount"			value="16"/>
  1. Save the file and start the server.

In the Config Editor the same rule holds: while the server runs, Save shows “Saved. Restart the server to apply the changes.” with Restart now.

The panel sets some keys on the start line, and the start line wins over the file: ServerPort, WebDashboardEnabled, WebDashboardPort, WebDashboardUrl, EnableMapRendering, TelnetEnabled, TelnetPort, TelnetPassword, AdminFileName and UserDataFolder. The Config Editor shows them under Advanced with the line “The panel sets this every time the server starts, so it cannot be changed here.” Editing them in the file does nothing.

If it does not work

  • Your change did not apply. You edited serverconfig.xml, not serverconfig.custom.xml, or the server was not restarted.
  • The file went back to an older version. If serverconfig.custom.xml stops reading as XML, the panel puts back the newest earlier copy that reads. The broken file is kept as serverconfig.custom.xml.broken. Look in it for a missing quote or a missing >.
  • A key you want is not there. Check World rules. It may be a rule now.

More about the game: 7 Days to Die servers.

Sources: 7daystodie.wiki.gg: Serverconfig.xml, 7daystodie.wiki.gg: Game Settings

7 Days to Die serversAll 7 Days to Die guides