Why Clearlagg and Mob Stackers Make Lag Worse
The counter-intuitive math behind why bulk-deleting entities trashes your TPS.
The Setup
You install Clearlagg or a Mob Stacker to "fix lag." For the next 24 hours your TPS is *worse*. This is not a mystery, it's how the engine is designed.
What Actually Happens
The Minecraft engine has hard-coded minimum entity thresholds per chunk. When a plugin deletes 50 mobs in one shot, the engine's spawner immediately fires to refill back to the minimum.
So you get a loop:
- 1Plugin deletes 50 entities ā CPU spike to remove them
- 2Engine notices the deficit ā CPU spike to spawn 50 new ones
- 3Five minutes pass ā goto 1
You've turned a steady-state cost into a sawtooth, and the spikes are worse than the original load.
Mob Stackers Are The Same Trap
Mob stackers delete 49 mobs and replace them with one mob carrying a x50 tag. Engine sees one entity. Engine immediately attempts to spawn 49 more to hit the cap. Same loop, same waste.
The Tree Analogy
You're required to keep exactly 50 trees in your yard. Every 5 minutes, someone chops all 50 down. You replant. They chop. Forever. *That's Clearlagg.*
The Right Fix
Instead of culling entities after they spawn, lower the cap so fewer spawn in the first place. Edit bukkit.yml:
spawn-limits:
monsters: 35 # default 70
animals: 8 # default 10
water-animals: 3 # default 5
ambient: 1 # default 15Then in spigot.yml:
world-settings:
default:
entity-activation-range:
animals: 16
monsters: 24
misc: 12Save ā restart ā measure TPS with /tps.
Need More Help?
Want a TPS profile? Run Spark for 60 seconds and post the link in our Discord.
Was this helpful?
Your feedback helps us write better guides.
Related Articles
More from Minecraft Hosting.
How to Start Your First Minecraft Server
From empty panel to a joinable world in under two minutes.
How to Install Plugins on Your Server
Bukkit, Spigot, and Paper plugins, installed and loaded the right way.
How to Install a Modpack (Forge / Fabric)
CurseForge and Modrinth modpacks, installed straight from the panel.
Still need help?
Our team is on Discord around the clock. Real humans, real answers.