ubuntuaddicted Posted March 28, 2015 Share Posted March 28, 2015 I have a dedicated server running on an ubuntu server. I had added a few mods to the modsettings.lua file by following what the wiki said to do for mods. Like adding these lines to that file ForceEnableMod("workshop-345692228")ForceEnableMod("workshop-346968521")ForceEnableMod("workshop-352373173") I thought that it had worked and my server showed that it was mod'd in the server list but after I ran the ./update.sh command today it appears that the modsettings.lua file has been reverted to what it was before. Can anyone please help? I don't want to have to edit the file everytime. Link to comment Share on other sites More sharing options...
Kzisor Posted March 28, 2015 Share Posted March 28, 2015 @ubuntuaddicted, modsettings.lua is depreciated. You should now be using modoverrides.lua in the configuration directory. You can read more about it here: http://dont-starve-game.wikia.com/wiki/Don%E2%80%99t_Starve_Together_Dedicated_Servers Link to comment Share on other sites More sharing options...
pokemonpie Posted March 28, 2015 Share Posted March 28, 2015 @ubuntuaddicted, modsettings.lua is depreciated. You should now be using modoverrides.lua in the configuration directory. You can read more about it here: http://dont-starve-game.wikia.com/wiki/Don%E2%80%99t_Starve_Together_Dedicated_Servers where does one find modsettings.lua Link to comment Share on other sites More sharing options...
Kzisor Posted March 28, 2015 Share Posted March 28, 2015 @pokemonpie, as stated before it's depreciated and no longer exists. Link to comment Share on other sites More sharing options...
pokemonpie Posted March 28, 2015 Share Posted March 28, 2015 @pokemonpie, as stated before it's depreciated and no longer exists. I know i meant to type modoverides.lua but the other one was stuck in my head when i typed it. Link to comment Share on other sites More sharing options...
rezecib Posted March 28, 2015 Share Posted March 28, 2015 @pokemonpie, It doesn't exist by default, just make a text file here: Documents/Klei/DoNotStarveTogether/modoverrides.lua If you are using -conf_dir (which is a good idea), then obviously DoNotStarveTogether will be a different folder, whatever you set it to. Link to comment Share on other sites More sharing options...
pokemonpie Posted March 28, 2015 Share Posted March 28, 2015 @rezecib thanks ill be honest other than generating the server token and getting the dedicated server up and running i dont know how to do much else. Link to comment Share on other sites More sharing options...
pokemonpie Posted March 29, 2015 Share Posted March 29, 2015 @rezecib ok rezecib i made the file and added the ForceEnableMod line for all my steam workshop mods but when i loaded my server it still didnt show that it was modded. what did i do wrong and also the wiki doesnt exactly state what the configuration directory Link to comment Share on other sites More sharing options...
Kzisor Posted March 29, 2015 Share Posted March 29, 2015 @pokemonpie, copied directly from the page I posted in the second reply: The second option is using a modoverrides.lua file. Dedicated servers can now enable mods and set mod configurations via a file in the configuration directory named “modoverrides.lua” (\Documents\Klei\DoNotStarveTogether\modoverrides.lua). An example of the contents of this file is return { ["workshop-350811795"] = { enabled = true }, ["workshop-387028143"] = { enabled = true }, ["workshop-361336115"] = { enabled = true, configuration_options = { hunt_time = 6, } }, ["workshop-336882447"] = { enabled = true }}Note, dedicated servers (and normal clients) can override the mod config options to non-valid options using this method. In this example, 6 is not a normal option for the hunt_time in the Hunt game mode mod. Link to comment Share on other sites More sharing options...
pokemonpie Posted March 29, 2015 Share Posted March 29, 2015 @kzisor so if i add the return line and the enabled = true line that will allow it to work ? Link to comment Share on other sites More sharing options...
Recommended Posts
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.