Jump to content

I need help (adding mods to dedicated server)


Recommended Posts

Hello,

I have a few questions regarding mods.
I tried following this guide in the link below and it didn't work, what am I doing wrong exactly with the ForceEnableMod" method?

http://dont-starve-game.wikia.com/wiki/Don’t_Starve_Together_Dedicated_Servers
I'm running it through steamCMD

This is what my Modsettings.lua look like from the folder: steamcmd/steamapps/common/DST dedicated server/mods1QhYYHo.png

Every time I run the server and re-open the Modsettings.lua, my edits are gone as well. How do I enable the mods for my server and keep them there?

Link to comment
Share on other sites

Same problem with both mod files. dedicated_servers_mods_setup.lua and  modsettings.lua... All my corrections are gone away after server starts... Help please. I tried to install AFK detection...

Link to comment
Share on other sites

dedicated_server_mods_setup.lua and modsettings.lua files are reverted to their original contents by validate parameter in the steamcmd command that updates the server. According to https://developer.valvesoftware.com/wiki/SteamCMD#Validate, the validate parameter is recommended after the first install and when there are some problems due to corrupted files.

Remove the validate steamcmd parameter from the batch/script that is used to start the dedicated server regularly (and possibly make a separate batch/script that contains it, to force updating if some problems arise).

Also, the recommended way to enable the mods is via modoverrides.lua file, not force-enabling them in modsettings.lua. You'll still have to specify them in dedicated_server_mods_setup.lua to actually download them (and update them when a mod gets updated).

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