Skip to content
glowfish

Home · Help · Project Zomboid: sandbox settings

Project Zomboid: adjusting sandbox settings

The sandbox settings determine how a Project Zomboid world plays: how many zombies there are, how fast and strong they are, how much loot is lying around and when electricity and water shut off. You set them in the customer portal, and from Flex M also directly in the file if you prefer.

Settings in the customer portal

  1. In the customer portal, open your Project Zomboid server and the card „Spielwelt-Einstellungen“ (World settings).
  2. The first section „Wichtigste Einstellungen“ (Most important settings) contains the 25 most frequently used values. You can find the rest of the 269 values of Build 42 in the other sections and via the search.
  3. Under „Voreinstellung“ (Preset), you can apply a ready-made set or one of your own presets. After a confirmation prompt, its values apply immediately. Values it does not specify fall back to the game's default.
  4. Every change is saved automatically. Changes take effect after the next server restart.
„Spielwelt-Einstellungen“ (World settings) card with „Voreinstellung“ (Preset) selection, search, expanded „Eigene Voreinstellungen“ (Own presets) block and the sections of the sandbox values
„Spielwelt-Einstellungen“ (World settings) card with the „Eigene Voreinstellungen“ (Own presets) block expanded. (customer portal in German)

Your own presets

You can save your settings under a name of your choice and apply them later to any of your Project Zomboid servers. Presets belong to your customer account, not to the server. They are kept when you reinstall a server, switch games or delete a server.

  • Save: in the „Eigene Voreinstellungen“ (Own presets) block, enter a name under „Aktuelle Werte speichern als“ (Save current values as) and select „Als eigene Voreinstellung speichern“ (Save as own preset). A preset with the same name is replaced.
  • Apply: in the „Voreinstellung“ (Preset) list under „Eigene Voreinstellungen“ (Own presets).
  • Rename: change the name directly in the list. Delete with the trash icon.
  • Download: with „XML“ as an XML file, for example as a backup or for another server.
  • Upload: under „XML-Datei hochladen“ (Upload XML file) with „Hochladen und übernehmen“ (Upload and apply). The values apply to this server immediately, and the file is also stored as an own preset under its name.

Up to 20 own presets, names up to 60 characters, XML files up to 256 KB. Unknown keys and values outside the permitted range are skipped and listed in the message. A Build 41 file on a Build 42 server applies only the matching values, and the message names the difference.

The most important settings

Zombie count, population multiplier, peak population multiplier, new zombies, speed, strength, toughness, memory, sight, hearing, transmission, incubation, reanimation, loot for food, weapons and other items, loot respawn, day length, start month, start time, water and electricity shutoff, XP multiplier, vehicles and vehicles on the map.

Start month and start time

Start month and start time only take effect in a new world, because the game time is stored in the save. In an ongoing world, they have no effect.

Directly in the file (from Flex M)

From Flex M, you can edit the file ending in _SandboxVars.lua in the folder Server in the file manager or via SFTP. This lets you, for example, apply the settings from one of your own saves.

  • The customer portal takes over values you change in the file after a short time. If you change the same value in the file and in the customer portal, the more recent change applies.
  • The server rewrites the file in its own format at every start. Your own comments are lost in the process, while the values remain.
  • Here too, changes take effect after the next restart.

Frequently asked questions

Why is my change not visible in the game?
The server reads the values at startup. Restart it after the change. Start month and start time only take effect in a new world.
Can I transfer my settings to another server?
Yes. Save them as an own preset and select it on the other server. Or download the XML file and upload it there. This also works after a reinstallation.
Can I upload a ready-made SandboxVars file?
Yes, from Flex M you can replace the file in the file manager or via SFTP. Create a backup beforehand.
From which tier are the sandbox settings available?
In the customer portal in every tier. You can edit the file directly from Flex M.

See also: Setting up Project Zomboid mods Build 42 or Build 41 File manager for game servers

View Project Zomboid server