Skip to content

How to Add Mods to your Don't Starve Together Server

  1. Go to the AleForge Panel
  2. Open the Console page and stop your server
  3. Next open File Manager
  4. Open the mods folder
  5. Click the dedicated_server_mods_setup.lua to open it in the editor
  6. This file has instructions for adding mods

Adding Individual Mods

To add a single mod add the following line:

ServerModSetup("WorkShop ID number")

To find the Steam Workshop ID of a mod just navigate to the web page of the mod and at the end of the URL the id will be after the id=.

Add a Workshop Collection

To add all the mods in a collection use this line:

ServerModCollectionSetup(“Workshop Collection ID”)

Enable Your Mods

1. Open File Manager

2. Open /DoNotStarveTogether/config/server/Master/

3. Click New File

4. Add your mod id numbers in the example below. Replace ### with the Workshop ID of each mod.

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

5. Click Create File and name the file modoverrides.lua

6. Repeat steps 3 through 5 in DoNotStarveTogether/config/server/Caves

7. Start your server

Mods that add characters to the game will need to be disabled from the Caves version of modoverrides.luato allow Caves shard to properly start