Updated v26 and added all safe enteties
🟢 NO LAG – Entity & Item Cleanup Addon (Manual Performance Tool)
This addon helps reduce server lag by safely removing unnecessary entities and dropped items when performance drops.
It will NOT remove:
-
Pets / tamed entities
-
Happy Ghasts
-
Villagers & Wandering Traders
-
Any entity with a name tag
-
Any entity with a protection tag (example:
keep)
Your important mobs and pets are always safe.
⚡ How to use (Manual Commands)
Run these commands in chat when your server starts lagging:
Clear entities only (with protections):
/scriptevent cleanentities:run
Clear dropped ground items only:
/scriptevent cleanentities:items
Clear both (items first, then entities):
/scriptevent cleanentities:all
🛡 How to protect custom mobs or special pets
You can tag any entity so it will never be removed:
/tag @e[r=5,c=1] add keep
Protected tags:
-
keep -
pet -
home -
protected -
named
✅ Best Practices
-
Use the commands only when lag occurs (manual cleanup).
-
Do not spam the commands repeatedly.
-
Combine with:
-
Low simulation distance
-
Limited redstone clocks
-
Controlled mob farms
-
Regular item cleanup
-
ℹ️ Notes
-
This addon does not run automatically.
-
It uses
/scripteventfor reliability on dedicated Bedrock servers. -
Designed for performance, safety, and control.
-
Works across all dimensions (Overworld, Nether, End).
💬 Feedback
If you want changes (auto cleanup, whitelist mobs, extra protections, or UI messages), feel free to request them or edit the script yourself.

