Jump to content

Please help me modding a dedicated server which works fine in vanilla


Recommended Posts

I followed this tutorial and got a dedicated server working on Debian 12.8 (fresh OS install).

I tried to add mods based on the tutorial at the bottom, but it only shows up as a vanilla server without mods.

I made the following steps:

0. Followed this tutorial, works fine as a vanilla server

1. I deleted the word 'validate' from 'run_dedicated_server.sh'.

2. I added 'ServerModCollectionSetup("3386848581")' to 'dedicated_server_mods_setup.lua' 

3. I copied another .lua file, renamed it to 'modoverrides.lua', opened it in Kate, deleted the contents of it, and wrote this into it, and put one into the Master and Caves folders

4. Started server, got this on first start, then stop it with ctrl+C, start it again

When viewed in the in-game browser list on another computer, the server shows up as vanilla.

What should I do? Thank you for the help!

1. I'm not sure if you can use the Mod collection in the modoverrides.lua files. Try referencing the individual mods in there directly.

2. Make sure your dedicated_server_mods_setup.lua (directly in the mods directory) and your modoverrides.lua files (inside the individual shard directories) are in their correct locations.

3. In the past I had issues downloading mods with the ServerModCollectionSetup. I switched back to the normal ServerModSetup along with referencing all individual mods. Not sure if it still causes issues sometimes, but worth a shot, at least for debugging reasons.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...