Jump to content

[Help] Can't activate mods on dedicated server


Recommended Posts

I've been trying to put mods into my dedicated server but they don't activate. All the mods are listed on dedicated_server_mods_setup.lua and when I open the server the console downloads them (I don't if it's bad that the console downloads them every time). I also created a world with all the mods configured and pasted the modoverrides.lua to the server. I'm pretty sure that all the steps are right, but when the server is open is lists the server as a server without mods and when I join the mods aren't there. I've seen that a lot of other people have a mods folder on their server folder, but I don't so I created it manually but it still doesn't work. I'll attach the server log and modoverrides.lua. The dedicated server I'm using is a reconfigured server I downloaded from a video and I suspect there may be a problem with the paths not recognizing where the mods are.

modoverrides.lua server_log.txt

It seems you are missing the configuration in your dedicated_server_mods_setup.lua. For a detailed description for installing mods on a dedicated server, you can check out my guide. It's a bit old, but the steps and infos are still up to date.

39 minutes ago, Daniel86268 said:

It seems you are missing the configuration in your dedicated_server_mods_setup.lua. For a detailed description for installing mods on a dedicated server, you can check out my guide. It's a bit old, but the steps and infos are still up to date.

I do have it here it is. Thank you though.

dedicated_server_mods_setup.lua

Hey I saw your modoverrides.lua file and I don't now if it affects but at the end of my mods I have an extra comma, like this

["workshop-490153236"] = {enabled = true},
}

also, take in note that if you are using the run script provided by klei the file where you put all of your ServerModSetup("490153236") is constantly overwrited when the script runs, what I did was putting my mod list downloads in a different file, then after the steam app validate runs I copy the modlist and rename it so the mods are downloaded when the dedicated server starts

It seems to me that you might have a 'bracket' problem in your modoverrides.lua

Quote

 

--DST Storm Cellar

 ["workshop-382177939"] = { enabled = true, configuration_options =
    {
        ["workit"] = nope,
        ["chillit"] = yep, },

 

Inside configuration_options, I believe an entity(?) of option has to be in bracket.

I will also check followings

1. Whether your modoverrides.lua file is in 'master' and 'cave' folder respectively(2 modoverrides.lua in total, in your documents folder in default)

2. Whether your dedicated_server_mods_setup.lua is in the right place (mods folder inside your server folder)

3. Check whether lua files are correctly written without error

I would also test with 1 or 2 mods first to check whether your configurations work.

Hope it helped

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...