Skip to content
Skyes Hosting

Installing Steam Workshop Mods on a Don't Starve Together Server

How to install Steam Workshop mods on a Don't Starve Together server with dedicated_server_mods_setup.lua and modoverrides.lua, including mod options and troubleshooting.

dont-starve-togetherWritten by 5 min read3 viewsUpdated

Installing Steam Workshop Mods on a Don't Starve Together Server

Don't Starve Together (DST) server mods use two files with different jobs. dedicated_server_mods_setup.lua tells the server which mods to download from the Steam Workshop, while modoverrides.lua decides which mods are active in the world. Players don't need to install anything themselves: their game downloads the server's mods automatically when they join.

In short: note the Workshop ID → stop the server → add ServerModSetup("ID") to dedicated_server_mods_setup.lua → enable the mod in modoverrides.lua for every shard → start the server → test joining.

What you need

  • Access to Skyes Game Panel and your Don't Starve Together server.
  • Steam Workshop links for the mods you want.
  • A server that has been started at least once, so the cluster and shard folders exist.
FileLocationJob
dedicated_server_mods_setup.luaThe mods/ folder in the server's main folderMods to download from the Workshop
modoverrides.luaEvery shard folder, such as Master/ and Caves/, inside the cluster folderMods that are active, plus their options

The cluster folder is the one that contains cluster.ini, usually named something like Cluster_1. If you can't find it, search for cluster.ini in the Files menu.

Step 1 — Note the Workshop ID

  1. Open the mod's Steam Workshop page and look at its address, for example https://steamcommunity.com/sharedfiles/filedetails/?id=1234567890.
  2. The number 1234567890 is the Workshop ID. Note it for every mod.
  3. Make sure the mod is meant for servers (server mod or all clients require mod). Client-only mods, such as UI tweaks, don't need to be installed on the server.

Step 2 — Stop the server

  1. Sign in to panel.skyes.id and click your Don't Starve Together server.
  2. Open Console and tap Stop. Wait until the server has fully stopped.

Step 3 — Register mods for download

  1. Open Files, go to the mods/ folder, and open dedicated_server_mods_setup.lua.
  2. Add one line per mod:
ServerModSetup("1234567890")
ServerModSetup("987654321")
  1. For a Workshop collection, this single line downloads every mod in it:
ServerModCollectionSetup("1122334455")
  1. Tap Save Content.

Lines starting with -- are comments and are ignored. Make sure your mod lines do not start with --.

Step 4 — Enable mods in every shard

  1. Still in Files, open the cluster folder, then the Master/ folder.
  2. Open modoverrides.lua. If it doesn't exist, create a new file with that name.
  3. List the mods to enable. Each mod is named workshop- followed by its Workshop ID:
return {
  ["workshop-1234567890"] = { enabled = true },
  ["workshop-987654321"] = { enabled = true },
}
  1. Tap Save Content.
  2. Repeat for the Caves/ folder if your server has caves. Its contents must match Master/, because each shard loads its own mods.

Setting mod options

Many mods have settings, such as item amounts or language. Add configuration_options using the option names from the mod's modinfo.lua:

return {
  ["workshop-1234567890"] = {
    enabled = true,
    configuration_options = {
      ["option_name"] = true,
    },
  },
}

Option names and values differ for every mod. Check the configuration_options section in modinfo.lua (inside the mod folder once the server has downloaded it) or the mod's Workshop page. Options you leave out use the mod's defaults.

Step 5 — Start and test

  1. Go back to Console and tap Start. Workshop mods are downloaded while the server starts.
  2. Watch the Console. If there is an error, note the mod it mentions.
  3. Open Don't Starve Together, find your server, and join. The game downloads the server's mods automatically.
  4. Check that the mod's features show up in game.

Removing or updating mods

  • Disable: change enabled = true to enabled = false in modoverrides.lua for every shard, then restart.
  • Remove completely: also delete its ServerModSetup line, then restart.
  • Update: the server checks the Workshop for the latest version every time it starts, so a restart is enough.
  • Be careful with running worlds. Removing a mod that adds items, creatures, or structures can break the world. Back up first.

If a mod doesn't work

SymptomCommon causeFix
Mod downloads but isn't activeMod is missing from modoverrides.luaAdd ["workshop-ID"] = { enabled = true }
Mod works on the surface but not in cavesmodoverrides.lua in Caves/ is emptyMake it match Master/
Mod doesn't downloadWrong ServerModSetup line, or it starts with --Check the ID and remove the comment marker
Server won't start after adding a modTypo in a .lua file, such as a missing comma or bracketCheck the {, }, and commas on every line
Players can't joinServer and player mod versions differRestart the server so it downloads the latest version
Mod options don't changeOption name doesn't match modinfo.luaCopy option names exactly from modinfo.lua

Checklist

  • Workshop ID noted for every mod.
  • Server stopped before editing files.
  • ServerModSetup("ID") added to dedicated_server_mods_setup.lua.
  • modoverrides.lua in Master/ and Caves/ lists the same mods.
  • Server restarted and the Console shows no mod errors.
  • Players can join and the mod features work.

If a mod still fails to load, contact Skyes Hosting support with your server name, the contents of modoverrides.lua, and the error lines from the Console.

Was this article helpful?

Open support center