Don't Starve Together

Don't Starve Together

Less lags
167 Comments
Sativia 16 Sep, 2024 @ 3:07am 
this got me crash lately when it says <cleaning server< idk why
dano 9 Jul, 2024 @ 8:01am 
Is this mod still working? It runs on my server, I see the messages but it does not clean everything.
CozyCouch 12 Oct, 2023 @ 4:59am 
@hero can you make a fork or update this mod? for the beefalo problem?
Metheus 3 Aug, 2023 @ 7:31am 
will clean my trained beefalo
Playeroth 9 Jul, 2023 @ 4:54pm 
2016 mod
Busetinha de furry 19 May, 2023 @ 7:51am 
:steamthumbsup:
TroN 29 Jan, 2023 @ 4:26pm 
All spiders disappeared from the map and now I have to reset the world :(
Doug 1 Dec, 2022 @ 1:18pm 
this mod delete my last spider egg
hero 10 Oct, 2022 @ 9:22am 
I found a solution for the beefalo problem. Don't know if you want to add it to the mod?

new function:
function IsDomesticated(b)
local owner = nil

if b.components.domesticatable and b.components.domesticatable:IsDomesticated() then
print ("Domesticated prefab found.")
return true
end
return false
end

and calling the new function from CleanPrefab:
[...]
for k,v in pairs(GLOBAL.Ents) do
if v.prefab == prefab then
if not IsInInventory(v) and not IsDomesticated(v) then
table.insert(b, v)
end
end
end
[...]
Magenta Lizard 27 Aug, 2022 @ 1:00pm 
It's said cleaning server several times but garbage from an hour ago is still on the gorund
PurpleKush 20 Aug, 2022 @ 3:46pm 
Não cumpre com a proposta ele apenas limpa o que está no chão de tempos em tempos e isso não só apaga os itens úteis que você está prestes a pegar por exemplo, como não melhorou lags como supostamente se propõe a fazer, é só uma propaganda como título. Completamente inútil.
hero 15 Mar, 2022 @ 2:13pm 
Great mod, thank you very much for it!

Unfortunately, the beefalo cleaner also cleans personalized beefalos. Is there a way to not clean those and take them out of the beefalo count?
Snow Alice 19 Nov, 2021 @ 7:20am 
Hi, for me mod works, and looks very useful as I run a 2500+ days. On ethnic is annoying me tho, I have planted flowers (around far away bee hives) and am using natural spawned flowers to craft gift wraps with the bp from winter Feist. Could it be possible to have an option to not clean flowers, or to put the limit at 1000 ? That way I could use the mod for all other features that I really love, now I am not because of that issue :<. Thank you anyway for your time and work doing that mod :)
rastarocks 31 Oct, 2021 @ 11:17am 
stupid mod keeps deleting my domesicated beefalo for NO reason
bloopah 22 Oct, 2021 @ 9:10am 
no longer working, server cleaning crashes the game
Reculi 24 Jul, 2021 @ 5:14am 
AddPrefabPostInit("rabbit",function(inst)
if inst.components.eater == nil then return end
if inst.components.eater.preferseating then
table.insert(inst.components.eater.preferseating,"GEMS")
table.insert(inst.components.eater.caneat,"GEMS")
table.insert(inst.components.eater.caneat,"GEMS")

table.insert(inst.components.eater.preferseating,"BIG")
table.insert(inst.components.eater.caneat,"BIG")

else
table.insert(inst.components.eater.foodprefs,"GEMS")
table.insert(inst.components.eater.foodprefs,"BIG")
end
end)
end


why is there duplicate lines ? there's 2 of : [table.insert(inst.components.eater.caneat,"GEMS")]
phonkyplaya 2 Jul, 2021 @ 4:19am 
Can you update it to the latest version of DST? It would help a lot <3
Rim <3 Belladona 30 Jun, 2021 @ 11:06am 
"Cleaning server" appears to have deleted all of my server's progress.
ShojiVR 15 Feb, 2021 @ 6:55am 
no longer working and last updated 2016
Toss a coin to your Witcher 2 Jan, 2021 @ 3:01pm 
I was with my friend on day 150 then lag started.. this solved my server lagging thx
Super Brasilis 20 Dec, 2020 @ 11:40am 
this is for weak computers
cleanning serve之后经常卡住无响应……只能强制关闭
恨难修 25 Jul, 2020 @ 4:53pm 
可不可以跟新一下清理粪便,谢谢
Grimshackle 25 May, 2020 @ 12:44pm 
update?
Scottish Engineer 29 Nov, 2019 @ 6:24pm 
i like using this mod but when i do my friends say that they have a lot of lag becuse of it for some odd reson (pardon any shit spelling)
PEEPERS 27 Sep, 2019 @ 12:02pm 
so it sounds like a cool mod but i've never been able to get this to work no matter what i set the timer to. it just never cleans.
johnsir 5 Aug, 2019 @ 6:06pm 
Well so much for having tools on the ground for a quick job, now I gotta figure something out on how to keep them safe. :/
Rasp 19 Mar, 2019 @ 9:04pm 
This works brilliant. Huge thanks.
FORSE 11 Mar, 2019 @ 2:53pm 
Этот мод просто чистит мир а я думал что убирает запрет на 60 фпс игре
Quarter 23 Feb, 2019 @ 9:50pm 
Hello I was wondering if I could remove or add some of the items that are cleaned in the mainmod file, I'm quite new to coding so I was wondering what line would I need to make the changes to, for example, if I wanted to keep the flowers from being removed or I wanted to remove all the frog meat that are leftover after the spring rain.
Thank you :)
aubri 22 Feb, 2019 @ 4:03pm 
Thank you!
murat ▨ⓉⒽ︎Ⓔ︎Ⓞ▨ 21 Nov, 2018 @ 5:31pm 
"birds and rabbits eat items" not working
NNKT 4 Nov, 2018 @ 2:50am 
how to get back my spiders?:(
Ciallo~(∠・ω< )⌒☆ 21 Aug, 2018 @ 9:15pm 
Game always crashed when it cleaned the server, what to do?
DominikMozz_YT 13 Jul, 2018 @ 11:36pm 
The RP did not work for the game so it crashes
Amnesiac 24 May, 2018 @ 11:12pm 
The lag Im talking about is actual server lag with delays between actions and rubberbanding btw, not the lag you get in summer sandstorms or anything like that.
Amnesiac 24 May, 2018 @ 11:11pm 
Wow I was about to be really sad and delete my world at day 400 because it had gotten so freaking laggy, but this mod made it instantly better after the clean. Thank you so much! I think the beefalo and spiders were multiplying out of control....
bugavka 13 May, 2018 @ 11:53pm 
@Astro, pls, add "imune_prefab" - items whitch dont eat by birds
MoppoOrpales Rad 18 Mar, 2018 @ 11:44am 
I mainly see lag spikes in the server durring winter storms and that's it.

This lag mod makes it managable at best.
litfam 6 Mar, 2018 @ 10:33am 
thanks my computer sucks so thanks again!
UnnoticedShadow 18 Feb, 2018 @ 4:37pm 
Sorry, I thought it was for cassual playing:(
Astro  [author] 17 Feb, 2018 @ 4:47am 
@AwsomeDude107, This mod was made for experienced admins of long running public dedicated servers with huge amount of players. It is not recommended to use this mod in any other case. I've added warning to description.
DEREk 5 Feb, 2018 @ 10:29am 
Is this mod updated, stable and compatible ?
Chris 3 Dec, 2017 @ 4:59am 
一清除,腐烂的食物就消失 快更新好吗
I Like Boobs 31 Oct, 2017 @ 6:54am 
Add dropped twigs pls. I think it's the almost problem
I Like Boobs 31 Oct, 2017 @ 6:47am 
Meaning of "0" beefalos? The beefalos haven't created in the world before
Eruaphadriel 25 Oct, 2017 @ 8:32am 
Exactly what @kecamb asked.No spiders or buffalo 50% of the time i create a world.So what 0 means exactly?
kecapb 4 Oct, 2017 @ 7:09am 
hi my friend, if i set max amount of .. equaly 0, does this mean that the object will be completely deleted, or your mod will not affect it?
sry fo my english
F i s h 18 Aug, 2017 @ 9:31am 
custom prefab option doesn't work with any of the sketches