Mods on a Project Zomboid server
How to add Steam Workshop mods to a Project Zomboid server with WorkshopItems and Mods, why load order matters and what to do when the server will not start.
Short answer
Every mod has to be entered in two fields of the server config file. You find it in Files under .cache/Server/, as an .ini file named after your server (by default Pterodactyl.ini).
| Field | What goes there | Example |
|---|---|---|
WorkshopItems | Steam Workshop item numbers | 2392709985;2169435993 |
Mods | mod IDs given by the author | ModManager;Brita_2 |
Separate entries with a semicolon, no spaces. The server downloads the mods from the Workshop itself at startup, so you do not upload any files by hand.
The most common mistake we see on customer servers: the Mods field is filled in while WorkshopItems is empty. The server then has nothing to download and the mods simply do not load.
Where to find both IDs
The Workshop number is the number in the mod page's address, the part after ?id=. There is always exactly one per Workshop item.
The mod ID is given by the author in the description, usually as Mod ID: something. One Workshop item can contain several mods. In that case enter every ID you want to enable.
Authors sometimes change the ID with a big update. If a mod worked and stopped after an update, check its Workshop description before looking for the cause elsewhere.
Load order matters
Mods load in the order they appear in the Mods field. Libraries and modules that other mods require must come before them, otherwise the server reports a missing dependency or starts without part of the content.
A practical rule: libraries and managers first, then big packs that change gameplay, small tweaks and cosmetic mods last.
What players need to do
Players do not have to enter anything. When they join, the game downloads missing mods from the Workshop by itself and asks for a restart if it had to fetch anything.
Trouble starts when someone has an older version of a mod downloaded earlier. Unsubscribing from the Workshop item, deleting its files and subscribing again usually fixes it. Keep this in mind when one person in the group cannot get in while everyone else plays.
When the server will not start after adding mods
- Check the console. Zomboid prints the name of the mod it failed on, along with the reason.
- Remove mods in halves. Instead of testing one by one, cut half of the list and start the server. With a few dozen mods, that is the difference between five starts and thirty.
- Be careful with map mods. Removing one from a world you have played leaves holes in the terrain that cannot be repaired.
- Back up before changes. The world save is in
.cache/Saves/Multiplayer. Downloading that folder to your PC is enough, or make a copy in Server backups.
FAQ
Why do mods not load on the server? Most often because only the Mods field is filled in and WorkshopItems is empty. The server needs the Workshop item number to download the files.
What is the difference between Mods and WorkshopItems? WorkshopItems are Steam Workshop item numbers. Mods are the IDs of the individual mods inside those items.
Do players have to download mods by hand? No, the game downloads them when joining. The only trouble comes from older versions downloaded earlier.
Can I remove a mod from a running world? Technically yes, but mods that add items or terrain leave errors behind. Back up your save before removing one.
Mods can double the memory a server needs, see How much RAM a Project Zomboid server needs. Looking for a server for your modpack? See Project Zomboid server hosting.