Closed gif30 closed 2 years ago
I've also tried adding only one mod - "MOD_NAMES=93lorevehiclepack;"
it also didn't work
This is actually an issue with adding mods in general to Project Zomboid. It is just awkward.
I notice you left the MOD_WORKSHOP_IDS
variable blank. You need to fill in both MOD_WORKSHOP_IDS
and MOD_NAMES
with the correct values ensuring that they are listed in the exact same order in each list. That is the most important part really, and also the most awkward.
Someone wrote a guide for my server that I found one time which explains their frustrations with installing mods. Here is that guide. It's a fun read.
@46620, thank you for your contribution 🙂
Thanks for the fast response! I will check that out :) i will try to find a way to get all the workshop_id :o
They're usually at the bottom or top of the Steam Workshop Mod page.
i'll close the issue,
I've created this little scripts in python that "helps" you list multiple workshop_id and mod_id with little work. i had to add like 70 mods and had only to do 6 manualy. you only have to add a mods collection id and it will create a csv file with the both ids and the url to the workshop
import requests
import pprint
import re
import csv
collection_id = "2771087983"
def get_mod_id(url):
#txt = '<br>Workshop ID: 2769706949<br>Mod ID: P4TidyUpMeister</div>'
#x = re.findall("Mod ID: (.*)<\/div>", txt)
#print(x)
r = requests.get(url)
#print(r.text)
x = re.findall("Mod ID: (.*)<\/", r.text)
#x = re.findall("Mod ID: (.*)<\/div>", r.text)
return x[0]
# https://steamcommunity.com/sharedfiles/filedetails/?id=2771087983
#data = {'sender': 'Alice',
# 'receiver': 'Bob',
# 'message': 'We did it!'}
#data_json = simplejson.dumps(data)
#
#payload = {'json_payload': data_json}
payload = {
"collectioncount" : "1",
"publishedfileids[0]" : collection_id
}
r = requests.post("https://api.steampowered.com/ISteamRemoteStorage/GetCollectionDetails/v1/?", data=payload)
res = r.json()
modsList = []
for ids in res['response']['collectiondetails'][0]["children"]:
workshop_id = ids['publishedfileid']
url = f'https://steamcommunity.com/sharedfiles/filedetails/?id={workshop_id}'
#print(workshop_id)
mod_id = get_mod_id(url)
if len(mod_id)>50:
mod_id = 'ERROR_PLEASE_ADD_MANUALY'
item = {"workshop_id": workshop_id, 'url': url, 'mod_id': mod_id}
modsList.append(item)
print(item)
#print(modsList)
# get csv
mods_info = ['mod_id', 'workshop_id', 'url']
with open('test.csv', 'w') as csvfile:
writer = csv.DictWriter(csvfile, fieldnames = mods_info)
writer.writeheader()
writer.writerows(modsList)
Hey! I think I have the same issue. I'm adding both:
- "MOD_NAMES=SkillRecoveryJournal"
- "MOD_WORKSHOP_IDS=2503622437"
It still gives me the error:
WARN : Mod , 1717727012800> 7,867,066,219> ZomboidFileSystem.loadModAndRequired> required mod "SkillRecoveryJournal" not found
My server is using non-steam mode. Is that a problem?
Bug I use the docker-compose to start my server but it does not work. The server is working right but mods doesn't load. I don't know if I should do some extra steps or if i didn't get how the mods should be loaded. Do i need to download de mods manualy? Do i need to change the way i add the mods?
To Reproduce
with the following config:
Expected behavior it should have mods
Desktop (please complete the following information):
Additional context SOME LOGS