{"id":17006,"date":"2025-07-14T23:46:06","date_gmt":"2025-07-14T23:46:06","guid":{"rendered":"https:\/\/ggservers.com\/knowledgebase\/?post_type=ht_kb&#038;p=17006"},"modified":"2025-07-14T23:46:09","modified_gmt":"2025-07-14T23:46:09","slug":"how-to-install-mods-dont-starve-together-server","status":"publish","type":"ht_kb","link":"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-install-mods-dont-starve-together-server\/","title":{"rendered":"How To Install Mods Dont Starve Together Server"},"content":{"rendered":"\n<p>Mods (or Steam Workshop Items) can add new content and features to your Don&#8217;t Starve Together server, and installing them is easier than it seems! Below, you&#8217;ll find the full process for adding mods, including Steam Workshop collections.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 0: Stop The Server<\/h2>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd27 1. Use <code>dedicated_server_mods_setup.lua<\/code> to Download Mods<\/h2>\n\n\n\n<p>This file is generated automatically after your server starts for the first time.<\/p>\n\n\n\n<p><strong>Location:<\/strong><br><code>\/home\/container\/mods\/dedicated_server_mods_setup.lua<\/code><\/p>\n\n\n\n<p><strong>Purpose:<\/strong><br>This file tells your server which mods to download from the Steam Workshop.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"277\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-122-1024x277.png\" alt=\"\" class=\"wp-image-17008\" srcset=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-122-1024x277.png 1024w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-122-300x81.png 300w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-122-768x208.png 768w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-122-50x14.png 50w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-122-60x16.png 60w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-122-100x27.png 100w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-122.png 1232w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Example Format:<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>-- To install a single mod:\nServerModSetup(\"350811795\")\n\n-- To install a mod collection:\nServerModCollectionSetup(\"379114180\")<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\ud83d\udca1 The Workshop ID is found at the end of the mod\u2019s or collection\u2019s URL.<\/p>\n<\/blockquote>\n\n\n\n<p>Once you add your mods here and restart the server, the files will be downloaded to the <code>\/mods<\/code> directory.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"837\" height=\"262\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-123.png\" alt=\"\" class=\"wp-image-17009\" srcset=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-123.png 837w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-123-300x94.png 300w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-123-768x240.png 768w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-123-50x16.png 50w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-123-60x19.png 60w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-123-100x31.png 100w\" sizes=\"auto, (max-width: 837px) 100vw, 837px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udcdd 2. Configure <code>modoverrides.lua<\/code> to Enable Mods<\/h2>\n\n\n\n<p>After downloading, you must <strong>enable<\/strong> and configure your mods using the <code>modoverrides.lua<\/code> file.<\/p>\n\n\n\n<p><strong>Location:<\/strong><br><code>\/home\/container\/DoNotStarveTogether\/config\/server\/Master\/modoverrides.lua<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Important Notes:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This file <strong>is not created automatically<\/strong> on first server launch.<\/li>\n\n\n\n<li>You must create it <strong>manually<\/strong> for already existing worlds.<\/li>\n\n\n\n<li>For <strong>newly created worlds<\/strong>, it will be auto-filled using the info from <code>dedicated_server_mods_setup.lua<\/code>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Example <code>modoverrides.lua<\/code>:<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"635\" height=\"155\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-121.png\" alt=\"\" class=\"wp-image-17007\" srcset=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-121.png 635w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-121-300x73.png 300w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-121-50x12.png 50w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-121-60x15.png 60w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/07\/image-121-100x24.png 100w\" sizes=\"auto, (max-width: 635px) 100vw, 635px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>return {\n    &#91;\"workshop-1467214795\"] = {\n        configuration_options = {},\n        enabled = true,\n    },\n    &#91;\"workshop-697356989\"] = {\n        configuration_options = {},\n        enabled = false,\n    },\n}<\/code><\/pre>\n\n\n\n<p>Each mod entry should match its Steam Workshop ID, and you can customize <code>configuration_options<\/code> if needed.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2705 Final Steps<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Edit <code>dedicated_server_mods_setup.lua<\/code><\/strong> to include the Workshop IDs.<\/li>\n\n\n\n<li><strong>Create or update <code>modoverrides.lua<\/code><\/strong> if you&#8217;re working with an existing world.<\/li>\n\n\n\n<li><strong>Restart your server<\/strong> from the GGServers panel.<\/li>\n\n\n\n<li><strong>You&#8217;re done!<\/strong> Mods will be downloaded, enabled, and ready to use.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>If you\u2019re looking to start your own DST modded server, take advantage of our hosting at GGServers and use the code <strong>KB30<\/strong> for <strong>30% off your first invoice<\/strong>!<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2753FAQ<\/h2>\n\n\n\n<p><strong>Do I need both files for mods to work?<\/strong><br>Yes, <code>dedicated_server_mods_setup.lua<\/code> downloads the mods, and <code>modoverrides.lua<\/code> enables them.<\/p>\n\n\n\n<p><strong>Can I use mod collections?<\/strong><br>Yes! Use <code>ServerModCollectionSetup(\"collection_id\")<\/code> in the setup file.<\/p>\n\n\n\n<p><strong>What if my mods aren\u2019t showing up?<\/strong><br>Make sure the Workshop IDs are correct and restart the server after editing the files.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>You can contact our 24\/7 GGServers support anytime at:<br>\ud83d\udc49 <a href=\"https:\/\/ggservers.com\/billing\/submitticket.php\">https:\/\/ggservers.com\/billing\/submitticket.php<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Let me know if you&#8217;d like this as a blog version too!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mods (or Steam Workshop Items) can add new content and features to your Don&#8217;t Starve Together server, and installing them is easier than it seems! Below, you&#8217;ll find the full process for adding mods, including Steam Workshop collections. Step 0: Stop The Server \ud83d\udd27 1. Use dedicated_server_mods_setup.lua to Download Mods&#8230;<\/p>\n","protected":false},"author":2,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"ht-kb-category":[4561],"ht-kb-tag":[4704,4709,4715,4707,4713,4716,4719,4708,4706,4702,4717,4714,4641,4710,4703,4718,4712,4711,4705,4701],"class_list":["post-17006","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-dont-starve-together","ht_kb_tag-dont-starve-together-enable-mods","ht_kb_tag-dont-starve-together-install-mods","ht_kb_tag-dont-starve-together-mod-collection-setup","ht_kb_tag-dont-starve-together-modoverrides-lua","ht_kb_tag-dont-starve-together-server-mod-support","ht_kb_tag-dont-starve-together-workshop-ids","ht_kb_tag-dst-custom-server-mods","ht_kb_tag-dst-dedicated_server_mods_setup-lua","ht_kb_tag-dst-mod-configuration-tutorial","ht_kb_tag-dst-mod-setup-guide","ht_kb_tag-dst-server-mods-explained","ht_kb_tag-dst-workshop-mods-server","ht_kb_tag-ggservers-dont-starve-together-help","ht_kb_tag-ggservers-dst-mods","ht_kb_tag-how-to-add-mods-dst-server","ht_kb_tag-how-to-configure-dst-mods","ht_kb_tag-install-mods-dst-hosting","ht_kb_tag-install-steam-workshop-mods-dst","ht_kb_tag-modded-dst-server-guide","ht_kb_tag-setup-dst-server-with-mods"],"acf":[],"_links":{"self":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/17006","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=17006"}],"version-history":[{"count":1,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/17006\/revisions"}],"predecessor-version":[{"id":17010,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/17006\/revisions\/17010"}],"wp:attachment":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=17006"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-category?post=17006"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-tag?post=17006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}