EntityClearer
This plugin requires Java 21 or higher and a Paper server.
The legacy Spigot version can be downloaded here.
It also works well with FarmControl!



Features
- Custom interval
- Custom warning sounds
- Customizable entity list
- World whitelist
- Keep named entities
- Keep entities with a player riding them
- Remove entities with certain spawn reasons
- Remove only entities with x others nearby
- Action bar messages
- Chat messages
- Title/subtitle messages
- TPS monitoring
- MythicMobs support
- PlaceholderAPI placeholders
- And more!
You might ask, "Why should I use this over something like ClearLagg?"
EntityClearer not only adds action bar messages, but also warning sounds, world whitelists, and many other useful features!
Plugins like ClearLagg are often frowned upon because they remove all entities from the list in an attempt to "clear lag", but this can actually cause more lag since entities will just respawn shortly after.
EntityClearer takes a smarter approach: it only removes entities that are clustered together (customizable in the config). This helps eliminate the worst lag offenders while also preventing mobs from immediately respawning. As a bonus, EntityClearer is still actively maintained. :)
FAQs
PlaceholderAPI Placeholders
Commands & Permissions
config.yml
All Versions
+ Add Version- Fixed a possible bug where the internal entity data list wasn't properly reset for each world
- Improved the reliability of the error handling for empty entity lists
- Updated the config URLs to now use Paper's own latest versions of the javadocs
The config changes can be found [here](https://github.com/SilverstoneMC/EntityClearer/commit/b1b316fb8c424ae5db0e7ea0dab80da7acc25dd1#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c)
- Fixed the
%entityclearer_remaining_seconds_left_<world>%placeholder not working
- Placeholders now use the MiniMessage format instead of the curly brace {} format
- You will need to manually update your placeholders
- Changed GitHub update links to Modrinth
- Added 1.21.7 support
The config changes can be found [here](https://github.com/SilverstoneMC/EntityClearer/commit/e197266a3b521999db0dc8482b648cb22d4c6a0d#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c)
- Added support for 1.21.6
- Bumped minimum Java version to 21
- Bumped minimum version to 1.20.5
- Updated dependencies
- Updated the javadoc links in the config to redirect to latest (custom domain until Paper makes it themselves)
- Dropped Spigot support
- If for some reason you're still on Spigot, either download the finalized Spigot version [here](https://www.spigotmc.org/resources/entityclearer-a-clearlagg-alternative.90802/update?update=598867) or switch to Paper (recommended) [here](https://papermc.io/downloads/paper)
The config changes can be found [here](https://github.com/SilverstoneMC/EntityClearer/commit/b1c892df550d162674a06ff0f99368cdeb15b892#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c) and [here](https://github.com/SilverstoneMC/EntityClearer/commit/8c8a5cda401999c7ac78b79832a7fd7f0a618331#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c)
- Added the plugin version and placeholders to the PAPI info command
- Added more debug info
- Updated dependencies
- Incorrect usage of the PAPI placeholders will now return more information
- Added support for title and subtitle messages
- These can be seen with the
entityclearer.removalnotifs.titlepermissions - Simplified some code
- Removed legacy coloring
- If you used & color codes in any of your messages, please update them to follow the MiniMessage formatting
- Updated some links in the config
- Updated and sorted entity names in the config examples
- Updated some comments in the config
The config changes can be found [here](https://github.com/SilverstoneMC/EntityClearer/commit/fc65f5b2138f6c77f4da885a4496d93555f77bba#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c)
- Fixed an issue where the plugin would begin the entity clearing tasks before all 3rd-party worlds were loaded
- Added more debug info
- Fixed a method not found error on Spigot servers
- Added the ability to only run the tasks when a minimum amount of players are online
- Updated dependencies
- Added more info to the debug dump
- Updated some of the comments in the config to help new users a bit better
The config changes can be found [here](https://github.com/SilverstoneMC/EntityClearer/commit/12fe1ce295bfd590bb0d6ef285421faf1e282ee9#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c)
- Fixed the checksum checks not working on Spigot servers
- Added a checksum checker to detect if the plugin has possibly been affected by malware
- I highly recommend updating to this version as there seems to be a bad actor distributing a lot of malware on Spigot lately
- Updated the plugin's Discord invite
- Added permissions for receiving actionbar/chat/sounds when the clear task runs
- entityclearer.removalnotifs.[actionbar/chat/sound]** (default: true)
- Simplified the message formatting in the config
- Added log messages for the clear tasks
The config changes can be found [here](https://github.com/SilverstoneMC/EntityClearer/commit/b88292375c9cd15372cf7a78b215abce20d9f086#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c)
- Bumped the link for the Paper javadocs to 1.21
- Updated dependencies
The config changes can be found [here](https://github.com/SilverstoneMC/EntityClearer/commit/476b866f4616ed5e63bfc16211df73a64b9512b7#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c)
- Changed the append-s option to be customizable
- Fixed the plugin sending "minutes" even if there was only 1 minute
- Fixed the plugin sending "60 seconds" instead of "1 minute" or similar
- Switched the dump link from paste.gg to pastes.dev
- Added an FAQs link to the config and moved the bStats disclaimer to the bottom
The config changes can be found [here](https://github.com/SilverstoneMC/EntityClearer/commit/270579ab898609dd42df643e1b866492bbd18a1c#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c) and [here](https://github.com/SilverstoneMC/EntityClearer/commit/43efb8fc9fe8684aca5583d6364a4302d749c190#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c)
- Added the ability to customize "minutes" and "seconds" when counting down using the TIME placeholder
The config changes can be found [here](https://github.com/SilverstoneMC/EntityClearer/commit/e8f65b563194ce7bdefd5c0191621df6a54587dc#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c)