? PollinatorPlus
PollinatorPlus 是一款轻量级的 Spigot/Paper 插件,用于修复因其他插件(尤其是 PlotSquared)拦截而受阻的自然实体行为。
由 Baumkrieger69 开发。
❓ 为什么需要这个插件?
PlotSquared 会取消地块内部及周围许多实体事件,以保护建筑并防止恶意破坏。不幸的是,这也完全阻断了自然且无害的实体行为:
| 实体 |
被阻断的行为 |
事件 |
| ? 蜜蜂 |
进入蜂巢/巢穴 |
EntityEnterBlockEvent |
| ? 蜜蜂 |
从蜂巢生成 |
CreatureSpawnEvent |
| ? 青蛙 |
产下蛙卵 |
EntityChangeBlockEvent |
| ? 青蛙 |
从卵中孵化 |
CreatureSpawnEvent |
| ? 海龟 |
产下海龟蛋 |
EntityChangeBlockEvent |
| ? 海龟 |
从蛋中孵化 |
CreatureSpawnEvent |
PollinatorPlus 在 HIGHEST(最高)优先级监听,在 PlotSquared 取消这些事件之后运行,并简单地重新启用它们——从而使实体恢复自然行为,同时不影响地块保护功能。
✨ 功能
- ✅ 修复被取消的 蜜蜂 进入蜂巢行为 (
EntityEnterBlockEvent)
- ✅ 修复被取消的 蜜蜂 从蜂巢生成行为 (
CreatureSpawnEvent)
- ✅ 修复被取消的 青蛙 和 海龟 产卵行为 (
EntityChangeBlockEvent)
- ✅ 修复被取消的 青蛙 和 海龟 生成行为 (
CreatureSpawnEvent)
- ✅ 游戏内配置重载命令
- ✅ 配置中支持按事件切换开关
- ✅ 调试日志模式
? 要求
- Spigot / Paper 1.21+
- Java 17+
- PlotSquared (或任何会取消这些事件的插件)
entity-enter-block: true
| 选项 |
默认值 |
描述 |
debug |
false |
在控制台中启用详细的调试日志 |
handle-entity-change-block |
true |
修复青蛙/海龟产卵及蜜蜂蜂巢事件 |
handle-creature-spawn |
true |
修复青蛙/海龟孵化及蜜蜂蜂巢生成 |
handle-entity-enter-block |
true |
修复蜜蜂进入蜂巢/巢穴 |
? 命令
| 命令 |
描述 |
权限 |
/pollinatorplus |
重载配置文件 |
pollinatorplus.reload |
? 权限
| 权限 |
默认值 |
描述 |
pollinatorplus.reload |
OP |
允许重载配置文件 |
? 工作原理
PollinatorPlus 以 HIGHEST 优先级注册所有事件,并设置 ignoreCancelled = false。这意味着它在 PlotSquared(使用 NORMAL 或 HIGH 优先级)之后运行,并且可以有选择性地仅取消上述特定无害自然行为的取消状态。
玩家的地块保护功能保持完整不受影响。 ✅
? 测试配置
本插件是在以下特定的服务器设置下开发和测试的。
其他配置可能符合预期,也可能不符合。
| 设置 |
值 |
位置 |
doMobSpawning gamerule |
true |
Minecraft Gamerule |
| Mob Spawning |
deny |
WorldGuard Region Flag |
⚠️ 重要提示: 该插件是在 通过 gamerule 启用实体生成 但 在区域级别被 WorldGuard 阻止 的情况下,结合 PlotSquared 进行测试的。
这正是它旨在修复的确切设置。
在其他配置下的行为(例如 doMobSpawning false、无 WorldGuard、
不同的保护插件)未经过测试,可能会有所不同。
? 兼容性
| 插件 / 设置 |
状态 |
| PlotSquared |
✅ 完全兼容 & 专为它设计 |
WorldGuard (mob-spawning deny) |
✅ 已测试 & 正常工作 |
WorldGuard (mob-spawning allow) |
⚠️ 未测试 |
| GriefPrevention |
⚠️ 未测试 |
doMobSpawning true |
✅ 已测试 |
doMobSpawning false |
⚠️ 未测试 — 可能会导致行为异常 |
| 任何其他保护插件 |
⚠️ 未测试,可能可用 |
? PollinatorPlus
PollinatorPlus is a lightweight Spigot/Paper plugin that fixes natural mob
behaviors being blocked by other plugins — most notably PlotSquared.
Developed by Baumkrieger69.
❓ Why does this plugin exist?
PlotSquared cancels many entity events inside and around plots to protect
builds and prevent griefing. Unfortunately this also blocks completely natural
and harmless mob behaviors:
| Mob |
Blocked Behavior |
Event |
| ? Bee |
Entering beehive / nest |
EntityEnterBlockEvent |
| ? Bee |
Spawning from beehive |
CreatureSpawnEvent |
| ? Frog |
Laying frogspawn eggs |
EntityChangeBlockEvent |
| ? Frog |
Hatching from eggs |
CreatureSpawnEvent |
| ? Turtle |
Laying turtle eggs |
EntityChangeBlockEvent |
| ? Turtle |
Hatching from eggs |
CreatureSpawnEvent |
PollinatorPlus listens at HIGHEST priority after PlotSquared has cancelled
these events and simply un-cancels them — so the mobs behave naturally again
without compromising plot protection.
✨ Features
- ✅ Fixes cancelled Bee hive entering (
EntityEnterBlockEvent)
- ✅ Fixes cancelled Bee spawning from beehives (
CreatureSpawnEvent)
- ✅ Fixes cancelled Frog & Turtle egg laying (
EntityChangeBlockEvent)
- ✅ Fixes cancelled Frog & Turtle spawning (
CreatureSpawnEvent)
- ✅ In-game config reload command
- ✅ Per-event toggle in config
- ✅ Debug logging mode
? Requirements
- Spigot / Paper 1.21+
- Java 17+
- PlotSquared (or any other plugin that cancels these events)
entity-enter-block: true
| Option |
Default |
Description |
debug |
false |
Enables detailed debug logging in console |
handle-entity-change-block |
true |
Fixes Frog/Turtle egg laying & Bee hive events |
handle-creature-spawn |
true |
Fixes Frog/Turtle hatching & Bee hive spawning |
handle-entity-enter-block |
true |
Fixes Bee entering beehive/nest |
? Commands
| Command |
Description |
Permission |
/pollinatorplus |
Reloads the config |
pollinatorplus.reload |
? Permissions
| Permission |
Default |
Description |
pollinatorplus.reload |
OP |
Allows reloading the config |
? How it works
PollinatorPlus registers all its events at HIGHEST priority with
ignoreCancelled = false. This means it runs after PlotSquared
(which uses NORMAL or HIGH priority) and can selectively un-cancel
only the specific harmless natural behaviors listed above.
Plot protection for players remains completely intact. ✅
? Tested Configuration
This plugin was developed and tested under the following specific server setup.
Other configurations may or may not work as expected.
| Setting |
Value |
Where |
doMobSpawning gamerule |
true |
Minecraft Gamerule |
| Mob Spawning |
deny |
WorldGuard Region Flag |
⚠️ Important: The plugin was tested with mob spawning enabled via gamerule
but blocked by WorldGuard on a per-region basis, combined with PlotSquared.
This is the exact setup it was built to fix.
Behavior under other configurations (e.g. doMobSpawning false, no WorldGuard,
different protection plugins) has not been tested and may differ.
? Compatibility
| Plugin / Setting |
Status |
| PlotSquared |
✅ Fully compatible & designed for it |
WorldGuard (mob-spawning deny) |
✅ Tested & working |
WorldGuard (mob-spawning allow) |
⚠️ Not tested |
| GriefPrevention |
⚠️ Not tested |
doMobSpawning true |
✅ Tested |
doMobSpawning false |
⚠️ Not tested — likely breaks behavior |
| Any other protection plugin |
⚠️ Untested, may work |
评论 0
登录后参与评分
还没有评论,来抢沙发吧