Skip to content

Project Zomboid server guide

Your Project Zomboid server runs the Linux dedicated server from Steam, with the Java heap set from your plan at every start. The panel starts it with your Server Name, ports and admin account already in place, and it rewrites a few keys in the server’s .ini file on every boot. That last part matters: if you edit Password, MaxPlayers, Public, PublicName or PVP in the file, the next start puts the Startup value back. Change those in the panel.

The server creates its admin account from two Startup fields: Admin Username (admin by default) and Admin Password. Both are written into the start command every time the server boots.

  1. Open Startup and copy Admin Password. Each server is created with its own random one.
  2. In the game, join the server and use the same username and password as your login.
  3. Once you are in, open chat and run admin commands with a leading slash, for example /help.

The Startup password is only used to create the admin account the first time the server starts. Changing the field later does not change an existing account’s password. To change it, log in as the admin and run /setpassword "admin" "newpassword" in chat, then put the same value in Admin Password so the two match.

Do not post the admin password in Discord or a ticket.

Access levels are user, priority, observer, gm, moderator and admin. From your own admin session, in chat:

/setaccesslevel "theirusername" "moderator"

Use admin instead of moderator for a second full admin. /showoptions prints the current server options if you want to confirm a change landed, and /reloadoptions re-reads the .ini while the server is running.

These are fields on the Startup tab. Save, then restart.

Field What it does
Server Name Internal name, also the name of the save folder and .ini file
Admin Username / Admin Password The first admin account
Join Password Password players type to join; empty means open
Max Players Player cap, 1–100 (32 by default). Admins do not count
List in Server Browser false keeps you out of the in-game public list; Steam’s browser still lists the server
PvP true allows player damage; players can still opt out with the game’s safety system
Public Server Name The name shown in the server browser, up to 64 characters
SteamPort The UDP port used for Steam traffic
Steam Auto Update 1 updates the server on start, 0 leaves it alone

Changing Server Name points the server at a different .ini and a different save folder, so treat it as a new server.

Everything else — loot rarity, zombie count and speed, XP multipliers, respawns — lives in the sandbox settings file.

Sandbox options are in .cache/Server/<Server Name>_SandboxVars.lua, next to the .ini. The game writes these files when it shuts down, so edit them with the server stopped:

  1. Take a backup.
  2. Stop the server from the Console.
  3. Open the file in Files and change the values you want.
  4. Start the server and check the console for Lua errors — a broken file stops the world from loading.

Paths are relative to the server root, as shown in the Files tab.

Path Contents
.cache/Server/<Server Name>.ini Server settings, including the Workshop and mod lists
.cache/Server/<Server Name>_SandboxVars.lua Sandbox options
.cache/Server/<Server Name>_spawnregions.lua Spawn regions
.cache/Server/<Server Name>_spawnpoints.lua Spawn points per profession
.cache/Saves/Multiplayer/<Server Name>/ The world save and player data
.cache/db/<Server Name>.db Player accounts

This setup has no mod installer, but Project Zomboid loads Workshop content itself when the .ini lists it. Two lists are needed and both go in the same file:

  1. Take a backup and stop the server.
  2. Open .cache/Server/<Server Name>.ini in Files.
  3. On the WorkshopItems= line, add the Workshop IDs of the items, separated by semicolons, for example WorkshopItems=514427485;513111049.
  4. On the Mods= line, add each mod’s ID (shown on its Workshop page and in the mod’s mod.info file), in the order they should load. The comment above the line in the file shows the exact format for your game version.
  5. Start the server. The console shows each Workshop item being downloaded; players get the same files when they join.

Mods that need server-side Lua or map files will not work from the client’s copy alone, and a mod that is out of date against your server build is the usual reason a join fails.

A single-player world or another server’s save can be uploaded, as long as the folder name matches Server Name:

  1. Take a backup of the current server first.
  2. Stop the server.
  3. In Files, open .cache/Saves/Multiplayer/. Upload your world folder so its name matches the Server Name value, or rename it to match. Upload the matching files from .cache/Server/ too if you want that world’s settings.
  4. Start the server and watch the console. A world built on a different game build may be upgraded on first load — which is one-way, so keep the original.

Type these into the command box on the Console, or in chat with a leading slash. Most need admin.

  • save — save the world now.
  • servermsg "text" — broadcast a message to everyone.
  • kickuser "username" -r "reason" — kick a player.
  • banuser "username" -r "reason" — ban a player; add -ip to ban their address too.
  • setaccesslevel "username" "admin" — change someone’s access level.
  • showoptions — list the current server options.
  • reloadoptions — re-read the .ini without a restart.
  • Not in the server list. List in Server Browser is false, or Public Server Name is still the default. Set a name of your own; it is what players search for.

  • “Wrong password” or no login prompt. The join password is on Startup. If you changed it in the .ini, the next start overwrote it.

  • Server fills up at 32. Raise Max Players on Startup. More players need more RAM, so check your plan against the calculator on the Project Zomboid game page.

  • Cannot connect at all. Check the address and port on Connecting to your server, and make sure the client is on the same build as the server after a game update.