
Saro's Clearlag is a powerful server-side optimization mod designed to keep your Minecraft server running smoothly by automatically clearing lag-causing entities. With highly customizable intervals, blacklists, and whitelists, you have complete control over what gets cleared and when. Perfect for both vanilla and modded servers!

Automatic Entity Clearing 🔄
Smart Filtering System 🎯
Advanced Protection 🛡️
Flexible Configuration ⚙️
Server-Side Only 🖥️
Clearable Entity Categories:
All commands require OP level 2 (operator permissions)
/clearlag clear: Manually clear entities immediately/clearlag info: Display current configuration settings/clearlag count: Count how many entities would be cleared/clearlag timer: Show time remaining until next automatic clear/clearlag reset: Reset the automatic clear timer/clearlag reload: Reload configuration from file/clearlag help: Display command help
Configuration File Location:
The config file is automatically generated at: config/sarosclearlag-common.toml
Key Configuration Options:
Auto-Clear Settings:
Entity Filtering:
minecraft:entity_type or modid:entity_typeminecraft:zombie, minecraft:item, create:contraptionProtection Settings:
Message Customization:
{count} for entity count){time} for seconds remaining)
Example Use Cases:
🎮 Survival Server: Clear dropped items and hostile mobs every 5 minutes while protecting named pets and items near players.
🏗️ Creative Server: Clear only projectiles and XP orbs to prevent lag from player experiments.
⚔️ PvP Server: Clear items and mobs frequently but protect items near players with a protection radius.

More versions coming soon!
Join our community on Discord to give feedback and suggestions or report any bugs you find!
Project Support & Usage
Hosting: For the best performance, I recommend using BisectHosting linked in the banner.
Modpacks: You are free to include my work in any modpack. Please ensure proper credit is given by providing a link to this project page.