Hi! I have a home server that I can use to host a dedicated PZ server on LAn so me and my friend can play together, I installed the dedicated server, ect. But my friend asked me if we can use the mods he is using, he made a steam workshop collection, but steam throws a error (not specified, just steam error) when I try to open it. If that issue resolves, and I download the mods, how can I move the downloaded mods to my dedicated server? I saw a tutorial where they made a self hosted session with mods, and then after the serer started they copied the mod files, and configs from the self hosted server folder into the dedicated server folder, which allowed them to host dedicated server with mods. Please tell me theres a easier way to do this, I am also searching for way to solve the issue with the steam collection. Any help is appreciated in both topic/issue
#Help with workshop mods and dedicated PZ server
76 messages · Page 1 of 1 (latest)
I would suggest reading through these:
https://steamcommunity.com/sharedfiles/filedetails/?id=2682141370
https://steamcommunity.com/sharedfiles/filedetails/?id=2682570605
To enable mods, you just write each mod ID and Workshop ID to the server config
That is all, the server then loads those mods on the next launch
You cannot load collections, you have to specify each mod by itself
Theres 500 of them

Theres really no way to make this easier?
I am not aware of any way personally, you can ask in #mod_support though
I mean, if I self host a game with mods on, wouldnt that create a config file with all the mod workshop IDs?
Yes
And that should be compatible with my dedicated server right? All I know that character data is not compatible
I am not sure what you mean by that
Preferably you would enable mods that are compatible with the game version yes
I enable mods, I make a self hosted session, then I end it, leave PZ, copy the config file that contains the mods the server used, paste it into the dedicated server folder / config folder. I start the dedicated serer, and I have mods.
This is what I will do most likely
If the config file containing the workshop mods is compatible with dedicated server
(Aka if both dedicated server and self hosted session supports the same config format ect)
If that is faster for you then you can do it that way
One question
I aopened the port 16262 on my dedicated server
For project zomboid
But when I start the server and login with admin, after character creation it says the port 16262 is closed, and it will impact
performance, while its clearly open (I used it to join the server ect)
The protocol type I used when opening it was UDP
You need to open both 16261 and 16262
And you cannot use the Steam Relay option when connecting, since that disables the 16262 port
Yeah I solved that
Rn I can seem to find the config files
on my dedicated server
(I logged in as admin and created a character, + played, so there should be a config file)
C:\Users\YourUserName\Zomboid\Server folder
🙏
You are a life saver
Its named "servertest"
I cant remember giving it this name
Whatever, if I edit this and I restart the server
How can I clear the current player data
What player data are you referring to?
Since player data is saved in the players.db file in the save folder of the server
That makes sense
Thank you
@steep stump I am kinda confused, even when I selected a map with admin account, when I join the server with a different account it will ask me to select the map, is this bc the dedicated server can run multiple maps with players?
I am not exactly sure what you mean by "select a map"
You mean selecting your spawn point?
O
I am stupid
Theres only one big map
And spawns like riverside
It late at night for me 😭
Should stop doing this for today
Thank you for the help tho
Just one last question
Theres a option "mods="
And in the documentation
it directs me to
"\Steam\steamapps\workshop\modID\mods\modName\info.txt"
For the mods
Is this for the mod names, or the workshop IDs?
I am confused how I define mods in the config file
I saw both by name, and by workshop ID (in tutorial videos iirc)
Both are necessary, you fill out the ModID in mods=
And workshop IDs in Workshopitems=
like mods=123456789, 987654321
?
No, that is the workshop ID
Wait, whats the difference between workshop id and modid?
workshop Id is a number
and modid is a string?
Like the name of the mod?
More or less, you can see them when you go to the Workshop page of a mod
They are both listed at the bottom of the description
I see
@steep stump I figured it out, my friend will make a server config that contains all the settings we want, + mods, and he sends me the config (.ini file) which I paste into my dedicated server config folder aka replacing the old ini file
And I dont have to go trough the 500 mods he uses