NEW 📢 Save up to 30% on your first month, limited time offer!

How to install mods on your Don't Starve Together server

Don't Starve TogetherUpdated Sep 23, 20263 min read

Don't Starve Together mods need two files. One tells the server which mods to download, the other tells it which to enable and how to configure them. Both are required.


1. Collect the workshop IDs

  1. Open each mod's Steam Workshop page.
  2. The number at the end of the address is the ID.

2. Tell the server to download them

  1. Stop the server in the Game Panel.
  2. Open the Files tab and find dedicated_server_mods_setup.lua in the game's mods folder.
  3. Add one line per mod:

ServerModSetup("123456789")

The ID goes in quotation marks. This file only downloads mods, it does not enable them.


3. Enable them in modoverrides.lua

  1. Create or open modoverrides.lua in the Master shard folder.
  2. List each mod as workshop- followed by its ID, with enabled = true:

return {
  ["workshop-123456789"] = { enabled = true },
  ["workshop-987654321"] = { enabled = true }
}

  1. If you run caves, copy the same file into the Caves shard folder. A mod enabled on only one shard causes players to be dropped when they move between them.
  2. Save and start the server.

4. Check they loaded

  • Read the Console during boot. Each mod is downloaded and then listed as it loads.
  • A mod that downloads but never loads is missing from modoverrides.lua, or the ID in that file has a typo.
  • Mod configuration options go inside the same entry, in a configuration_options table.

5. What your players need

  • Client side mods must be subscribed to by each player. Server side mods are handled entirely by the server.
  • The game warns players which mods a server requires when they join.
  • After a workshop update, restart the server so it picks up the new version.

Take a backup before adding mods that change world generation, and add mods a few at a time so a failed boot points at one of them.

CREATE YOUR GAME SERVER
READY TO GET STARTED?

Save up to 30% on your new game server.
Premium performance, instant activation, and unbeatable reliability all at a better price.

OUR LATEST BLOGS