Don't Starve Together dedicated server guide for all platforms (Linux, Mac, Windows) with Docker. Extensive documentation covering mods installation, server config and performance, world generation and setting up admins.
Check dedicated_server_mods_setup.lua
. See the instructions in the file to install the mods you want.
Check modoverrides.lua
.
Same as with client mods, in the server they also can be installed but not enabled. You have to manually enable each of the mods you want to play with. To do so, make sure to define enabled=true
for each mod in modoverrides.lua
:
-- "000000000" should be the WorkshopID for the mod you're enabling
["workshop-000000000"]={ configuration_options={ }, enabled=true }
You can use the configuration_options
dictionary for each mod in modoverrides.lua
to set all the config options the mod supports. See my custom modoverrides.lua
for examples.
Unfortunately there’s no super simple way to figure out what options are available as they are up to the mod developer - and differ for each mod. You may dig through the mod’s source code, but that’s not practical.
Here’s what I do to “generate” the configuration_options
the easy way:
modoverrides.lua
was generated for you based on the settings you chose! You may find it in:
~/.klei/DoNotStarveTogether/Cluster_{N}/Master/modoverrides.lua
~/Documents/Klei/DoNotStarveTogether/{SteamAccountID}/Cluster_{N}/Master/modoverrides.lua
C:\Users\<your name>\Documents\Klei\DoNotStarveTogether\Cluster_{N}\Master\modoverrides.lua
Cluster_{N}
: {N}
is the number of the slot you used to host the game (1-5)DSTClusterConfig/mods/modoverrides.lua
before starting up your server!