In current 7 Days to Die 3.0 server configs, many common world and gameplay settings are controlled through SandboxCode in serverconfig.xml. This includes difficulty, time-of-day rules, zombie and horde settings, loot settings, and EXP settings. Older guidance that tells you to edit GameDifficulty or separate time-of-day fields is out of date because those separate settings are no longer present in the current server config.

SandboxCode is an encoded sandbox preset generated by the 7 Days to Die game client. You build the settings visually in-game, copy the generated code, then paste that full code into the server config. Do not try to manually edit the letters in the code.

  1. Open your 7 Days to Die server in the control panel.
  2. Click Configuration Files.
  3. Open serverconfig.xml with Config Editor if the panel exposes the current sandbox fields, or use Text Editor if you need to paste the code directly.

    7 Days to Die Configuration Files showing serverconfig.xml editors

  4. On your own game client, create or edit a sandbox preset with the difficulty, time, zombie, horde, loot, EXP, and world settings you want. From the new game setup screen, open Sandbox Options after choosing the preset you want to base the server on.

    7 Days to Die new game setup showing Sandbox Options

  5. Adjust the sandbox options, then copy the generated code from the sandbox code box.

    7 Days to Die Sandbox Options showing the Copy Code button

  6. Find SandboxCode in serverconfig.xml and replace the value with the code copied from the game client.

    7 Days to Die serverconfig.xml Config Editor showing Sandbox Code

  7. Click Save & Exit, then restart the server.

Example:

<property name="SandboxCode" value="AAAJABJACJADJARFBNC"/>
SandboxCode now controlsWhat that means
Time of Day settingsDay length, time/world progression, and related time settings from the sandbox preset.
Difficulty settingsOverall survival/combat difficulty from the game client preset.
Zombie and Horde settingsZombie behaviour, horde/Blood Moon style settings, and related world rules.
Loot and EXP settingsLoot abundance, XP gain, and similar sandbox options.

As of 7 Days to Die 3.0, these common world and gameplay settings are controlled by SandboxCode. The old separate server-side settings for difficulty, time of day, zombie/horde rules, loot, and EXP are no longer exposed as individual values in the current server config.

Some live admin console commands can affect the current running world temporarily, but the persistent server settings method for current 7 Days to Die 3.0 configs is SandboxCode. If the server fails to start after changing SandboxCode, restore the previous value or submit a support ticket with the code you pasted.

  • 0 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Související články

How to join your 7 Days to Die server

If you do not already have a server, you can order 7 Days to Die server hosting before following...

Enabling a whitelist on your 7D2D server

A whitelist lets you control who can join your 7 Days to Die server. Like admins, whitelist...

How to wipe your 7D2D world

Wiping data from your server: Log into your control panel Click on the service you want to...

Reinstalling your 7 Days to Die server

To reinstall your 7 days to die server, click onto the actions tab, then click reinstall. Done!  

How to install Oxide and Oxide Plugins

Login to your control panel. Stop your server and install Oxide using your mod manager....