Two ids for every mod
This part is true for any Project Zomboid server. Every Steam Workshop mod needs two entries on the server.
- The Workshop item id is a number. It is the number at the end of the mod's Workshop page address. It tells the server what to download.
- The mod id is a name, not a number. It is the name the game loads the mod by.
The item id gets the mod downloaded and the mod id gets it loaded, so add both for every mod. In the game's own settings file, the two lists are the WorkshopItems= and Mods= lines.
The server downloads Workshop items by itself when it starts. No Steam sign-in is needed on the server.
Where to find the two ids
The Workshop item id is in the address bar when the mod's Workshop page is open: it is the number at the end.
The mod id is usually printed by the mod's author in the Workshop description, on a line that says "Mod ID". Some authors also print a "Workshop ID" line next to it. This is the author's habit, not something Steam adds, so a page may not show it.
Mods that need other mods
Some mods need another mod to work. On the Workshop page, the "Required items" box usually names it. Add the required mod the same way as the first one: its Workshop item id and its mod id.
Until the required mod is there too, the game does not load the mod that needs it, and the console prints required mod "..." not found.
For example, Workshop item 3451167732 lists NeatUI Framework (Workshop item 3508537032) under "Required items". A server with the Workshop items 3508537032;3451167732 and the mod ids NeatUI_Framework;ModernStatus starts with no required mod error.
The order of the ids does not matter: the game loads a required mod before the mod that needs it.
To add more than one mod, separate the ids with semicolons, one list for the item ids and one for the mod ids, for example 1111111111;2222222222 and ModOne;ModTwo.
While the server starts, it downloads each Workshop item. When the console shows SERVER STARTED and no line says required mod "..." not found, the mods are loaded.
Add a mod on a PlayDubious server
On our servers you do not edit the mod lines in the settings file. The Startup tab in the panel has two fields for them, Workshop Item IDs and Mod IDs, and the panel writes them into the settings file every time the server starts.
Your server starts by itself once it has installed; the first start builds the world, so give it about 5 minutes. Let that first start finish before you change anything. The settings file is created on the first start, and the panel writes your Startup settings into it from the next start on. Both mod fields are empty on a new server.
- Make a backup first. Open the Backups tab and make a backup. Your plan includes 4 backup slots. If a mod change goes wrong, you can restore this backup.
- Find the two ids. Note the mod's Workshop item id and its mod id, as described above. If the mod has required items, note their ids too.
- Fill in the Startup tab. Open the Startup tab. Put the item ids in Workshop Item IDs and the mod ids in Mod IDs. Separate several ids with semicolons and no spaces. Write mod ids plain, with no backslash in front.
- Restart. A change on the Startup tab takes effect at the next restart. Restart the server from the Console tab. Stopping the server saves the world first, and the same world loads again.
- Read the console. Watch the console while the mods download.
SERVER STARTEDwith norequired modline means the mods are loaded.
Players need the same mods installed. Your server installs the game's default Steam branch, which is Build 42, so check on each mod's Workshop page that it supports Build 42 before you add it. Zomboid Build 42 multiplayer has the details.
Remove a mod
Delete the mod's item id from Workshop Item IDs and its mod id from Mod IDs, then restart. An empty field leaves its line in the settings file empty at the next start. Make a backup before you remove a mod from a world that has been played.
The seven settings the panel writes
The Startup tab has seven Project Zomboid settings, plus Steam Auto Update: Server Name (shown to players), Listed in the public server list, Join Password, Maximum Players, Pause When Empty, Workshop Item IDs and Mod IDs. The panel writes these seven lines into the server settings file every time the server starts, so change them on the Startup tab, not in the file. A value typed into one of those seven lines in the file is replaced at the next start. The panel also sets BackupsOnStart=false at every start, because your backups are taken from the Backups tab. Every other line in the file can still be edited by hand.
If it does not work
The console says required mod "..." not found. A mod on your list needs another mod. Open the Workshop page of the mod you added, find the mod in its "Required items" box, add that mod's item id to Workshop Item IDs and its mod id to Mod IDs, and restart.
The Startup tab does not take the value. Workshop Item IDs takes digits and semicolons only. Mod IDs takes letters, digits, dots, dashes, underscores and semicolons, so a space, a comma or a backslash is not accepted.
Players get Workshop item version is different than server's. A mod was updated on Steam after your server downloaded it. Restart the server from the Console tab: it checks every Workshop item when it starts, and the console shows Workshop: item state CheckItemState -> Ready ID= and the item id for each one. If players still get the error, stop the server, open the Files tab and delete two things in steamapps/workshop/: the folder named after the mod's item id inside content/108600/ (if you do not know which mod, delete the whole 108600 folder) and the file appworkshop_108600.. Start the server again and it downloads them fresh. Your world and settings are not in these folders. If one player still gets it, that player restarts Steam, or unsubscribes from the mod and subscribes again.
The server does not start, or a mod is still missing. Check both fields for a typo or an extra space, and make sure every mod has both ids. Then read the last lines in the Console tab. If you cannot find the problem, restore the backup you made in step 1 from the Backups tab.
Project Zomboid servers hosted here are unofficial and not affiliated with The Indie Stone.
Quick answers
Do I need a Steam account on the server to download Workshop mods?
No. The server downloads Workshop items by itself when it starts, with no Steam sign-in.
Can I edit the WorkshopItems and Mods lines in the settings file instead?
Not on our servers. The panel writes those lines from the Startup tab at every start, so a hand edit is replaced. Use the Workshop Item IDs and Mod IDs fields.
When do my changes take effect?
At the next restart. Restart from the Console tab, or wait for the server's automatic nightly restart.
Should the mod id have a backslash in front of it?
No. Write mod ids plain in the Mod IDs field.