概述:
该插件会监控服务器中大量实体聚集的情况,当实体数量超过配置的限制时,移除多余的生物,同时优先保留重要实体。
自动检测
每 5 分钟(300 秒 - 可配置),插件执行以下操作:
扫描所有已加载的世界
将半径 5 格内的附近实体分组
统计每组中同类实体的数量
如果超过限制,则移除多余的实体
优先级系统
在移除实体时,插件会保留具有以下特征的实体:
最高优先级(100 分):命名实体(带有名牌)
高优先级(80 分):驯服的动物(宠物)
中优先级(60 分):骑乘装备的实体(马、猪、炽足兽)
低优先级(40 分):幼年动物
额外优先级(30 分):拴绳控制的实体
奖励优先级(20 分):载有乘客的实体
优先级分数较低的实体将被优先移除。
例如,如果某个区域挤满了 50 只鸡:
插件会保留最重要的 15 只鸡(如已命名、已驯服等)
移除剩余的 35 只鸡
广播消息:“在出生点 (100, 64, 200) 移除了 35 个 CHICKEN 实体”
命令
/farms search - 手动检查农场并移除多余生物
/farms reload - 重新加载配置文件而无需重启服务器
它能防止的问题
✅ 由 1 格空间内超过 100 只鸡引起的卡顿
✅ 由大规模刷怪塔导致的服务器崩溃
✅ 由拥挤的动物圈舍引发的性能问题
✅ 利用刷怪箱农场进行的作弊行为
结果:更清爽的服务器环境、更好的性能以及公平的游戏体验!
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!
评论 0
登录后参与评分
还没有评论,来抢沙发吧