Adding Mods to your Don't Starve Together ServerLast updated: 11/07/18
Adding Mods to your Don't Starve Together Server:
Adding mods to your Don't Starve Together server is very easy, as the game already has a system that will allow you to automatically download and install mods directly from the Steam Workshop. This article will show where it is located and how to use it.
Open the Mods Folder on your Server:
Go to the file manager tab on the server control panel, and then click on the
mods folder to open it.
Once you have opened the
mods folder, look for the file
dedicated_server_mods_setup.lua. This is the file that controls the automated system for downloading mods automatically. Select the file and then click
edit to open a text editor.
Once you have that file open, there are the instructions for how to add the mods.
The system will support downloading individual mods or even entire steam workshop collections.
Note: the characters "--" in the setup file are comment characters, that tell the file to ignore anything after them, so don't begin the mod setup lines with those or they will not take effect.
Add Individual Mods:
Add the line
Where \< ID number > is replaced with the steam workshop ID number. Make sure to keep the (" ")
To easily find the steam workshop ID number for a specific mod, start your Steam client and go to the Steam workshop for Don't Starve Together. Once in the workshop, click on a mod, and you will go to the webpage for the mod. At the top of the window in your browser will be a long string of text (the url), and the ID number will be near the very end, immediately after
id=. See the example below.
If you need to add additional mods, just add another
ServerModSetup("< ID number >") line under it, and keep repeating until you have added all the mods you want downloaded.
Add Workshop Collections:
To add an entire workshop collection, use the line:
ServerModCollectionSetup("<Workshop Collection ID>")
Below is an example of both lines added to the file:
Save the File and Restart the Server:
When you are done editing the file, click the save button to close the editor`, and restart the server and it will begin download the mods!