Don't Starve Together

Don't Starve Together

465 ratings
Less lags
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
3.103 KB
Jan 9, 2016 @ 8:44pm
Feb 18, 2016 @ 8:44am
12 Change Notes ( view )

Subscribe to download
Less lags

Description
===============================================================
WARNING: 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!

It is also recommended to read discussions before using this mod.
===============================================================

I hate to see how lag most old dedicated servers (1000+ days), and how admins are being forced to erase whole world and restart game only because of lags. That is why I publish this mod.

What it does
First, it periodically perform cleaning of the server. Cleaning deletes some items on the ground. You can specify maximum of each item type.
Second, it allows for bird to steal small items, like gold nugget (everyone knows that crows like shiny objects).

With these two features you will never have tons of spider silk or millions of spiders or beefalos on your server (wich causes a lot of lags).

With this mod you can have 1000+ days dedicated server without any lags (as I did).

Item list
Full list of items see in discussion.

Recomendations
To reach the best result, it is also highly recommended to:
1. Add foodie mod (allows some items to spoil slowly, including grass, silk, etc)
2. Add No walls mod
3. Add More drops mod, but set minimum amount of trees, grass, boulders
4. Turn off frog rain
5. Set maximum amount of birds (they will eat a lot of items from the ground)


UPDATES
1. Fixed compatability issue with moderator commands mod
2. Added ability to show additional warning message about cleaning
3. Made it possible to run cleaning immediately using console: TheWorld.Clean()

Idea of stealing birds belongs to Star
Popular Discussions View All (3)
5
Dec 22, 2023 @ 3:32pm
Configuring modoverride.lua
Astro
3
Jun 8, 2022 @ 6:02am
Feature request
Muche
1
May 1, 2018 @ 12:56pm
List of items
Astro
167 Comments
Trippy Hippie Sep 16, 2024 @ 3:07am 
this got me crash lately when it says <cleaning server< idk why
dano Jul 9, 2024 @ 8:01am 
Is this mod still working? It runs on my server, I see the messages but it does not clean everything.
CozyCouch Oct 12, 2023 @ 4:59am 
@hero can you make a fork or update this mod? for the beefalo problem?
Metheus Aug 3, 2023 @ 7:31am 
will clean my trained beefalo
󠁳⁧⁧ Playeroth Jul 9, 2023 @ 4:54pm 
2016 mod
Amo um peitin May 19, 2023 @ 7:51am 
:steamthumbsup:
TroN Jan 29, 2023 @ 4:26pm 
All spiders disappeared from the map and now I have to reset the world :(
Doug Dec 1, 2022 @ 1:18pm 
this mod delete my last spider egg
hero Oct 10, 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
[...]