Don't Starve Together

Don't Starve Together

Less lags
Astro  [developer] 10 Jan, 2016 @ 12:47am
Configuring modoverride.lua
Example code for modoverride.lua

,["workshop-597417408"] = { enabled = true, configuration_options = { Clean_Period = 6000, --100 min eat_things = "yes", Custom_prefabs = "carrot:100,flower:3,spider:20,beefalo:30,spoiled_food:0", Cleaning_text = "Cleaning server", Cleaning_warning_text = "Server cleaning will start in 120 sec", Cleaning_delay = 3 } }

You can use any prefabs in Custom_prefabs option, including items from mods.


This example configuration should remove lags on most long running dedicated servers (thanx DejaVu):

["workshop-597417408"] = { enabled = true, configuration_options = { Clean_Period = "7200", -- 2 Hours Cleaning_text = "Server is now Cleaning.", Cleaning_delay = "600", -- 10 Minutes Cleaning_warning_text = "Server Cleaning starts in 10 minutes!", Custom_prefabs = "wasphive:15,dug_berryblu2:1,dug_berryblue:1,dug_berrygre2:1,dug_berrygree:1,dug_pineapple:1,fireflies:100,cocoanuttree:70,dondoydoy:20,monstermeat:10,silk:10,glommerfuel:5,slurtleslime:5,wetgoop:0,charcoal:10,dug_berrybush2:1,dug_berrybush:1,dug_grass:1,dug_sapling:1,flint:50,acorn:20,pinecone:20,axe:1,goldenaxe:1,pickaxe:1,goldenpickaxe:1,shovel:1,goldenshovel:1,pitchfork:1,hammer:1,razor:1,torch:5,tentaclespike:10,tentaclespots:20,feather_crow:10,feather_robin:10,feather_robin_winter:10,guano:20,poop:20,beardhair:10,boneshard:10,houndstooth:10,log:20,rocks:20,cutgrass:10,twigs:10,mossling:15,mooseegg:8,pigman:30,bunnyman:40,lavae:0,bee:7,killerbee:7,slurper:20,flower:50,babybeefalo:5,beefalo:15,beefaloherd:1,spiderden:12,spider:20,spider_warrior:20,spoiled_food:7,carrot_planted:40,merm:7,rocky:15,lightninggoat:10,stinger:20,trinket_1:1,trinket_2:1,trinket_3:1,trinket_4:1,trinket_5:1,trinket_6:1,trinket_7:1,trinket_8:1,trinket_9:1,trinket_10:1,trinket_11:1,trinket_12:1,trinket_13:1,trinket_14:1,trinket_15:1", eat_things = "yes", } },
Last edited by Astro; 29 Feb, 2016 @ 4:41pm
< >
Showing 1-5 of 5 comments
HaywardGG 18 Feb, 2016 @ 2:59pm 
Is cleaning_delay in minutes ? becauase that's more than 120 seconds !
Astro  [developer] 18 Feb, 2016 @ 3:20pm 
all delays are in seconds
Gin 2 May, 2016 @ 7:01pm 
I can't use modoverrides.lua, when the game start, it replace my lua file with the default lua file. Could you please helpp?
Emmmmmm 2 Sep, 2017 @ 3:21pm 
this only works when you setup in the server
dano 22 Dec, 2023 @ 3:32pm 
Question: Could I use different modoverride files for caves and surface? I am having a cave flower issue in caves only.
< >
Showing 1-5 of 5 comments
Per page: 1530 50