Farm Limiter
1.0The plugin monitors your server for large groups of entities and removes excess mobs when they exceed configured limits, while prioritizing important entities.
Overview:
The plugin monitors your server for large groups of entities and removes excess mobs when they exceed configured limits, while prioritizing important entities.
Automatic Checking
Every 5 minutes (300 seconds - configurable), the plugin:
Scans all loaded worlds
Groups nearby entities within a 5-block radius
Counts entities of the same type in each group
Removes excess entities if they exceed the limit
Priority System
When removing entities, the plugin keeps entities with these characteristics:
Highest Priority (100 points): Named entities (with nametags)
High Priority (80 points): Tamed animals (pets)
Medium Priority (60 points): Saddled mobs (horses, pigs, striders)
Low Priority (40 points): Baby animals
Extra Priority (30 points): Leashed mobs
Bonus Priority (20 points): Mobs with passengers
Entities with lower priority scores are removed first.
If there are 50 chickens crammed in one area:
Plugin keeps the 15 most important chickens (named, tamed, etc.)
Removes the remaining 35 chickens
Broadcasts: "Removed 35 CHICKEN entities at spawn (100, 64, 200)"
Commands
/farms search - Manually check for farms and remove excess mobs
/farms reload - Reload configuration without restarting
What It Prevents
Lag from 100+ chickens in 1-block farms
Server crashes from massive mob grinders
Performance issues from crowded animal pens
Exploits using spawner-based farms
Result: Cleaner server, better performance, fair gameplay!
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta