How to make a private Project Zomboid server for friends
Tutorials

How to Make a Private Project Zomboid Server (Friends Only)

Public, Password and Open: the three Zomboid settings that keep griefers out, the whitelist-only option, and the shutdown rule that silently undoes your changes.

Want your own server? Project Zomboid server hosting — plans, specs and regions.

November 16, 20266 min read
Share

On This Page

Project Zomboid is at its best with a small group who trust each other. One griefer can burn down a safehouse that took three weeks to fortify. A private server keeps the world to your group, and Zomboid gives you more ways to lock it down than most survival games. This guide covers the settings, the order to apply them in, and the one rule that makes changes silently disappear.

The four settings that make a Zomboid server private

Everything about who can join lives in the server's servertest.ini:

  1. Public: off (Public=false). The server isn't listed in the in-game Internet browser. Players add it by address instead.
  2. Password (Password=). The door key. Everyone types it when they join.
  3. Open: off (Open=false). This is the strongest setting. With Open on, anyone who gets in creates their own account. With Open off, the server is whitelist-only: an admin has to add each player's account before they can join.
  4. Max players. Keep it at your group size plus one or two.

For a friend group, Public off plus a password is usually enough. Turn Open off if the password has leaked, if you're running a community server, or if you just never want a surprise visitor.

Skip SteamCMD, port forwarding and the 8GB crash loop

Every Connect plan starts at 10GB so a Build 42 world actually loads. Workshop mods from a picker, automatic updates and backups included. From $14.99/mo, online in 60 seconds.

Start a Zomboid server

The rule that eats your changes

Zomboid rewrites servertest.ini from memory when it shuts down. Any edit made while the server is running is overwritten on the next stop. It's the number one "my settings didn't save" cause in Zomboid. Always stop the server, edit, then start it.

On our servers the dashboard enforces that order for you. Settings save only while the server is stopped, or you can use save-and-restart.

Option 1: Self-host it

You can run the Project Zomboid dedicated server from Steam on a spare PC:

  • Edit servertest.ini (with the server stopped) for Public, Password and Open.
  • Forward UDP 16261 and 16262 on your router.
  • Give friends your public IP and port to add under Favorites.
  • Keep the PC on whenever anyone plays. Build 42 servers are hungry: plan on 8–10GB of RAM for the server alone.

Option 2: A hosted private server

On our Project Zomboid server hosting your server runs Build 42 and is ready a couple of minutes after checkout:

  1. Open the Settings tab (server stopped). Set the name, turn Public off, set a Password, and choose whether Open stays on or goes whitelist-only.
  2. Set max players to fit your group. It's capped to what your plan's RAM can honestly support.
  3. Keep "Pause when empty" on. The world freezes when the last player leaves, so your food doesn't rot at 4am. 24/7 community servers turn this off on purpose.
  4. Start the server and wait for SERVER STARTED in the console.
  5. Share the address. Friends go to Join → Favorites → Add to favorites, paste the host and port from your connection card, and type the password. Each player creates a username and password the first time they join. That's their identity on your server, not their Steam login.

An admin account is created automatically for you; its password is in your service settings. Log in with it to use the in-game admin panel (teleport, items, kick).

Whitelist-only servers (Open off)

With Open off, new players can't create accounts themselves. As the admin, add each friend's account with the /adduser "username" "password" command (in the server console, or in chat while logged in as admin), then send them those details. It takes a minute per player, and it means a leaked password is useless on its own.

Before your group's first night

  • Everyone must be on Build 42. A friend still on the Build 41 legacy branch can't join.
  • Decide world rules before launch. Some sandbox settings (zombie population, loot baselines) bake into the map as it generates, so changing them three weeks in applies unevenly.
  • Mods? Build 42 needs Build 42-tagged Workshop mods, and every player downloads them automatically when they join. If a mod stops the server loading, our B42 Workshop mods fix walks through it.
  • Back up. Automatic backups run anyway. Take a manual one before adding mods.

Common problems

I changed the password and it reverted. You edited while the server was running. Stop it, change it, start it.

A friend can't find the server. It's private, so it isn't in the Internet tab. Add it under Favorites with the host and port.

"Connection failed" for one player. Usually a version mismatch (Build 41 vs 42) or a mod they couldn't download. Check their game branch first.

A new friend can't log in on a whitelist server. With Open off, they need an account created by an admin first.

The short version

Turn Public off, set a password, and turn Open off if you want whitelist-only. Always edit settings with the server stopped. If you'd rather not run a 10GB server on your own PC, a private Project Zomboid server comes ready on Build 42 with the settings on a dashboard.

Frequently Asked Questions

How do I make my Project Zomboid server private?

Set Public=false so it isn't listed and set a Password. For a whitelist-only server, also set Open=false so only accounts an admin creates can join. Make the changes with the server stopped.

What does "Open" mean on a Zomboid server?

With Open on, anyone who can connect creates their own account. With Open off, the server is whitelist-only and an admin has to add each player.

Why do my Project Zomboid server settings keep resetting?

The server rewrites its config from memory on shutdown, so edits made while it's running are lost. Stop the server, edit, then start it.

How do friends join a private Zomboid server?

From the main menu: Join → Favorites → Add to favorites, enter the server's host and port, then the password. Private servers don't appear in the Internet tab.

How much RAM does a private Project Zomboid server need?

For a small Build 42 group, plan on 8–10GB at least. Bigger groups, larger maps and heavy mod lists need more.

Skip SteamCMD, port forwarding and the 8GB crash loop

Every Connect plan starts at 10GB so a Build 42 world actually loads. Workshop mods from a picker, automatic updates and backups included. From $14.99/mo, online in 60 seconds.

Start a Zomboid server

Or see plans, specs and regions on Project Zomboid server hosting.

Related Help Articles

Need step-by-step instructions? Check out these guides in our Help Center.