Jump to content

Dedicated Server Mod re downloading and deleting modinfo.lua changes


Recommended Posts

As the topic title suggest, I am having issues with a mod from workshop not allowing to keep changes in its modinfo.lua.

 

Mod Name: Dynamic Season Length

SteamWorkshopID: 405506326

 

I tried to change the min. and max. values. By default they are 5 and 50. Altering those numbers then saving and then loading the dedicated server puts them back to 5 and 50 again. 

 

I have other mods such as Mineable Gems (ID:380423963) that allow me to tinker in modinfo.lua and retain the changes that I make. Verified it by changing drop rates from 0.1 to .9 and vice versa. When loading and reloading the server changes remain the same. 

 

Anyone else had a similar issue with another mod that did not want to keep changed configurations? 

 

Any help or suggestions would be very welcome. This is driving me crazy. 

 

Link to comment
Share on other sites

Hi @TheDude214,

 

do you use modoverrides.lua for change settings of the mod?

 

example:

 

["workshop-405506326"] = { --Dynamic Season Length
    enabled = true,
    configuration_options =
    {
        ["nameofsettings"] = value,
        ["nameofsettings"] = value,
        ["nameofsettings"] = value,
        ["nameofsettings"] = value,
        ["nameofsettings"] = value,
        ["nameofsettings"] = value,
    }
},

Link to comment
Share on other sites

I currently have this in my modsoverrides.lua

 

return {
    ["workshop-375850593"] = {enabled = true},
    ["workshop-343762271"] = {enabled = true},
    ["workshop-369588618"] = {enabled = true},
    ["workshop-380423963"] = {enabled = true},
    ["workshop-395420686"] = {enabled = true},
    ["workshop-384633033"] = {enabled = true},
    ["workshop-405506326"] = {enabled = true,
                configuration_options =
                {
                        spring = {
                                length = {
                                        min = 10,
                                        max = 20,
                                        },
                                },
                        summer = {
                                length = {
                                        min = 10,
                                        max = 20,
                                        },
                                },
                        autumn = {
                                length = {
                                        min = 10,
                                        max = 20,
                                        },
                                },
                        winter = {
                                length = {
                                        min = 10,
                                        max = 20,
                                        },
                                },
                }
        }
}
 
I tried to make the mod configurable in it. However it did not help and season still are between 5 and 50. Guess it goes back to modinfo.lua
 
I can post you the log.txt of when the server launches after I make modification to the modinfo.lua
 
Thank you for reply. 
Link to comment
Share on other sites

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