View Categories

How to set difficulty and other game rules on a 7 Days to Die server (Sandbox Code)

7 DAYS TO DIE

Since game version V3.0 and later, game rules such as difficulty settings have changed to a method where all settings are configured with a single code called the "Sandbox Code". The configurable items can be confirmed in-game at "Sandbox Options". This page guides you through the process of creating a code in-game, pasting it into the game panel, and applying it.

v1.0 (Created October 2026) BESTNET LLC Applies to all plans

Configuration method has changed from V3.0

Previously, difficulty was specified using numerical values. From V3.0 onwards in the game client, game rules including difficulty are integrated into the sandbox code.For this reason, [GAME] Difficulty (V2 以前のみ) in the launch settings (Startup tab) will not work in V3.0 and later. Changing the numerical value in this field will not change the game difficulty, so please configure it using the procedure on this page.
If you change the difficulty but it does not change, it is not a configuration error on your part. This is due to a specification change in the game client.

Step 1: Create a Sandbox Code in Your Game

The code is extracted from the game on your personal computer.
  1. Launch 7 Days to Die on your computer and open the "New Game" screen.
  2. Open "Sandbox Options" and select rules such as difficulty level. You can also select the official Preset from "Preset" and then make fine adjustments.
  3. Press "Copy Code" and Copy Code the displayed content.
You do not need to actually start New Game. You can simply close it by Copy Code.
A QR code is also displayed on the "Copy Code" screen. You can read it with your smartphone and share the code.
There are 6 official Preset. You can select them in the Sandbox Options in-game menu.
  • Scavenger ― The easiest setting.
  • Adventurer ― Easy setting. This is the default.
  • Nomad ― Standard difficulty.
  • Warrior ― More challenging than standard.
  • Survivalist ― Quite strict setting.
  • Insane ― The most difficult setting.

Step 2: Paste into the Game Panel

  1. Log in to the game panel and open the target server.
  2. Open the Startup tab and paste the code into the [GAME] Sandbox Code field.
  3. Restart the server from the Console tab.
The [GAME] Sandbox Code input field in the Startup tab of the game panel
The [GAME] Sandbox Code field in startup settings. Paste the code here.
Settings are applied when the server is restarted. They will not be applied while the server is running.
  • Whitespace and line breaks before and after the code are automatically removed when saved.
  • If you cannot save, please verify that the code has been copied correctly from beginning to end (check that it is not truncated or mixed with explanatory text).

Rules entered in the panel are rewritten each time the server starts

[GAME] Sandbox Code Code entered in is rewritten to the configuration file every time the server starts. Therefore, even if the configuration file reverts to the game's default values due to game updates or file verification, the rules will be restored on the next startup.
This rewriting is performed on items managed in the Startup tab. This includes server name, description, password, public setting, maximum players, world name, save data name, and so on. Even if you directly edit these in serverconfig.xml, they will be overwritten with the panel values on the next startup, so please make changes in the Startup tab. If you directly edit items that are not in the Startup tab, they may revert to their default values due to game updates or file verification.

When leaving a field blank or wanting to revert to defaults

While the [GAME] Sandbox Code field is empty, no write-back will be performed. The values in the configuration file will be used as-is.

For this reason, rules written previously will remain for a while, but when the configuration file reverts to its initial values due to file validation or a game update, the rules will also revert to their defaults.

Keep the code in the field while you want to maintain the configured rules.

To revert to the defaults (Adventurer), paste the following default code and restart.

AAAJABJACJADJARFBNC

Will it work on worlds I'm already playing?

The pasted code will be reflected as settings after the server restarts.Please note that we are unable to confirm how items related to world generation will be reflected in worlds that have already been generated. We refrain from providing definitive guidance on this matter.

Frequently Asked Questions

Q. The difficulty does not change even when I change [GAME] Difficulty (V2 以前のみ)

A. As of game version V3.0 and later, this field no longer has any effect. Please set the difficulty using the sandbox code (procedure on this page).

Q. Where do I select the difficulty name (Scavenger ~ Insane)?

A. In step 1, you can select it as an official Preset using Sandbox Options. You can also make fine adjustments after selection.

Q. The rules have not changed even though I pasted the code

A. First, please confirm that you have restarted the server. Changes will not be reflected while the server is running. If the settings do not change even after a restart, please check that the code has not been cut off halfway or that no other characters have been mixed in.
```html
Go to Game Panel → If you need assistance, please contact us via support ticket. © BESTNET LLC. All rights reserved. — 7 Days to Die is a trademark of The Fun Pimps Entertainment, LLC. BESTNET-GSERVER is not an official partner of The Fun Pimps.
```
Scroll to top