GuavaHost
Language & currency
Client AreaGame Panel Toggle navigation
Games All Games
Minecraft JavaMinecraft BedrockMinecraft GeyserRustRuneScape: DragonwildsPalworldValheimValheim + BepInExARK: Survival EvolvedARK: Survival AscendedProject ZomboidEnshroudedDon't Starve TogetherCounter-Strike 2TerrariatModLoaderHytaleMulti-Game ServerDiscord Bot Hosting
Navigation PricingReviewsHelp CenterSupport Company About UsFAQRefer to earnSLATerms of ServicePrivacy Policy
Language & currency
Client AreaGame Panel

Editing Your Project Zomboid Server and Sandbox Settings

Project Zomboid keeps its settings in two files, servertest.ini for server options like the name, password and player slots, and servertest_SandboxVars.lua for the world rules like zombie count and loot, and you edit both on the Server properties page of your control panel.

2 min read · Updated Sep 24, 2026 · By GuavaHost Team

The two files that control your server

By default your server is named servertest, so its two config files are servertest.ini and servertest_SandboxVars.lua. On your GuavaHost server they live together in the .cache/Server folder. If you renamed your server, the files use that name instead, for example myserver.ini.

The easiest way to edit them is Server properties, under Game tools in your server's menu. It finds both files for you and shows them as two tabs: Server settings (servertest) and Sandbox settings (servertest), named after your server. You can also open the files on the Files tab.

Always take a snapshot on the Backups page before editing. If a change breaks the server, restoring puts everything back exactly as it was.

Editing servertest.ini

servertest.ini is a plain list of Setting=Value lines. On the Server settings (servertest) tab each setting has its own box, and the search box finds one by name. Change what you need. The most useful options are:

  • PublicName= and PublicDescription=, the name and blurb shown in the server browser.
  • Public=true or false, whether the server appears in the public list.
  • Password=, the join password players must enter. Leave it blank for no password.
  • MaxPlayers=, how many people can connect.
  • PVP=true or false, whether players can hurt each other.
  • PauseEmpty=true, which pauses the world when nobody is online.
  • Mods= and WorkshopItems=, your installed mods.

Editing the sandbox settings

servertest_SandboxVars.lua holds the world rules, the same options you see on the Sandbox screen when you start a solo game. The Sandbox settings (servertest) tab opens it as plain text. It is a Lua table, so each line looks like Setting = value,. Keep the commas and the SandboxVars = { wrapper intact.

Common settings to tune:

  • Zombies, the overall population. Lower numbers mean more zombies.
  • Distribution and the loot settings, how much gear you find.
  • XpMultiplier, how fast skills level up.
  • DayLength, how long an in-game day lasts.
  • WaterShutModifier and ElecShutModifier, how many days until the water and power cut out.

If you are unsure what a value does, open a solo game, set it on the Sandbox screen where every option has a description, and copy the number across.

Apply your changes

  1. Press Stop at the top of the server page.
  2. Make your changes on Server properties and click Save changes.
  3. Press Start again.

Editing while the server is running risks your changes being overwritten when it next saves, so always stop it first. Once it boots back up, your new settings are live.

Watch the Lua syntax

A single missing comma or brace in servertest_SandboxVars.lua can stop the world loading. If the server refuses to start after a sandbox edit, check the Console log for a Lua error naming the line, or restore your snapshot from the Backups page and try again.

Still stuck? Jump into our Discord at discord.gg/GuavaHost and the team will help you out.

  • project-zomboid
  • config
  • sandbox
  • server-settings

Host a Project Zomboid server From $5.99/mo, with instant setup and DDoS protection.

Still need help? Our team is online 24/7 to answer questions.

Contact support

Related guides

More from Project Zomboid.

  • How to Connect to Your Project Zomboid Server

    Connecting to your Project Zomboid server takes about a minute: grab the IP and port from your GuavaHost panel, add it under Join in the main menu, and enter your username and password to drop into the world.

    2 min

  • Installing Steam Workshop Mods on Your Project Zomboid Server

    Adding Steam Workshop mods to a Project Zomboid server means putting two values in your servertest.ini for every mod, the numeric Workshop ID on the WorkshopItems line and the text Mod ID on the Mods line, then restarting so the server downloads and loads them.

    2 min

  • Project Zomboid Admin Commands: Become Admin

    To run your Project Zomboid server you log in as the admin user with your admin password, then you can open the admin panel or type slash commands like /additem, /kickuser and /setaccesslevel straight into chat.

    2 min

  • Fixing a Project Zomboid Server That Is Not Showing in the Browser

    If your Project Zomboid server is missing from the in-game Internet browser, it is almost always because it is set to private, still starting up, or filtered out, and the quickest fix is to connect straight to it by IP under Favorites.

    2 min

  • How Much RAM Does a Project Zomboid Server Need?

    A vanilla Project Zomboid server runs well on about 2 to 3 GB of RAM for a small group, and you should add memory as you invite more players and stack on Workshop mods, especially large map packs.

    2 min