Navigation

Knowledgebase

Adding Mods to your Don't Starve Together Server

Last updated: 01/25/19
written by  Nodecraft Staff

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.

Dont_Starve_addingmods_openmodsfolder

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.

Dont_Starve_addingmods_dedicatedserver

Dont_Starve_addingmods_editfile

Once you have that file open, there are the instructions for how to add the mods.

Dont_Starve_addingmods_fileinstructions

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:

dont_starve_2_mod_edit_file

Add the line

ServerModSetup("<ID number>")

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.

Dont_Starve_addingmods_mod_id_number

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:

Dont_Starve_addingmods_enteredexamples

The workshop collection was removed before continuing, so the rest of the process would be simpler.

Start the server, and allow the Workshop Mods to Download:

Next, start your Don't Starve Together server so that is will begin downloading the mods.

When you're server is fully started, you should see new folders inside the /mods directory, one for each mod installed, or an entire series of folder for each workshop collection.

dont_starve_3_mod_download

Edit the File modsettings.lua:

dont_starve_4_force_enable_edited

Edit the file, and add the following line, for each mod folder that was downloaded and installed by the list of mods that was added to the file dedicated_server_mods_setup.lua:

ForceEnableMod("folder_name")

The text in between (" ") are the folder names as listed in the file manager, not the name of the mods.

dont_starve_5_force_enable_edited

Save modsettings.lua and Restart the Server:

When you are done editing the file, click the save button to close the editor`, and restart the server and the mods that were downloaded and installed will now be enabled on your server!

Can't find answers to your questions?

Feel free to contact our support team for personal and professional help.

Write Articles, Get FREE Servers!

More information coming soon.

Chat blocked!

Nodecraft is an ad-free website! Disable adblock if you have any questions.