PACKYARDStart your server

Project Zomboid Build 42 Dedicated Server: Setup and RAM

Published

Short answer: Build 42 multiplayer is on the normal Steam branch now. 42.20 went stable on 29 July 2026, and 42.21 (28 September 2026) is the current stable build. A dedicated server installs with no beta flag. Old Build 41 worlds won't load. B42 mod lists need a backslash before each mod ID. And B42 uses more memory than B41, because more of the game now runs on the server.

Which branch should your server run?

Steam branchVersion (Nov 2026)Use it when
Default (no beta)42.21 stableAlmost always. It's what your friends have unless they changed it
Pre-Release42.22 (from 27 Oct 2026)You want ladders and crowbar break-ins early and your whole group opts in. It replaced the old Unstable branch
legacy41Build 41You want to keep a Build 41 world or B41-only mods

The server and every player have to be on the same branch and version. In Steam that's Project Zomboid → Properties → Game Versions and Betas. When a friend gets "version mismatch", it's nearly always this.

Install the Build 42 dedicated server

The dedicated server is a free Steam tool, app ID 380870. On Linux with SteamCMD:

steamcmd +force_install_dir ./pzserver +login anonymous +app_update 380870 validate +quit

Add -beta legacy41 before validate only if you want Build 41. On Windows you can install "Project Zomboid Dedicated Server" from the Tools section of your Steam library instead. Our guide on how to make a Project Zomboid server covers the self-hosted route step by step, including port forwarding.

The first start creates the config files. By default they go in Zomboid/Server/ in your user folder, named after the server (servertest unless you pass -servername):

Stop the server before editing any of them. A running server writes its own copy back on shutdown and overwrites your changes.

The ini lines most groups change

KeyExampleWhat it does
Password=Password=knoxcountyJoin password. Blank means anyone can join
PublicName=PublicName=Muldraugh CrewThe name shown in the server browser
Public=Public=falseWhether it's listed in the in-game browser
MaxPlayers=MaxPlayers=8Player cap
PVP=PVP=falsePlayer damage on or off
PauseEmpty=PauseEmpty=trueFreezes world time when nobody is online, so the world doesn't decay while you're away
SaveWorldEveryMinutes=SaveWorldEveryMinutes=15Auto-save interval; 0 means only on shutdown
WorkshopItems=WorkshopItems=111111;222222Workshop items the server downloads
Mods=Mods=\ModIdA;\ModIdBMods the server actually loads

Mods on Build 42: the backslash

In Build 42, every entry on the Mods= line starts with a backslash:

WorkshopItems=111111;222222
Mods=\ModIdA;\ModIdB

The two lines do different jobs. WorkshopItems= is what Steam downloads, using the number in the Workshop page's URL. Mods= is what the game loads, using the id= from each mod's mod.info file, not the Workshop title. Separate entries with semicolons, not commas. One Workshop item can contain several mods; it appears once in WorkshopItems= and each of its mod IDs goes in Mods=.

A Build 41 mod list pasted into a B42 server, with no backslashes, loads nothing and shows no error. Also check that each mod's Workshop page says it supports Build 42. Plenty of B41 mods were never updated.

How much RAM does a Build 42 server need?

The Indie Stone doesn't publish a server requirement, so these are working figures for the Java heap (-Xmx), not for a whole PC:

GroupModsHeap to aim for
2-3 friendsVanillaabout 3 GB
2-5 friendsVanilla or a few small modsabout 4 GB
Up to ~10 playersA light mod listabout 6 GB
10-20 playersA real mod list8 GB or more
20+ players, old worldHeavy mods, big maps12 GB or more

Build 42 needs more than Build 41 for the same group. Inventory transfers, containers, loot and timed actions are now handled by the server, which is what makes B42 multiplayer harder to cheat in, and that state lives in server memory. Vehicles, map mods and a well-explored world add the most on top.

The heap is set by -Xmx. On Windows it's in StartServer64.bat. On Linux it's in ProjectZomboid64.json, which ships with -Xmx8g. That's a problem on a small machine or a container with less than 8 GB: Java can grow into the full heap, and then the system kills the server, often mid-save. Set the heap below the memory you actually have, because Java needs room outside the heap too. On Packyard we rewrite that value on every start to 80% of your plan, so a 5 GB server gets a 4 GB heap and a 4 GB server gets about 3.2 GB.

Signs you're out of memory: the server stops mid-session with no error at the end of the console, or it freezes for several seconds at a time as it nears the limit. Lag around a big horde or a car pile-up while memory sits well under the limit is CPU, not RAM.

Why can't my friends join?

  1. Different build. Check Properties → Game Versions and Betas on both sides, and make sure both of you have taken the latest update.
  2. Mods don't match. Everyone needs the same Workshop items. B42 downloads them when you join, but a mod that was removed from the Workshop breaks the join.
  3. Ports. A self-hosted server needs UDP 16261 and 16262 forwarded to the PC that runs it.
  4. Password or whitelist. With Open=false, only accounts on the whitelist can join.

For what to type once you're in, from /setaccesslevel to giving items, see our Project Zomboid admin commands. If you're still deciding how to play together at all, is Project Zomboid multiplayer? compares hosting from the menu, joining, and a dedicated server.

Project Zomboid on Packyard

A Packyard Project Zomboid server runs Build 42 stable for PC on Steam, with updates on every start so it matches your friends' game.

Start a Project Zomboid server, from $6 a month

Project Zomboid belongs to The Indie Stone. Packyard is not affiliated with them.

FAQ

Is Build 42 multiplayer out on stable?

Yes. Multiplayer came to the stable branch with 42.20 on 29 July 2026. 42.21 is the current stable build, and 42.22 is on the optional Pre-Release branch.

Do I still need the unstable beta for a Build 42 server?

No. The default branch is Build 42, so install app 380870 with no beta flag. The Unstable branch was renamed Pre-Release in October 2026.

Can I bring my Build 41 world to Build 42?

No. Build 41 saves don't load in Build 42. Keep that world on the legacy41 branch, or start a new world on Build 42.

Why do my mods not load on my Build 42 server?

Usually the Mods= line has no backslashes, uses Workshop titles instead of the IDs from mod.info, or uses commas. Each entry should look like \ModId, separated by semicolons.

How much RAM does a Project Zomboid Build 42 server need?

About 3 GB of heap for 2-3 friends and 4 GB for up to 5 on vanilla, about 6 GB for up to 10 players with light mods, and 8 GB or more for bigger groups or heavy mod lists. Build 42 needs more than Build 41.

Can console players join a Project Zomboid server?

No. Project Zomboid is a PC game, and Packyard's servers are PC on Steam only.

More guides and posts on the Packyard blog.