Don't Starve Together

Don't Starve Together

128 ratings
How to install,configure and update mods on Dedicated Server
By ToNiO and 1 collaborators
This guide is for helping step by step to install,configure and update mods on dedicated server for don't starve together

----

I want to clarify that I will show my method to install, configure and update mods on dedicated server,maybe it's not the best method,but at least it works fine, there are lots of ways to do this

I just want to explain the installation with maximum information,I give just one example but you can customize your install as you wish

----

this tutorial is for all systems (Linux, Windows Server, Mac OS X) and also for preconfigured servers with Steam Tools
   
Award
Favorite
Favorited
Unfavorite
Summary
Subscribe on Steam Workshop
so i going make example with 3 mods for install,configure and update mods on dedicated server

Mod Health Info:
http://steamcommunity.com/sharedfiles/filedetails/?id=375859599
Mod Global Position:
http://steamcommunity.com/sharedfiles/filedetails/?id=378160973
Mod Ancient Altar:
http://steamcommunity.com/sharedfiles/filedetails/?id=481765222
you need subscribe to the mods on steam workshop for download mods on your computer:

go on steam workshop of don't starve together:
http://steamcommunity.com/app/322330/workshop/

search mods of what do you want, for my guide i going search 3 mods:

(Health Info,Global Position,Ancient Altar)


  • subscribe to all the mods you want to install
  • run don't starve together and go in Mods
  • go in server mods and check if you have mods
  • if all it's ok you can stop your game

for mod Health Info:

search Health Info in workshop steam:



choose Health Info:



subscribe Health Info:



for mod Global Position:

search Global Position in workshop steam:



choose Global Position:



subscribe Global Position:




for mod Ancient Altar:

search Ancient Altar in workshop steam:



choose Ancient Altar:



subscribe Ancient Altar:



check mods in your game:







Installation of mods for preconfigured server with Steam Tools
I going show a example for install mods, it's based about settings on this guide for preconfigured server with Steam Tools:

http://steamcommunity.com/sharedfiles/filedetails/?id=635281092
here the default path directory for mods of your game

  • Steam\steamapps\common\Don't Starve Together Dedicated Server\mods

so you need to edit file: dedicated_server_mods_setup.lua

here is a simple example to how add your mods in this file:


--#Global Position
ServerModSetup("378160973")

--#Ancient Altar
ServerModSetup("481765222")

--#Health Info
ServerModSetup("375859599")

of course if you use different mods you just need to change numbers and names

to retrieve the numbers of mods, this is very simple

you just have to get the numbers of mods of the folder the folder workshop-xxxxxxxx in same path directory


  • workshop-378160973
  • workshop-481765222
  • workshop-375859599

to find out which number corresponds to such mod, consult the modinfo.lua file that's in every mods (check screenshots)

  • name = "Global Positions"
  • name = "Ancient Altar"
  • name = "Health Info"

when you have finish don't forget to save dedicated_server_mods_setup.lua

for the moment the mods are just installed on the server, but they are not activated,
you need follow the next step


how add mods in dedicated_server_mods_setup.lua:





how retrieve the numbers of mods:



example for find name of mods:



Installation of mods for dedicated server on Linux
I going show example for install mods, it's based about settings on my guide dedicated server on Linux:

http://steamcommunity.com/sharedfiles/filedetails/?id=590565473
you need go to the following directory:

  • cd /home/dst/server_dst/mods

so you need to edit file: dedicated_server_mods_setup.lua

  • nano /home/dst/server_dst/mods/dedicated_server_mods_setup.lua

here is a simple example to how add your mods in this file:

--#Global Position
ServerModSetup("378160973")

--#Ancient Altar
ServerModSetup("481765222")

--#Health Info
ServerModSetup("375859599")

of course if you use different mods you just need to change numbers and names

to retrieve the numbers of mods, this is very simple

you just have to get the numbers of mods of the folder the folder workshop-xxxxxxxx in same path directory


  • workshop-378160973
  • workshop-481765222
  • workshop-375859599

to find out which number corresponds to such mod, consult the modinfo.lua file that's in every mods (check screenshots)

  • name = "Global Positions"
  • name = "Ancient Altar"
  • name = "Health Info"

when you have finish don't forget to save dedicated_server_mods_setup.lua

for the moment the mods are just installed on the server, but they are not activated,
you need follow the next step


how add mods in dedicated_server_mods_setup.lua:





how retrieve the numbers of mods:



example for find name of mods:



Installation of mods for dedicated server on Mac OS X
I going show example for install mods, it's based about settings on my guide dedicated server on Mac OS X:

http://steamcommunity.com/sharedfiles/filedetails/?id=590685670
you need go to the following directory:


so you need to edit file: dedicated_server_mods_setup.lua


here is a simple example to how add your mods in this file:

--#Global Position
ServerModSetup("378160973")

--#Ancient Altar
ServerModSetup("481765222")

--#Health Info
ServerModSetup("375859599")

of course if you use different mods you just need to change numbers and names

to retrieve the numbers of mods, this is very simple

you just have to get the numbers of mods of the folder the folder workshop-xxxxxxxx in same path directory


  • workshop-378160973
  • workshop-481765222
  • workshop-375859599

to find out which number corresponds to such mod, consult the modinfo.lua file that's in every mods (check screenshots)

  • name = "Global Positions"
  • name = "Ancient Altar"
  • name = "Health Info"

when you have finish don't forget to save dedicated_server_mods_setup.lua

for the moment the mods are just installed on the server, but they are not activated,
you need follow the next step


how add mods in dedicated_server_mods_setup.lua:





how retrieve the numbers of mods:



example for find name of mods:



Installation of mods for dedicated server on Windows Server
I going show example for install mods, it's based about settings on my guide dedicated server on Mac OS X:

http://steamcommunity.com/sharedfiles/filedetails/?id=590681995
you need go to the following directory:

  • C:\server\mods

so you need to edit file: dedicated_server_mods_setup.lua

here is a simple example to how add your mods in this file:

--#Global Position
ServerModSetup("378160973")

--#Ancient Altar
ServerModSetup("481765222")

--#Health Info
ServerModSetup("375859599")

of course if you use different mods you just need to change numbers and names

to retrieve the numbers of mods, this is very simple

you just have to get the numbers of mods of the folder the folder workshop-xxxxxxxx in same path directory


  • workshop-378160973
  • workshop-481765222
  • workshop-375859599

to find out which number corresponds to such mod, consult the modinfo.lua file that's in every mods (check screenshots)

  • name = "Global Positions"
  • name = "Ancient Altar"
  • name = "Health Info"

when you have finish don't forget to save dedicated_server_mods_setup.lua

for the moment the mods are just installed on the server, but they are not activated,
you need follow the next step


how add mods in dedicated_server_mods_setup.lua:





how retrieve the numbers of mods:



example for find name of mods:



Enable and configure mods for preconfigured server with Steam Tools - Part 1
I going show a example for enabled and configure mods, it's based about settings on this guide for preconfigured server with Steam Tools:

http://steamcommunity.com/sharedfiles/filedetails/?id=635281092
in this first example, i just going explain how enabled your mods on dedicated server with setting default

so you need to edit this file for server Overworld
(if not exit you need to create modoverrides.lua):


  • Documents\Klei\DoNotStarveTogether_EasyConfigOverworld\Cluster_1\Master\modoverrides.lua

and also for server Cave:

  • Documents\Klei\DoNotStarveTogether_EasyConfigCaves\Cluster_1\Master\modoverrides.lua

here's example how to create file modoverrides.lua
(it's imperative that the type of file is lua and not Text Document):

create Text Document:




open the New Text Document:



add your mods what you want:



save your modoverrides.lua:





now you can see your file is correctly type lua:



you can delete your New Text Document

so now you need to add this in both modoverrides.lua:

example for your modoverrides[pastebin.com]

Server Overworld:

  • Documents\Klei\DoNotStarveTogether_EasyConfigOverworld\Cluster_1\Master\modoverrides.lua

Server Cave:

  • Documents\Klei\DoNotStarveTogether_EasyConfigCaves\Cluster_1\Master\modoverrides.lua

if you use different mods, you can change the name and the numbers of mods, you can added more mods additional without problem, simply take this example:



you can copy/paste and adapted in relation to the mods you want to set in your modoverrides.lua:

example for your modoverrides[pastebin.com]

warning, latest mod should have no colon at the end, for this works correctly:



then just start the server to see that the mods are enabled on your dedicated server
(check screenshot in the end)


in this second example, we going activated mods, and also added custom settings

so you need to edit modoverrides.lua:

  • Documents\Klei\DoNotStarveTogether_EasyConfigOverworld\Cluster_1\Master\modoverrides.lua

and also:

  • Documents\Klei\DoNotStarveTogether_EasyConfigCaves\Cluster_1\Master\modoverrides.lua

here is an example:

example for your modoverrides[pastebin.com]

settings are differents depending of mods

for know the settings possible of your mods, you need view the file modinfo.lua

example for mod Global Position, go here:

  • Steam\steamapps\common\Don't Starve Together Dedicated Server\mods\workshop-378160973\modinfo.lua

just look the part configuration option:

modinfo of mod Global Position[pastebin.com]
Enable and configure mods for preconfigured server with Steam Tools - Part 2
here's what do you need changed for add your mod with your custom settings with this example:



you can copy/paste and adapted in relation to the mods you want to set in your modoverrides.lua:

example for your modoverrides[pastebin.com]

warning, latest mod should have no colon at the end, for this works correctly:



just choose the settings you want and integrated into your file modoverrides.lua, example with Global Position:







the result with the settings I choose:



you can copy/paste and adapted in relation to the mods you want to set in your modoverrides.lua:

example for your modoverrides[pastebin.com]

you can also mix the mods in modoverrides.lua, between those who are activated without custom setting and those with custom settings:

here are some example to integrate all in the modoverrides.lua

for this example, the mod Global Position is enabled but without custom settings,mods Ancient Altar and Health Info are with custom settings:


example for your modoverrides[pastebin.com]

for this example, the mod Ancient Altar is enabled but without custom settings,mods Global Position and Health Info are with custom settings:

example for your modoverrides[pastebin.com]

for this example, the mod Health Info is enabled but without custom settings,mods Ancient Altar and Global Position are with custom settings:

example for your modoverrides[pastebin.com]

warning, some mods use apostrophe in their values in modinfo.lua
(example with mod Ancient Altar):



it's important in such cases, add the apostrophe in the mod:



example for your modoverrides[pastebin.com]

if you just let your mods activated without custom setting, it's also possible to see the default value options of the mods in the modinfo.lua, because when you activated a mod and he contains configuration option, the mod executed option with settings by default (example with Ancient Altar):

if you have this in your modoverrides.lua:



mod going start with options by default:



so it's very important to view the file modinfo.lua for enabled or setting mods correctly in the modoverrides.lua

enable mods without custom settings:







enable mods with custom settings:







how find the settings of the mod:





how know if your mods are enabled without custom settings are correctly loaded:







how know if your mods are enabled with custom settings are correctly loaded:





Enable and configure mods for dedicated server on Linux - Part 1
I going show a example for enabled and configure mods, it's based about settings on this guide for Linux:

http://steamcommunity.com/sharedfiles/filedetails/?id=590565473
in this first example, i just going explain how enabled your mods on dedicated server with setting default

so you need to edit this file for server Overworld:



and also for server Cave:


so you need to add this in both modoverrides.lua:

example for your modoverrides[pastebin.com]

if you use different mods, you can change the name and the numbers of mods, you can added more mods additional without problem, simply take this example:



you can copy/paste and adapted in relation to the mods you want to set in your modoverrides.lua:

example for your modoverrides[pastebin.com]

warning, latest mod should have no colon at the end, for this works correctly:



then just start the server to see that the mods are enabled on your dedicated server
(check screenshot in the end)


in this second example, we going activated mods, and also added custom settings

so you need to edit modoverrides.lua:


and also:


here is an example:

example for your modoverrides[pastebin.com]

settings are differents depending of mods

for know the settings possible of your mods, you need view the file modinfo.lua

example for mod Global Position, go here:

  • /home/dst/server_dst/mods/workshop-378160973/modinfo.lua

just look the part configuration option:

modinfo of mod Global Position[pastebin.com]
Enable and configure mods for dedicated server on Linux - Part 2
here's what do you need changed for add your mod with your custom settings with this example:



you can copy/paste and adapted in relation to the mods you want to set in your modoverrides.lua:

example for your modoverrides[pastebin.com]

warning, latest mod should have no colon at the end, for this works correctly:



just choose the settings you want and integrated into your file modoverrides.lua, example with Global Position:







the result with the settings I choose:



you can copy/paste and adapted in relation to the mods you want to set in your modoverrides.lua:

example for your modoverrides[pastebin.com]

you can also mix the mods in modoverrides.lua, between those who are activated without custom setting and those with custom settings:

here are some example to integrate all in the modoverrides.lua

for this example, the mod Global Position is enabled but without custom settings,mods Ancient Altar and Health Info are with custom settings:


example for your modoverrides[pastebin.com]

for this example, the mod Ancient Altar is enabled but without custom settings,mods Global Position and Health Info are with custom settings:

example for your modoverrides[pastebin.com]

for this example, the mod Health Info is enabled but without custom settings,mods Ancient Altar and Global Position are with custom settings:

example for your modoverrides[pastebin.com]

warning, some mods use apostrophe in their values in modinfo.lua
(example with mod Ancient Altar):



it's important in such cases, add the apostrophe in the mod:



example for your modoverrides[pastebin.com]

if you just let your mods activated without custom setting, it's also possible to see the default value options of the mods in the modinfo.lua, because when you activated a mod and he contains configuration option, the mod executed option with settings by default (example with Ancient Altar):

if you have this in your modoverrides.lua:



mod going start with options by default:



so it's very important to view the file modinfo.lua for enabled or setting mods correctly in the modoverrides.lua

enable mods without custom settings:







enable mods with custom settings:







how find the settings of the mod:





how know if your mods are enabled without custom settings are correctly loaded:







how know if your mods are enabled with custom settings are correctly loaded:





Enable and configure mods for dedicated server on Mac OS X - Part 1
I going show a example for enabled and configure mods, it's based about settings on this guide for Mac OS X:

http://steamcommunity.com/sharedfiles/filedetails/?id=590685670
in this first example, i just going explain how enabled your mods on dedicated server with setting default

so you need to edit this file for server Overworld:

  • nano /Users/dst/Documents/Klei/DoNotStarveTogether/MyDediServer/Master/modoverrides.lua

and also for server Cave:

  • nano /Users/dst/Documents/Klei/DoNotStarveTogether/MyDediServer/Caves/modoverrides.lua

so you need to add this in both modoverrides.lua:

example for your modoverrides[pastebin.com]

if you use different mods, you can change the name and the numbers of mods, you can added more mods additional without problem, simply take this example:



you can copy/paste and adapted in relation to the mods you want to set in your modoverrides.lua:

example for your modoverrides[pastebin.com]

warning, latest mod should have no colon at the end, for this works correctly:



then just start the server to see that the mods are enabled on your dedicated server
(check screenshot in the end)


in this second example, we going activated mods, and also added custom settings

so you need to edit modoverrides.lua:

  • nano /Users/dst/Documents/Klei/DoNotStarveTogether/MyDediServer/Master/modoverrides.lua

and also:

  • nano /Users/dst/Documents/Klei/DoNotStarveTogether/MyDediServer/Caves/modoverrides.lua

here is an example:

example for your modoverrides[pastebin.com]

settings are differents depending of mods

for know the settings possible of your mods, you need view the file modinfo.lua

example for mod Global Position, go here:


just look the part configuration option:

modinfo of mod Global Position[pastebin.com]
Enable and configure mods for dedicated server on Mac OS X - Part 2
here's what do you need changed for add your mod with your custom settings with this example:



you can copy/paste and adapted in relation to the mods you want to set in your modoverrides.lua:

example for your modoverrides[pastebin.com]

warning, latest mod should have no colon at the end, for this works correctly:



just choose the settings you want and integrated into your file modoverrides.lua, example with Global Position:







the result with the settings I choose:



you can copy/paste and adapted in relation to the mods you want to set in your modoverrides.lua:

example for your modoverrides[pastebin.com]

you can also mix the mods in modoverrides.lua, between those who are activated without custom setting and those with custom settings:

here are some example to integrate all in the modoverrides.lua

for this example, the mod Global Position is enabled but without custom settings,mods Ancient Altar and Health Info are with custom settings:


example for your modoverrides[pastebin.com]

for this example, the mod Ancient Altar is enabled but without custom settings,mods Global Position and Health Info are with custom settings:

example for your modoverrides[pastebin.com]

for this example, the mod Health Info is enabled but without custom settings,mods Ancient Altar and Global Position are with custom settings:

example for your modoverrides[pastebin.com]

warning, some mods use apostrophe in their values in modinfo.lua
(example with mod Ancient Altar):



it's important in such cases, add the apostrophe in the mod:



example for your modoverrides[pastebin.com]

if you just let your mods activated without custom setting, it's also possible to see the default value options of the mods in the modinfo.lua, because when you activated a mod and he contains configuration option, the mod executed option with settings by default (example with Ancient Altar):

if you have this in your modoverrides.lua:



mod going start with options by default:



so it's very important to view the file modinfo.lua for enabled or setting mods correctly in the modoverrides.lua

enable mods without custom settings:







enable mods with custom settings:







how find the settings of the mod:





how know if your mods are enabled without custom settings are correctly loaded:







how know if your mods are enabled with custom settings are correctly loaded:





Enable and configure mods for dedicated server on Windows Server - Part 1
I going show a example for enabled and configure mods, it's based about settings on this guide for Windows Server:

http://steamcommunity.com/sharedfiles/filedetails/?id=590681995
in this first example, i just going explain how enabled your mods on dedicated server with setting default

so you need to edit this file for server Overworld:

  • Documents\Klei\DoNotStarveTogether\MyDediServer\Master\modoverrides.lua

and also for server Cave:

  • Documents\Klei\DoNotStarveTogether\MyDediServer\Caves\modoverrides.lua

here's example how to create file modoverrides.lua
(it's imperative that the type of file is lua and not Text Document):

create Text Document:



open the New Text Document:



add your mods what you want:



save your modoverrides.lua:





now you can see your file is correctly type lua:



you can delete your New Text Document

so you need to add this in both modoverrides.lua:

example for your modoverrides[pastebin.com]

if you use different mods, you can change the name and the numbers of mods, you can added more mods additional without problem, simply take this example:



you can copy/paste and adapted in relation to the mods you want to set in your modoverrides.lua:

example for your modoverrides[pastebin.com]

warning, latest mod should have no colon at the end, for this works correctly:



then just start the server to see that the mods are enabled on your dedicated server
(check screenshot in the end)


in this second example, we going activated mods, and also added custom settings

so you need to edit modoverrides.lua:

  • Documents\Klei\DoNotStarveTogether\MyDediServer\Master\modoverrides.lua

and also:

  • Documents\Klei\DoNotStarveTogether\MyDediServer\Caves\modoverrides.lua

here is an example:

example for your modoverrides[pastebin.com]

settings are differents depending of mods

for know the settings possible of your mods, you need view the file modinfo.lua

example for mod Global Position, go here:

  • C:\server\mods\mods\workshop-378160973\modinfo.lua

just look the part configuration option:

modinfo of mod Global Position[pastebin.com]
Enable and configure mods for dedicated server on Windows Server - Part 2
here's what do you need changed for add your mod with your custom settings with this example:



you can copy/paste and adapted in relation to the mods you want to set in your modoverrides.lua:

example for your modoverrides[pastebin.com]

warning, latest mod should have no colon at the end, for this works correctly:



just choose the settings you want and integrated into your file modoverrides.lua, example with Global Position:







the result with the settings I choose:



you can copy/paste and adapted in relation to the mods you want to set in your modoverrides.lua:

example for your modoverrides[pastebin.com]

you can also mix the mods in modoverrides.lua, between those who are activated without custom setting and those with custom settings:

here are some example to integrate all in the modoverrides.lua

for this example, the mod Global Position is enabled but without custom settings,mods Ancient Altar and Health Info are with custom settings:


example for your modoverrides[pastebin.com]

for this example, the mod Ancient Altar is enabled but without custom settings,mods Global Position and Health Info are with custom settings:

example for your modoverrides[pastebin.com]

for this example, the mod Health Info is enabled but without custom settings,mods Ancient Altar and Global Position are with custom settings:

example for your modoverrides[pastebin.com]

warning, some mods use apostrophe in their values in modinfo.lua
(example with mod Ancient Altar):



it's important in such cases, add the apostrophe in the mod:



example for your modoverrides[pastebin.com]

if you just let your mods activated without custom setting, it's also possible to see the default value options of the mods in the modinfo.lua, because when you activated a mod and he contains configuration option, the mod executed option with settings by default (example with Ancient Altar):

if you have this in your modoverrides.lua:



mod going start with options by default:



so it's very important to view the file modinfo.lua for enabled or setting mods correctly in the modoverrides.lua

enable mods without custom settings:







enable mods with custom settings:







how find the settings of the mod:





how know if your mods are enabled without custom settings are correctly loaded:







how know if your mods are enabled with custom settings are correctly loaded:





Update mods for preconfigured server with Steam Tools
I going show a example for update mods, it's based about settings on this guide for preconfigured server with Steam Tools:

http://steamcommunity.com/sharedfiles/filedetails/?id=635281092
it's often happens that the mods are updated by creator, the problem is if the mod is not updated on the server, and if the other players do not have the mod or an old version of the mod in their game, server is going not accessible for new players

warning, this is not the case for all the mods,
all depends if the function (all_clients_require_mod) is disabled or enabled in the mod:



here are the type of message that can appear for server administrators when the mod is not updated on the server:



this is also displayed in the server log:



the only way to update your mod, you must restart servers:

stop both server with this command:
  • c_shutdown()



start both servers:



you can see your mod is now updated in server_log.txt:



Update mods for dedicated server on Linux
I going show a example for update mods, it's based about settings on this guide for dedicated server on Linux:

http://steamcommunity.com/sharedfiles/filedetails/?id=590565473
it's often happens that the mods are updated by creator, the problem is if the mod is not updated on the server, and if the other players do not have the mod or an old version of the mod in their game, server is going not accessible for new players

warning, this is not the case for all the mods,
all depends if the function (all_clients_require_mod) is disabled or enabled in the mod:



here are the type of message that can appear for server administrators when the mod is not updated on the server:



this is also displayed in the server log:



the only way to update your mod, you must restart servers:

  • sh /home/dst/server_dst/bin/restart.sh
  • sh /home/dst/server_dst/bin/restart2.sh



if you see the message "No screen session found"

because the script try to kill screen,

so when you launch both scripts for first time, it's start both servers

if you make again sh restart.sh or sh restart2.sh, it's going restart the server


you can see your mod is now updated in server_log.txt:



Update mods for dedicated server on Mac OS X
I going show a example for update mods, it's based about settings on this guide for dedicated server on Mac OS X:

http://steamcommunity.com/sharedfiles/filedetails/?id=590685670
it's often happens that the mods are updated by creator, the problem is if the mod is not updated on the server, and if the other players do not have the mod or an old version of the mod in their game, server is going not accessible for new players

warning, this is not the case for all the mods,
all depends if the function (all_clients_require_mod) is disabled or enabled in the mod:



here are the type of message that can appear for server administrators when the mod is not updated on the server:



this is also displayed in the server log:



the only way to update your mod, you must restart servers:




if you see the message "No screen session found"

because the script try to kill screen,

so when you launch both scripts for first time, it's start both servers

if you make again sh restart.sh or sh restart2.sh, it's going restart the server


you can see your mod is now updated in server_log.txt:



Update mods for dedicated server on Windows Server
I going show a example for update mods, it's based about settings on this guide for dedicated server on Windows Server:

http://steamcommunity.com/sharedfiles/filedetails/?id=590681995
it's often happens that the mods are updated by creator, the problem is if the mod is not updated on the server, and if the other players do not have the mod or an old version of the mod in their game, server is going not accessible for new players

warning, this is not the case for all the mods,
all depends if the function (all_clients_require_mod) is disabled or enabled in the mod:



here are the type of message that can appear for server administrators when the mod is not updated on the server:



this is also displayed in the server log:



the only way to update your mod, you must restart servers:

just need to restart services for both servers (server_overworld and server_cave):









you can see your mod is now updated in server_log.txt:




FAQ - if you have "ERROR: Failed to load modoverrides.lua" in your server_log .txt?
if you have this type of error in your server_log.txt:



you can try to fixed your modoverrides.lua with this website:

http://codepad.org/

here is a simple example with a basic error:

you have this in your modoverrides.lua:

return {
--#Global Position
["workshop-378160973"] = { enabled = true },
--#Ancient Altar
["workshop-481765222"] = { enabled = true }
--#Health Info
["workshop-375859599"] = { enabled = true }
}

go to http://codepad.org/

select lua code:



put your code and submit:



now you can see there is an error that prevents the line 7 to be reading:



create new:



it simply lacks a comma at the end of line 5
if it is not completed by a comma, line 7 can not be read
put again your code, add comma in the end of line 5 and submit your code:




and now you can see you have no errors:

95 Comments
グルスガンマモン Nov 26, 2023 @ 4:10am 
While this was helpful I still cannot get the mods to run, Then I have to do an EXTRA step if you used the Tools version over the CMD Version putting all the effort I just did to waste. Now I have to do it ALL over again for the Tools one. *SIGH* I spent like 9+ hours on this dedicated server compared to other servers I did, But I have to do all this leg work on a Don't starve together dedicated server and jump all over my pc to get setup. Starting to feel it might not be worth my time.

So if I want to use what I setup I have to nuke Tools version and re-download all of that crap again and use the Steam CMD.

*Sigh* I give up, This whole setup is more trouble than its worth. I am gonna go freaken crazy. I dont have the time nor patience to manually type so much info in a lua for 3 freaken mods. There are other servers that I much rather use in other games that are worth more of my time.

Even Sven Co-op's Dedicated Server are easier to setup than DST Dedicated Server and its MANUAL!
iBeast xSmoke Mar 27, 2020 @ 3:20pm 
Hi Im on W7, tested my server (playing same machine) and it worked, today my friends suffered mod crashes.... I restart the server to check it and now cant find my own server in the list.....
cmax Oct 11, 2019 @ 10:25am 
Thank you so much!

I just followed your guide successfully created a windows dedicated server(steam tool) and add mods to it.

I had to say, this author's guide just like digital ocean articles, detailed, clear and easy understand.
Tobiasz Krul Jun 30, 2019 @ 4:35am 
The greatest guide ever. A lots of details and very helpfull :)
She Was A Boy Feb 13, 2019 @ 9:15pm 
thanks for writing this in such a detail
She Was A Boy Feb 13, 2019 @ 9:13pm 
I wrote a python script for to write all the mod you have subscribed in the format you needed
hope someone find this useful

import os
out = open("out.txt", "w")
d = "C:\Program Files (x86)\SteamLibrary\steamapps\common\Don't Starve Together\mods"
dirs = os.listdir(d)
for dir in dirs:
if os.path.isdir(d + "\\" + dir):
f = open(d + "\\" + dir + "\\" + "modinfo.lua" , "r")
for line in f :
if "name = " in line:
print "--#" + line.replace('\n', ' ').replace("name =", "")
out.write( "--#" + line.replace("name =", ""))
break
print "ServerModSetUp(\"" + dir.replace("workshop-", "") + "\")\n"
out.write("ServerModSetUp(\"" + dir.replace("workshop-", "") + "\")\n\n")
XII Sep 15, 2018 @ 8:48am 
After I reconfig my mod, I dont know how to restart my server to make it valid.
ToNiO  [author] Jan 24, 2017 @ 7:15pm 
you welcome have fun :steamhappy:
oO BigBoss Oo Jan 24, 2017 @ 6:27pm 
yeah, it works ! Thank you so much ! :D
ToNiO  [author] Jan 24, 2017 @ 1:52pm 
Ok so you are not forced to make the second server

you can backup of your map and make new map for play with your friend

example you need make backup of the folder save of both server:

Documents\Klei\DoNotStarveTogether_EasyConfigOverworld\Cluster_1\Master\save
Documents\Klei\DoNotStarveTogether_EasyConfigCaves\Cluster_1\Master\save

after to backup your map, delete all files in your folder save of your server and restart the server

that's going make new map for play with your friend ;)

of course if you want your map come back, just upload both folders save on your servers

i hope that's help you ;)

The advantage of this method is that you can make as much game as you wish with different friends