ClearLaggEnhanced
A modern lag prevention plugin for Paper, Spigot, Purpur and Folia. It handles entity clearing, per-chunk limits and performance monitoring, and every module has an in-game admin GUI.
Features
- Automatic entity clearing with smart protection and adaptive scheduling
- Mob, spawner and misc entity limiters
- Live TPS and memory monitoring
- In-game admin GUI for every module
- Native Folia support
- PlaceholderAPI, stacker plugin and claim plugin integrations
Requirements
- Minecraft 1.20+
- Paper, Spigot, Purpur or Folia
- Java 21+
Installation
- Download the latest release from Modrinth.
- Drop the jar into your
pluginsfolder. - Restart the server.
Documentation
Everything else, including commands, permissions, configuration, modules and integrations, is on the wiki.
Support
- Bugs and feature requests: GitHub Issues
- Questions and help: Discord
Credits
- bob7l, original ClearLagg developer
- djtmk, developer and maintainer
- R00tB33rMan, Folia support
- MrTroxy, modular system
License
Licensed under the BusyBee AAR License.
How to Install ClearLaggEnhanced (Plugin)
ClearLaggEnhanced by Unknown is verified for Folia, Paper, Purpur, Spigot across Minecraft versions 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21 (latest release: 26.10.1, file size: 707 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21) and platform (Folia, Paper, Purpur, Spigot).
- Make sure you have the compatible loader or environment installed for Folia, Paper, Purpur, Spigot.
- Move the downloaded ClearLaggEnhanced file into your Minecraft
.minecraft/pluginsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 22 | ||||
| 2mo ago | 11 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 |
- New developer API allowing other plugins to hook into Entity Clearing (CLE).
- Direct ItemsAdder API integration for reliable protection of custom entities and furniture.
- Artifact publishing migrated to repo.busybeedev.net from JitPack.
Fixed
- A double heading issue in the documentation.
- An issue where chunk placement caps ignored developer API protections and incorrectly removed protected entities.
- Vehicle and hanging entity checks so they properly respect
protect.namedandprotect.tagson creation. - Packet limiter handling to properly skip ProtocolLib temporary players.
Removed
- Nothing
- Startup warnings for invalid entries in the item whitelist to catch misconfigurations early.
Changed
- Whitelist protection rules now strictly apply across all entity removal paths and systems, including MythicMobs and InfernalMobs.
- Whitelisted entity names now automatically match across past and present game versions, preventing old config names from being ignored.
- Dual-type entries (such as Tridents, Armor Stands, Minecarts, and Boats) are now protected in both item and entity forms when whitelisted.
- The configuration updater no longer rewrites or resets settings files, fully preserving custom whitelists, comments, and deleted settings across updates.
Fixed
- An issue where whitelisted villagers or entities were accidentally cleared during chunk-limit sweeps.
Removed
- Nothing
Added
- Server pause detection now hooks directly into the global scheduler for improved accuracy.
- Notice regarding the upcoming removal of built-in entity stacking and stacker integrations in future releases.
Fixed
- Nothing
Removed
- Nothing
- Automatic pause for auto-clear countdowns whenever the server is paused.
- Extra protections for saddled/ridden mobs, player-ridden entities, and fish or axolotls released from buckets.
- Protection for entities tagged with
CLE_PROTECTEDacross all clear routines. - Console warnings during startup if a whitelist entry contains a typo or invalid entity name.
- Updated documentation covering new entity protections and server pause behaviors. https://busybeedev.net/docs/clearlaggenhanced/intro
Fixed
- Issues where player-owned mobs, MythicMobs, or InfernalMobs could still be cleared under certain conditions.
Removed
- Nothing
- Nothing
Fixed
- An issue where MiniMessage color tags containing hex values would render as raw text instead of displaying the correct color.
Removed
- Nothing
- Per-message notification overrides to give you fine-grained control over alerts.
- Automatic updates for official documentation at https://busybeedev.net/docs/clearlaggenhanced/intro.
Fixed
- An issue where the {prefix} placeholder was broken and failed to display correctly.
- Suppressed a false-warning message during startup regarding faststats properties overlap.
Removed
- The unverified ModDex integration to improve stability and performance.
- None
Fixed
- Prevented a crash during plugin startup if the database fails to connect.
Removed
- Unnecessary background library to improve plugin performance and file size.
- None
Fixed
- Corrected an issue where warning updates behaved inversely from expected.
Removed
- None
- ChunkUtils utility to safely handle chunk loading
Fixed
- Refactored modules to leverage ChunkUtils utility for chunk loading
Removed
- Nothing
- Added
broadcastPermissionMessageutility to support permission-based broadcasting. - Integrated permission-based broadcasting for performance snapshot notifications.
## Fixed
- Optimized chunk key calculations in
GlobalEntityRegistryusing bitwise operations for significantly improved performance.
## Removed
- Disabled default
packet-limiterandafksettings inconfig.yml.
Added
- Soft dependency support for ProtocolLib
Fixed
- Improved packet handling performance and stability (ProtocolLib integration)
- Streamlined internal notification processing
- Action bar support for notifications
- Customizable sounds for notifications
Removed
- Nothing
### 🚀 New Features
- AFK Module:** Added a dedicated AFK tracking module complete with customizable configuration options.
- Packet Limiter Module:** Introduced a packet limiter module to help protect the server against packet floods and exploits.
### ⚡ Performance & Tweaks
- Performance Enhancements:** Optimized internal event handling and module processing for smoother server performance.
- Integration Updates:** Updated integration handlers to ensure better compatibility across dependencies.
### 🐛 Bug Fixes
- Inventory Management:** Fixed a
ConcurrentModificationExceptionand prevented potentialNullPointerExceptions inFastInvManager.closeAllduring server shutdown.
### ⚙️ Internal Changes
- Moved inventory management backend (
FastInvandFastInvManager) into the internal library structure (libs.fastinv).
### ✨ Features
- Integrated
FastInv,FastInvManager, andItemBuilderutilities to improve plugin performance and streamline menu and inventory management.
- Remove outdated configuration files for
ModernShowcase,RoseStacker, andWildStackerintegration modules. - Fixed an issue with the whitelist items that effected LEADS in all stages.
- Advanced Entity Protection:**
- Added full protection for **Infernal Mobs** and **RareMob** metadata to keep your rare spawns safe from entity clears.
- Persistent named entities are now automatically protected by default.
- ModDex Integration:** Added comprehensive configuration and logic checks to protect entities within the
mobdexnamespace. - GriefPrevention3D Integration:** Implemented deep integration featuring lifecycle management and claim-aware entity protection. Your entity-clearing configuration now fully respects **GriefPrevention3D** claims and subdivisions!
- Documentation Update:** Updated the README to reflect new commands, configuration options, and the updated **Java 21** requirement.
## 📦 Supported Plugin Links
We have expanded our ecosystem to support the following plugins:
- [MobDex](https://www.spigotmc.org/resources/mobdex.132583/)
- [GriefPrevention3D](https://modrinth.com/plugin/griefprevention-3d-subdivisions)
- [Infernal Mobs](https://www.spigotmc.org/resources/infernal-mobs.2156/)
### ⚙️ System Requirements
- Java 21** or higher is now required.