Non-invasive solution for unwanted entities!
Sometimes mobs can randomly pick up loot from other dead mobs without any player actions and become persistent. Those mobs then can pile up in unexpected places with little to no chances of player encounter or environmental death. Persistent mobs are not counted towards mobcap and continue to accumulate thus contributing to lag, but even if they do count they would drastically reduce other mobs spawning.
This plugin aims to solve this issue without forcibly clearing anything, disabling any mechanics or enabling any restriction, but just by detecting those mobs and unpersisting them, so they will finally be able to naturally despawn!
Simple configuration allows you to customize plugin behavior:
- ticksLived - Amount of ticks after which mob is considered too long-lived.
- logOnly - Inform about mobs in console but do not take any actions. This is useful if you just want to analyze the situation.
- dropItems - Should affected mobs drop all their equipment upon despawning to reduce chances of losing something valuable for players.
- ignoreTeams - Some custom mobs may use teams to make their custom name completely invisible for players. If this option is disabled the plugin makes sure to check mob team tag visibility option.
- ignoredWorlds - List of worlds by name to skip. Those are easily obtained from your server root folder, for example default
world
is Overworld,world_nether
is well… The Nether, and so on. This may be useful for specific cases like zombies/drowned farm in The End utilizing reinforcement mechanic. - ignoredEntities - List of mob types to ignore. Full list of types may be found here
- ignoredSpawnReasons - Skip any mob with any of reasons listed here. By default this includes:
- DEFAULT - Mobs generated within structures, such as Piglins in Bastions.
- CUSTOM - Mobs spawned by other plugins.
- COMMAND - Mobs spawned mostly by datapacks.
- SPAWNER_EGG - Self explanatory, just in case :)
Full list of reasons may be found here
All non-monsters, name-tagged mobs and mobs in vehicles are also skipped by design.
❗️ This plugin uses Paper API thus only works on Paper (or any of it's forks)!
External resources
Project members
NineTeam
Technical information
License
LGPL-3.0-or-later
Project ID