Skip to content
Minecraft Minecraft: Bedrock Edition Rust Counter-Strike 2 Palworld Valheim Satisfactory Enshrouded
Configure server Sign in
DE EN

Safely Editing Project Zomboid Server Settings and Sandbox Options

Project Zomboid keeps server options in the profile INI and sandbox values in the associated SandboxVars.lua file. Check the active profile and test changes on a separate copy.


Project Zomboid keeps server rules and world settings in different places: server options are in the profile INI, while sandbox values are in the associated <Profil>_SandboxVars.lua. The active profile determines the filenames. Back up the world and configuration first, stop the server cleanly, and try changes on a separate copy. This helps prevent accidentally overwriting the running world with an example from another version.

What goes in each file?

The file <Profil>.ini contains server options. For example, the typical profile servertest uses servertest.ini. Sandbox values such as world rules belong in <Profil>_SandboxVars.lua, for example servertest_SandboxVars.lua. A reply from an administrator at The Indie Stone names User/Zomboid/server/servertest.ini as the usual INI location; the older multiplayer FAQ names Zomboid/Server/<Servername>_SandboxVars.lua for the sandbox file. The folder capitalization differs in these references. Treat them as examples and check which files your running server or hosting panel creates for the active profile. The Indie Stone: Server profile note · The Indie Stone: older Multiplayer FAQ

Do not simply open the first file named servertest.ini: check the profile name in server management and match it to the filename. The sandbox file must use the same profile name. If you have several server profiles, edit the files for the profile you actually start.

Back up before editing

  1. Note the game build and beta branch, the profile name, and the filenames you intend to change.
  2. Stop the server through its console or management interface and wait until the process has actually stopped. Do not edit configuration while the server is still writing.
  3. Back up the full world state, the INI, the matching sandbox file and the active profile’s existing mod list to a separate location. Check that you can open the copy and that it contains the expected files.
  4. Create another separate test copy for the change. Do not link it to the same world files as the running server.

Testing a game server backup with a test restore explains how to check a backup in a separate environment.

Before switching builds, back up the full world state and test on a separate copy. Do not open a production world as a trial with another build.

Change one setting in a controlled way

First open the INI for the active profile if you want to change a server option. For a sandbox setting, open the matching <Profil>_SandboxVars.lua. Change only one value per run. Use the name and value range shown in your version or in the in-game menu; a list from another build may be outdated.

The INI uses entries in the form Option=Wert. SandboxVars.lua is a Lua file with its own table structure. Change an existing value in place and preserve brackets, commas and quotation marks. Do not copy a complete example file into your profile or add invented option names. If an option does not appear in the menu, that does not prove that an entry with the same name from an older build is still supported.

Save the change in the test copy first. Start the same build and profile there as in the planned deployment. Read the startup log for syntax or loading errors, then connect with a suitable test client. Check the specific setting in-game or in the relevant admin view. A successful start alone does not confirm that the new sandbox setting affects an existing world. If you cannot clearly see the effect, compare it with a separate test world instead of deleting files or folders from the original world.

Treat Build 41 and Build 42 separately

As of October 7, 2026, The Indie Stone lists Build 42.21 as Stable; Build 41 remains available through the separate beta branch legacy41. The developers described a version-dependent mod structure for Build 42: Build 41 loads mod files from the package root, while Build 42 can use matching version-specific subfolders. Do not transfer option lists or complete .lua files between branches without checking them. Check the running build before making a change and work with the active profile’s files. The Indie Stone: Build 42.21 Stable · The Indie Stone: Build 42 mod structure · The Indie Stone: Build 42.20 and legacy41

If the change is not visible

  • Wrong profile: Check whether you edited servertest.ini or a different profile such as meinserver.ini. The sandbox file must use the same profile name.
  • Wrong file: Server options and sandbox values belong in different files. A key in the wrong place is not applied automatically.
  • File does not load: Check the first meaningful error in the server log and inspect brackets, commas and quotation marks in the Lua file. For comparison, restore only the changed file from the backup.
  • The value looks the same in-game: First confirm the build, profile and restart. Sandbox values may have different effects depending on the build and save. Repeat the attempt on a new, separate test world before touching an existing world.

A mod change also requires the correct Workshop and Mod IDs; Matching Project Zomboid Workshop IDs and Mod IDs explains the separate entries. Find more server guides in the AeonHost documentation; for a specific question, use the contact page.

Sources

Did this guide help? We are happy to help personally.