Gamehost

7 Days to Die server settings: serverconfig.xml and SandboxCode

Where 7 Days to Die server settings live since version 3.0, how to set the horde, day length and loot with SandboxCode, what stays in serverconfig.xml and what the panel overrides.

Gamehost team·6 min read·Updated:
7 Days to Die serverPlans from 6 GB RAM

Server ready a moment after payment. You can change the plan in the panel at any time, your world stays.

Short answer

7 Days to Die server settings live in three places:

WhereWhat you set there
Panel, Startup parametersnumber of players (Max Players)
serverconfig.xml, regular propertiesname, password, map, zombie limits, PvP, land claims
serverconfig.xml, the SandboxCode propertydifficulty, horde, day length, loot, airdrops, zombie speed

You edit the file in Files, and changes take effect after a server restart.

What changed in version 3.0

With update 3.0 (Dead Hot Summer, June 2026) the developers added a Sandbox Options menu to the game with about 150 gameplay options. At the same time they removed 30 old properties from serverconfig.xml. Their values are now stored in one code:

<property name="SandboxCode" value="AAAJABJACJADJARFBNC"/>

The code above is the default setting, the equivalent of the old "Adventurer" difficulty. Properties that moved into the code include:

Old propertyWhat it controlled
GameDifficultydifficulty level
BloodMoonFrequency, BloodMoonRangehow many days between hordes and how much that varies
BloodMoonEnemyCount, BloodMoonWarningzombies per player in the horde, warning before the horde
DayNightLength, DayLightLengthlength of a day in minutes and the number of daylight hours
LootAbundance, LootRespawnDaysamount of loot and how long it takes to respawn
AirDropFrequency, AirDropMarkersupply drops and their marker
ZombieMove, ZombieMoveNight, ZombieBMMovezombie speed by day, at night and during the horde
XPMultiplier, DropOnDeath, DropOnQuitexperience and what you drop on death or when leaving
BlockDamagePlayer, BlockDamageAIdamage dealt to blocks

If old entries such as BloodMoonFrequency are still in the file, the server skips them. The same goes for the Game Difficulty field in the panel's Startup parameters: difficulty is now decided by the code.

How to set the horde, day length and loot

  1. Start the game and open the Sandbox Options menu.
  2. Pick a ready-made set or change individual options: horde frequency, day length, loot amount, difficulty and the rest.
  3. Copy the code the game generates for those settings.
  4. In the panel, open serverconfig.xml in Files and paste the code as the value of SandboxCode.
  5. Save the file and restart the server.

The developers recommend the same route when moving a world from version 2.6: recreate your old settings in Sandbox Options and paste the code into the new file. So the code works with an existing save too, not only with a new world.

The code is a string of characters that you cannot edit by hand in any readable way. Write it down together with a note on what it sets, for example "horde every 5 days, 90-minute day, 150% loot". Next time you change something, you start from the same set.

What you still set in serverconfig.xml

Server settings, map settings and some of the rules stayed as regular properties:

PropertyWhat it doesDefault
ServerName, ServerDescriptionname and description in the server list
ServerPasswordpassword to joinempty
ServerVisibility2 public, 1 friends, 0 hidden2
GameWorld, WorldGenSeed, WorldGenSizemap and random world parametersNavezgane
GameNamename of the save
MaxSpawnedZombies, MaxSpawnedAnimalslimit of zombies and animals on the whole map64 and 50
PlayerKillingModePvP: 0 none, 1 allies only, 2 strangers only, 3 everyone3
LandClaimCount, LandClaimSize, LandClaimExpiryTimenumber and size of land claims, expiry after absence1, 41, 7 days
EACEnabledEasyAntiCheattrue
ServerAllowCrossplaylets console players join

Mods add their own files and settings on top of this, covered in 7 Days to Die server mods.

MaxSpawnedZombies has a big effect on performance. Raise it in small steps and watch the CPU on the Dashboard.

Settings the panel overrides

The server starts with a few parameters in its start line. They take priority over the file, so changing them in serverconfig.xml does nothing:

  • ServerPort: the port assigned by the panel, shown in the server address.
  • ServerMaxPlayerCount: you set it in the Max Players field in Startup parameters.
  • TelnetEnabled, TelnetPort, TelnetPassword: the panel connects the console on the Dashboard to the server through telnet, so changing them in the file can cut off the console. The telnet password for external admin tools is the Telnet Password field in Startup parameters.

Before bigger changes make a backup in Server backups (see Backups). If the server will not start after an edit, the cause is usually a typo in the XML, for example a missing quote or the slash at the end of a line.

Map and a new world

Three properties decide which map you play on:

  • GameWorld: Navezgane is the map made by the developers, always the same. RWG means a randomly generated map.
  • WorldGenSeed: the seed of a random map. The same seed and size give the same world, so you can recreate a map you know from single player.
  • WorldGenSize: the size of a random map in blocks. A bigger map means longer generation on the first start, more disk space and more memory.

The world save is tied to GameName. When you want to start over, you do not have to delete anything: set a new name in GameName and the old world stays on the server. You get back to it by restoring the previous name.

Map settings only apply when a new save is created. Changing the seed or size under the same game name does not rebuild the existing world.

Want a server on your own rules? Have a look at our 7 Days to Die server hosting.

FAQ

Since version 3.0 horde frequency is part of the SandboxCode. Set it in the game in the Sandbox Options menu, copy the code, paste it as SandboxCode in serverconfig.xml and restart the server.

Because since version 3.0 the game no longer reads that property. Together with 29 others it moved into the SandboxCode.

Day length and the number of daylight hours are in the SandboxCode. You change them in Sandbox Options and paste the new code into serverconfig.xml.

Yes. The developers recommend exactly this route when moving saves from version 2.6. Map settings such as GameWorld or world size, on the other hand, only apply to a new save.

In the server's main folder. You open it in Files in the panel or over SFTP.

Your own 7 Days to Die server

Plans from 8.49 € a month, set up in a few minutes and managed from one panel.

See plans