Skip to content

Don't Starve Together: Installing Mods

Learn how to install Steam Workshop mods on your Don't Starve Together server using dedicated_server_mods_setup.lua and modoverrides.lua → Find out more

19 November 20262 min read0 Views0 helpful

Introduction

Mods from the Steam Workshop let you add new content, quality-of-life features, or gameplay changes to Don't Starve Together. On your game server with us, you configure mods in two files: one specifies which mods the server downloads, and the other specifies which of those are active in your world.

Preparation

You need the Workshop ID for each mod. Open the mod's page in the Don't Starve Together Steam Workshop. The ID is the number at the end of the URL after ?id=, for example 350811795.

You can edit the files in the Files tab of your game server or via SFTP. Stop the server before changing the files.

Step 1: Add mods to the download list

Open the file mods/dedicated_server_mods_setup.lua. The file is already on your server. Add a line for each mod using ServerModSetup and the Workshop ID in quotation marks:

lua
ServerModSetup("350811795")
ServerModSetup("2902364746")

To download an entire Workshop collection, use ServerModCollectionSetup with the collection ID instead:

lua
ServerModCollectionSetup("379114180")

When the server starts, it automatically downloads all mods listed in this file and updates them whenever a new version is published in the Workshop.

Step 2: Activate mods in your world

Downloaded mods are not active yet. To activate them, use the file modoverrides.lua in your world folder DoNotStarveTogether/Cluster_1/Master/. Create the file there if it doesn't already exist, and add each mod as workshop-<ID>:

lua
return {
  ["workshop-350811795"] = { enabled = true },
  ["workshop-2902364746"] = { enabled = true },
}

If a mod has its own settings, add them using configuration_options. You can find the available options and values in the mod's description:

lua
return {
  ["workshop-350811795"] = {
    enabled = true,
    configuration_options = {
      -- Option = Wert, laut Beschreibung der Mod
    },
  },
}

Save the file and start the server. You can check whether everything loaded in the output in the Console tab.

Info

If you have caves enabled, they automatically use the same modoverrides.lua as the overworld. The caves will use a separate file only if you add a modoverrides.lua of their own in the Cluster_1/Caves/ folder. Both worlds should use the same server mods.

Mods that access files

Some mods need access to files outside their own area. Only if a mod specifically requires it, go to the Configuration tab, under Startup Parameters, and set Mods: Read access to server files or Mods: Write access to server files to true, then restart the server. Both are disabled by default.

Remove a mod

To disable a mod, set enabled = false in modoverrides.lua or delete its entry. If you also want the server to stop downloading it, remove its line from mods/dedicated_server_mods_setup.lua as well. Then restart the server.

Warning

If the server doesn't start properly after you add a mod, the mod is often incompatible with the current game version. Try disabling it and check the output in the Console.

Conclusion

Congratulations, your mods are now running on your Don't Starve Together server. If you have any other questions or need help, our support team is available every day! 🙂

FAQ

Frequently asked questions

Add each mod with ServerModSetup("<Workshop-ID>") in mods/dedicated_server_mods_setup.lua, then activate it in DoNotStarveTogether/Cluster_1/Master/modoverrides.lua with ["workshop-<ID>"] = { enabled = true }. Then start the server.
On the mod's Steam Workshop page, as the number at the end of the URL after ?id=.
No. The caves automatically use the same modoverrides.lua as the overworld, unless there is a separate modoverrides.lua in the Cluster_1/Caves/ folder.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.