SandboxCode line in serverconfig.xml. To change difficulty, XP, loot, day length, zombies, blood moons or traders on FREAKHOSTING, set the options in the game’s Sandbox Options menu on your PC, copy the code it generates, paste it into Difficulty code (sandbox) on Game settings and restart.
What the sandbox code controls
The official V3.0 release notes moved these rules out ofserverconfig.xml and into Sandbox Options:
Settings that are still separate lines, such as server name, player slots, land claims and performance limits, stay on their own fields on Game settings.
How to make and use a sandbox code
1
Open Sandbox Options in the game
On your PC, start a new game in 7 Days to Die and open the sandbox options. Start from a preset if you like, then change the options you want. Your PC must run the same game version as the server.
2
Copy the code
The game shows a code for your choices. Copy it exactly.
3
Paste it on Game settings
In the Game Panel, open Game settings > Difficulty and rules and paste the code into Difficulty code (sandbox). Click Review and save.
4
Restart
Restart the server. The game reads the code at start.
Does a new code apply to my existing world?
The official notes tell admins who continue an older save to paste their code intoserverconfig.xml, so the server reads it at every start. If a changed rule doesn’t show in your current save, start a new save to be sure: set a new Save name (see reset your world).
Official presets
The game includes ready-made presets such as Undead Matinee, Madmole’s Mayhem, Almost Creative Mode, Bite Club, Legacy Survival, 7 Days Later, Caveman’s Life, Dumpster Diver, Dying World, Disaster Film and Chibi Mode, plus the classic difficulty presets. Pick one in the game’s Sandbox Options and copy its code.Frequently asked questions
Where did XPMultiplier and LootAbundance go?
V3.0 removed them fromserverconfig.xml. XP and loot are now part of the sandbox code.
My code worked before an update and now some settings reset. Why?
V3.1 split enemy and animal density and respawn into day and night options. The developers asked admins to check their codes, because an invalid code can reset some or all settings. Make a new code on the current version.Can I use the presets on Game settings instead?
The Presets on Game settings fill in several panel fields at once. For the rules listed above, the sandbox code is what the game uses.How do I see which options the server uses?
Typegetsandboxoptions in the panel console. It lists the sandbox options the server is running with.
Related guides
7 Days to Die server guide
Every 7 Days to Die page in one place.
Blood moon settings
Horde night options.
Trader hours and protection
Trader sandbox options.
serverconfig.xml and Game settings
Settings outside the code.
Reset your world
Start a new save.
Checked against the official V3.0 release notes and V3.1 release notes on 31 October 2026; panel field tested on 7 Days to Die V3.4.0 b9 on our Game Panel. Options may change with game updates.
Need Extra Help?
If you encounter any issues, our support team is ready to assist:- Live Chat: Quick assistance via our website.
- Support Ticket: Open a Ticket
- Discord: Join our Community
- Email: support@freakhosting.com
Last Updated: October 2026