LagCleaner
Every survival world tells the same story. An item farm runs overnight, a creeper leaves a crater, and suddenly thousands of dropped items are ticking away in loaded chunks. The server TPS counter starts to wobble, mobs stutter mid-step, and players blame the host. LagCleaner is a small server-side add-on that fixes the most common cause of that slowdown: item clutter nobody is ever going to pick up.
What LagCleaner Does
LagCleaner scans loaded chunks on a timer and removes dropped items that have been sitting on the ground too long. By default it runs every ten minutes and announces a countdown in chat at 60, 30, 10 and 3 seconds so nobody is caught off guard. When the sweep finishes, players see a message like "Removed 312 dropped item(s)." so the result is transparent rather than mysterious.
The safety rules matter as much as the cleanup itself. LagCleaner never touches inventories, chests, barrels, shulker boxes or any other container. It skips renamed items, which protects player-named gear and anything used as a label or decoration. Items dropped in the last few seconds are ignored too, so a player who just tossed something on the ground has time to grab it back. The add-on is server-side only, which means vanilla players can join without installing anything at all.
Supported Versions and Loaders
LagCleaner for Minecraft covers a wide spread of releases, which is handy for servers that refuse to update every patch. The current lineup includes:
- Minecraft 26.3 and 1.21 through 1.21.11 on Fabric, with Fabric Loader 0.20.1, Fabric API and Java 25 for the 26.3 build
- Minecraft 1.21, 1.21.1, 1.21.3 to 1.21.5, 1.21.8, 1.21.10 and 1.21.11 on NeoForge
- Minecraft 1.20.3 and 1.20.4 on Fabric
- Minecraft 1.20, 1.20.1, 1.19.2 to 1.19.4 and 1.18.2 on both Forge and Fabric
That range means a 1.18.2 modded pack and a fresh 1.21.11 NeoForge server can both run the same cleanup logic. If you run a mixed network, you can standardise on one tool instead of juggling three different plugins.
Where It Runs
The add-on works on dedicated servers and on the integrated server in singleplayer. Because the logic lives on the server side, clients never need a matching mod, and vanilla players join without a single warning screen. That makes it a low-risk addition for public survival servers, SMPs with friends, and modded packs where every client-side mod is a negotiation.
How to Install LagCleaner
Installation follows the normal mod workflow, so anyone who has added a Fabric or Forge mod before will feel at home. If you are wondering how to install it on a hosted server, the steps are the same as a local setup once you have file access.
- Confirm your Minecraft version and loader, then grab the matching build
- Drop the jar into the server's mods folder
- Restart the server and check the console for a clean load
- Open config/lagcleaner/lagcleaner.properties to adjust the defaults
If you would rather skip the manual file shuffling, the foxygame.net launcher can handle it for you: its add-on catalog installs LagCleaner in one click and keeps the build matched to your selected Minecraft version, so there is no jar hunting or loader guesswork.
Configuration Options
The config file is deliberately short and readable. The main keys are intervalMinutes (default 10), warnSeconds (default 60, 30, 10, 3), minAgeSeconds (default 10), ignoreNamed (default true), plus prefix and color for chat formatting. Operators also get /clearitems to trigger a sweep on demand, which is perfect before a boss fight or a big build session.
On busy servers, dropping the interval to five minutes keeps item counts low without annoying players, since the warnings give fair notice. On quieter worlds, fifteen or twenty minutes is plenty. Turning off ignoreNamed is possible but rarely wise, because renamed items are often the ones players care about most.
Why It Belongs on Your Server
Item entities are cheap individually and expensive in bulk. A single farm left running can produce thousands of them, each one ticking collision checks and network updates. LagCleaner targets that specific problem instead of trying to optimise everything at once, and the chat countdown keeps the community on side. It is MIT licensed, so packs and public servers can include it freely, and bug reports or feature requests are welcome in the comments.
If you need something more tailored, small custom server plugins are available to order, from quick fixes to brand-new single-feature tools. For most servers, though, the default settings are enough: install it, let it run, and watch the TPS graph flatten out. Download LagCleaner for your version, set your interval, and let the dropped items go.