SpawnersPlus
使用精准采集镐拾取怪物刷怪箱,并用生怪蛋更改其生成的生物。
刷怪箱在搬运过程中会保留其生物:打破它、携带它、重新放置后,它仍然生成相同的生物。
版本 2.1.0 · Paper/Purpur 26.3 · Java 25
功能
- 精准采集拾取 — 使用精准采集镐破坏刷怪箱会掉落一个记住其生物的刷怪箱物品。该生物存储于物品本身中,因此它能安全地通过箱子存储、交易和服务器重启。
- 放置时恢复生物 — 原版游戏拒绝为普通玩家应用刷怪箱数据,因此插件会在物品被放置时将存储的生物写回。
- 生怪蛋转换 — 右键点击刷怪箱并使用生怪蛋即可进行转换。生怪蛋仅消耗一次,且在创造模式下不可用。
- 生物黑名单 — 列在
egg-blacklist 中的生物永远无法放入刷怪箱。被阻止的尝试不会消耗任何物品。
- 包含两种语言 — 英语和葡萄牙语,你可以将自己的语言文件放入
lang/ 目录。
- 兼容保护插件 — 插件在领地(land-claim)和区域插件执行完操作后才运行。它们否决的破坏或交互操作绝不会转化为刷怪箱物品或刷怪箱变更。
- 试炼刷怪箱不受影响 — 试炼和凶险试炼刷怪箱是不同的方块,完全交由原版处理。
权限
| 节点 |
描述 |
默认值 |
spawnersplus.pickup |
使用精准采集镐破坏刷怪箱以拾取它 |
所有人 |
spawnersplus.change |
使用生怪蛋更改刷怪箱的生物 |
所有人 |
该插件不添加任何命令。
配置
# 从 /lang/ 加载的语言文件。
locale: "en-US"
# true -> 需要精准采集镐才能拾取刷怪箱
# false -> 任何镐都可以(不推荐)
require-silktouch: true
# true -> 创造模式下的玩家在破坏刷怪箱时也会获得刷怪箱物品。
# 请保持为 false:在创造模式中该方块无需成本,因此拾取功能
# 会让玩家无限产出刷怪箱物品。
allow-creative-pickup: false
# 永远无法通过生怪蛋放入刷怪箱的生物。
egg-blacklist:
- "ENDER_DRAGON"
消息
lang/en-US.yml 和 lang/pt-PT.yml 在首次启动时写入数据文件夹。颜色使用 & 代码。%mob% 将被替换为生物名称。
prefix: "&d[SpawnersPlus] "
spawner-changed: "&a刷怪箱已更改为 &f%mob%&a!"
egg-blacklisted: "&c你无法将刷怪箱更改为 &f%mob%&c。"
egg-error: "&c该生怪蛋无法用于刷怪箱。"
no-permission: "&c你没有权限更改刷怪箱。"
spawner-item-name: "&d刷怪箱: &f%mob%"
spawner-item-lore: "&7类型: &f%mob%"
要添加一种语言,请将 en-US.yml 复制为 lang/es-ES.yml,翻译它,并将 locale 设置为 "es-ES"。
安装
- Paper 或 Purpur 26.3,Java 25(2.0.0 可在 26.2 上运行)。
- 将
spawnersplus.jar 放入 plugins/ 目录并启动服务器。
config.yml 和两个语言文件将在首次启动时创建。
无依赖项。
从 1.0 升级
直接覆盖即可。config.yml 新增了一个键 allow-creative-pickup,默认为 false;语言文件新增了 no-permission、spawner-item-name 和 spawner-item-lore。现有文件不会被覆盖,缺失的任何键都会回退到内置的英语默认值。
值得注意的行为变更:1.0 接受任何精准采集工具,因此精准采集铲或剪刀也可以拾取刷怪箱。2.0.0 要求必须使用镐,这与 config.yml 始终描述的一致。
许可证
MIT。
SpawnersPlus
Pick monster spawners up with a Silk Touch pickaxe and change what they spawn with a spawn egg.
The spawner keeps its mob through the whole trip: break it, carry it, place it again, and it still
spawns the same thing.
Version 2.1.0 · Paper/Purpur 26.3 · Java 25
Features
- Silk Touch pickup — breaking a spawner with a Silk Touch pickaxe drops a spawner item that
remembers its mob. The mob is stored in the item itself, so it survives chests, trades and
restarts.
- Placement restores the mob — vanilla refuses to apply spawner data for a normal player, so
the plugin writes the stored mob back when the item is placed.
- Spawn egg conversion — right-click a spawner with a spawn egg to convert it. The egg is
consumed once, and never in Creative.
- Mob blacklist — mobs listed in
egg-blacklist can never be put into a spawner. Blocked
attempts consume nothing.
- Two languages included — English and Portuguese, and you can drop your own file into
lang/.
- Protection-aware — the plugin runs after land-claim and region plugins have had their say.
A break or an interaction they veto is never turned into a spawner item or a spawner change.
- Trial spawners untouched — trial and ominous trial spawners are a different block and are
left entirely to vanilla.
Permissions
| Node |
Description |
Default |
spawnersplus.pickup |
Pick a spawner up by breaking it with a Silk Touch pickaxe |
everyone |
spawnersplus.change |
Change a spawner's mob with a spawn egg |
everyone |
The plugin adds no commands.
Configuration
# Which language file to load from /lang/.
locale: "en-US"
# true -> a Silk Touch pickaxe is needed to pick a spawner up
# false -> any pickaxe is enough (not recommended)
require-silktouch: true
# true -> players in Creative also get a spawner item when they break one.
# Keep this false: in Creative the block costs nothing, so the pickup would
# let a player produce spawner items without limit.
allow-creative-pickup: false
# Mobs that can never be put into a spawner with an egg.
egg-blacklist:
- "ENDER_DRAGON"
Messages
lang/en-US.yml and lang/pt-PT.yml are written to the data folder on first start. Colours use
the & codes. %mob% is replaced with the mob name.
prefix: "&d[SpawnersPlus] "
spawner-changed: "&aSpawner changed to &f%mob%&a!"
egg-blacklisted: "&cYou cannot change a spawner to a &f%mob%&c."
egg-error: "&cThat egg cannot be used in a spawner."
no-permission: "&cYou are not allowed to change spawners."
spawner-item-name: "&dSpawner: &f%mob%"
spawner-item-lore: "&7Type: &f%mob%"
To add a language, copy en-US.yml to lang/es-ES.yml, translate it, and set locale: "es-ES".
Installation
- Paper or Purpur 26.3, Java 25 (2.0.0 runs on 26.2).
- Drop
spawnersplus.jar into plugins/ and start the server.
config.yml and the two language files are created on first start.
No dependencies.
Upgrading from 1.0
Drop-in. config.yml gains one key, allow-creative-pickup, which defaults to false; the
language files gain no-permission, spawner-item-name and spawner-item-lore. Existing files
are not overwritten, and any key you are missing falls back to the bundled English default.
One behaviour change worth knowing: 1.0 accepted any Silk Touch tool, so a Silk Touch shovel or
pair of shears could pick a spawner up. 2.0.0 requires a pickaxe, which is what config.yml
always described.
License
MIT.
评论 0
登录后参与评分
还没有评论,来抢沙发吧