Skip to content
/SLASHPLAY

How to change difficulty and day length on a 7 Days to Die server

In the game's new game screen, set the sandbox options, copy the code, and paste it into SandboxCode in sdtd.xml; then restart.

SandboxCode

A code holding the world's sandbox options: difficulty, day length, blood moons, loot, XP and more. Default is Adventurer.

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

Examples

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

Adventurer, the default difficulty.

What it does

Build the options in the game's new game screen, open sandbox options, press the copy code button and paste the code here. It replaced the separate difficulty settings older configs had.

Good to know

  • Edit sdtd.xml on the **Files** tab (under **Advanced**) and restart the server.
  • After the restart, run getsandboxoptions in the in-game console (F1) to check what the world uses.
  • An sdtd.xml made before this setting existed doesn't have the line; add it inside <ServerSettings>.

Run it on your 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. New to this? Start a 7 Days to Die server first.

Your own
7 Days to Die server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.