Don't Starve Together

Don't Starve Together

166 ratings
Strong Cleaner
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
115.616 KB
Dec 16, 2019 @ 10:20pm
Mar 17, 2022 @ 2:38am
14 Change Notes ( view )

Subscribe to download
Strong Cleaner

Description
A cleaning mod for your server.

Cleaning Mechanism:

It will check the things on the ground every 20 days(by default, configurable). Things that are check the first time will be added tags. Things with tags that are previously added will be remove during the second round of checking. That means if something will go through at least 20 days before removed.

The checking date is at the end of the day of 20,40,60,80,100,etc.

The mod will only remove things that are on the ground and not include in the whitelist.

Things that are in the players' inventory or containers, not include in the whitelist or near the Endtables are secure.

BTW, server reboot will remove all tags.

Manual cleaning

Excute DoRemove() in the console command and the server will do the cleaning check, which means if you want to do a complete cleanup, you need to run this code twice.

Whitelist:
  • small creature such as Rabbit, Mole, Fireflies, and the like
  • things that have the tag of `irreplaceable`, such as Ancient Key, Chester Eyebone and the like
  • Chess Pieces
  • Bundle and Gift Bundle
  • Deer Antler
  • Trap, Teeth Trap and Anenemy
  • Books
  • Moon Eyes
  • Saddle
  • Powcake
  • Pumpkin Lantern
  • Bull Kelp
  • Driftwood Piece
  • Panflute
  • Tentacle Spike and Tentacle Spots
  • Dark Sword
  • Night Armor
  • Bone Helm
  • Bone Armor
  • Shadow Thurible
  • Fossils
  • Shadow Atrium
  • Life Giving Amulet
  • Telltale Heart
  • Thermal Stone
  • Star Caller's Staff and Moon Caller's Staff
  • Cane and The Lazy Explorer
  • Glommer's Goop
  • Meat Bulb
  • Bee Queen Crown
  • Shells
  • Tackle Containers

You can open the mod folder and find the file named whitelist.txt. Add the prefab name of the thing you want to add into the whitelist. One item per line, do not add any space, for example,

poop log cutgrass twigs axe

The Blacklist is available now thanks to gene9831 [github.com]. You can edit the blacklist.txt in the mod folder, two. The format of the file content is the same as whitelist.

Backup your whitelist.txt and blacklist.txt because these two file will be emptied after mod update.
Backup your whitelist.txt and blacklist.txt because these two file will be emptied after mod update.
Backup your whitelist.txt and blacklist.txt because these two file will be emptied after mod update.

Changelog

  • Version 1.8.0
    -The boat cleaning mechanism has changed. Now boats will be removed if there is no player around for a long period.

  • Version 1.7.4
    -Add the feature of manual cleaning.

  • Version 1.7.3
    -Add Blacklist.

  • Version 1.7.1
    -Add Shells and Tackle Containers into the whitelist.

  • Version 1.7.0
    -Now players can modify their own whitelist.

  • Version 1.6.0
    -Add automatical boats destroying when not landed for a spiecific days in game.

  • Version 1.5.0
    -Items floating on the sea will be removed whether in the whitelist or not.

  • Version 1.4.0
    -Tentaclespike, Armor Sanity and Sword Sanity will be removed if the fitness use percent is < 100%.

  • Version 1.3.0
    -Things near Endtables will not be removed.

  • Version 1.2.1
    -Add Configuration for cleaning checking period.


Source code

This project is under the GNU GENERAL PUBLIC LICENSE [www.gnu.org]
Source code is available at GitHub: https://github.com/jupitersh/dst-mod-strong-cleaner
159 Comments
Astro Jan 20 @ 9:36am 
does it remove trinkets or not?
SpaceRol Jan 7 @ 7:12am 
Есть код этого мода который можно ввести в игре и он сразу удалит без пройденных дней?
󰀉Chicken.Bờ.Lu Dec 30, 2024 @ 5:13am 
The game just updated an item called Icker Preserve (Kit) that allows you to store food indefinitely, but your mod removed the items contained here and since they are considered ground items. Can you help me fix the bug?:steamhappy:
致命一坤 Sep 10, 2024 @ 9:00am 
我的blacklist.txt其中部分内容如下:
Cut Grass
Log
Cut Reeds
第一个第三个能清除,第二个的木头无法清楚
致命一坤 Sep 10, 2024 @ 8:58am 
黑名单模式,无法清除木头、浆果、蜘蛛丝、割下的芦苇、牛毛、粪肥等物,希望尽快修复
hero Apr 26, 2024 @ 6:27am 
Awesome mod!

Is it possible to add a pattern matching to the white-/blacklist? I'm thinking of adding blueprints and sketches, maybe like "*_blueprint"?

Thank you for your amazing work.
萝卜 Dec 22, 2023 @ 11:53pm 
黑名单模式突然不生效了
[HAN]HgMs Nov 29, 2023 @ 4:45am 
MOD目录在 \steamapps\workshop\content\322330\1938799734 下面,不在DST的mods目录里,估计是某次steam更新的问题
Molfar® Aug 10, 2023 @ 2:07pm 
Black sheet does not work, removes unnecessary items.
PeeeKaChooooo Aug 4, 2023 @ 6:20am 
mod資料夾名稱叫1938799734 裡面可以找到blacklist.txt和whitelist.txt