Labaro Games
← Back to Project Zomboid

How-to guide

Project Zomboid Build 42 server guide: RAM, mods and saves

Find out how much RAM a Project Zomboid Build 42 server needs, how to install Workshop mods, and how to move a local multiplayer save to a dedicated server.

How much RAM you need depends on your player count and mods. This guide covers RAM recommendations for Build 42, how to add Steam Workshop mods, how to move a multiplayer save, and how to fix a version mismatch between the game and server.

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

Your serverRecommended RAM
1–2 players, no mods or just a few4 GB
A group of friends (up to about 6), some mods6 GB
More players, lots of mods or Workshop maps8 GB

Workshop maps use the most memory, more than item mods.

Project Zomboid runs on Java, and what affects its performance most is how much memory you let it use. That's controlled from the panel's “Performance” tab.

The “Performance” tab

At the top you'll see how much RAM your server has. Below it, three options:

OptionWhat it does
“Automatic heap sizing”The recommended option. It sizes the Java heap based on the server's allocated memory and leaves headroom for the JVM itself.
“Heap size (MB)”Appears when automatic sizing is off. Set a fixed size within the range shown in the panel and leave headroom for the JVM.
“Garbage collector”How Java frees memory. Leave it on “G1GC”: it's the stable one. “ZGC” is experimental and needs more memory headroom.

Press “Save changes” and then “Restart server”. Changes only apply on restart.

Performance tab with 20,000 MB of allocated RAM, automatic sizing off, a manual heap of 18,500 MB, and G1GC

Signs you're short of memory

  • The server takes a long time to start or gets stuck loading the world.
  • Stutters every so often even with few players online.
  • The server shuts down by itself with no obvious error.

If that happens, upgrade your plan's RAM from the store and restart.

How to install Steam Workshop mods on a Project Zomboid server

Workshop ID and Mod ID

The Workshop ID is the Steam Workshop item's number. You can use that number or the item's link to find it. Mod IDs identify the mods included in that item. One item can contain several mods.

How to add a mod from the panel

From the panel's “Workshop Mods” page you add Steam Workshop mods without touching files:

  1. Find the mod with “Search Workshop”, or paste its link or number into “Steam Workshop ID or URL”.
  2. Check “Mod ID(s)”. The panel fills it in from the Workshop when possible. If the item includes several mods, keep the IDs you want to use and separate them with a semicolon.
  3. Press “Add” in the form and then “Restart server”. The server downloads the mods when it starts.

Add mod form with the Steam Workshop ID or URL and Mod ID(s) fields

Workshop Mods tab showing a list of Steam Workshop item IDs

To remove one, use “Remove” next to it and restart. No mods are banned.

How to install a Workshop map

If the map is a Workshop mod, follow the steps above to add it and its dependencies. Back up your world before removing a map from an existing save. When choosing RAM, keep in mind that Workshop maps use more memory than item mods.

A mod doesn't show up in game

Check with “Verify Mod IDs” in “Workshop Mods” that its ID is correct, and that you've added the mods it needs to work. Then restart.

How to move a local multiplayer save to a dedicated server

You can bring over a multiplayer save you have on your PC (created with “Host” in the game):

  1. On your PC, the save is in C:\Users\YOUR_USER\Zomboid\Saves\Multiplayer\ and its settings in C:\Users\YOUR_USER\Zomboid\Server\. If you never renamed it, it's called servertest.
  2. Look up your server's internal name in the “Startup” tab, “Server Name” field.
  3. Stop the server from the panel.
  4. Upload the save folder to .cache/Saves/Multiplayer/ on the server, renamed to the internal name from step 2. Replace the one that's there.
  5. If you want to keep your settings, also upload servertest.ini and servertest_SandboxVars.lua to .cache/Server/, renamed the same way (NAME.ini and NAME_SandboxVars.lua).
  6. Start the server.

Files tab at .cache/Saves/Multiplayer showing the B42Stable save folder

For large files use SFTP: the connection details are in the “Settings” tab and the password is your panel password. The file manager in the “Files” tab is fine for small files.

How to fix a server version mismatch after a Project Zomboid update

When a patch comes out, Steam updates your players' game. If the server is still running the previous version, players won't be able to join until you update it.

The server runs the official Build 42 release. In “Startup”, change “Steam Auto Update” from 0 to 1 and restart. It's off by default. Keep it on so the server checks for updates every time it restarts.

Connecting to the server

Your players need the game up to date on the regular Steam branch. Workshop mods download automatically when they join, and a password is only needed if you set one.

Your server's address is in the panel's “Network” tab: a name like play.labarogames.com followed by a port. To join:

  1. In the game, go to the option to join a server and add it with that address and port.
  2. If you've set a server password, enter it.
  3. The first time, each player picks a username and password. That's their account on your server: they have to use the same ones every time to get back to their character.

Basic settings

Almost everything is configured through forms in the panel, without touching files:

Panel tabWhat it controls
“Server Settings”Name, password, PvP, public listing…
“World Settings”Zombies, loot and world rules
“Workshop Mods”Steam Workshop mods
“Performance”Java memory

There's no per-plan player limit: you choose the maximum in the “Startup” tab.

In “Server Settings” and “World Settings”, change what you want, press “Save changes” and then “Restart server”. Changes apply on restart.

Admins

The initial admin is the username and password you set when ordering. To give admin rights to another player, type this in the panel's “Console” tab:

setaccesslevel "player_name" admin

My settings changes don't apply

Almost every change in the panel needs a server restart with “Restart server”.

Backups

Every server includes 1 backup, in the “Backups” tab:

  • Create: “Create Backup”. Best done with the server stopped, so the backup is consistent.
  • Restore: “Restore”. You can tick “Delete all files before restoring backup?” to put the server back exactly as it was.
  • Download: “Download”, to keep a copy on your PC.

Backups don't use your server's disk space.

Automatic backups

They're not on by default, but you can schedule them in the “Schedules” tab: create a schedule (daily, for example) with a backup task. Each new backup replaces the previous one.

First time in the panel

Stuck?

Message us on Discord and the people who run the servers will help.