
BlissMaces
一款 Paper 插件,将原版的战锤(Mace)转化为服务器范围内的神话级神器。专为 Bliss SMP 打造——你的服务器上永远只能存在三个独立战锤和一个巨型战锤(Mega Mace),且受限于一种有限且可合成的货币。
概览
- 永久仅存在 3 个独立战锤,全服范围共享。重启后依然保留。
- 永久仅存在 24 个能量代币(Energy Token),这是合成战锤的唯一资源。
- **巨型战锤(Mega Mace)**由所有三个独立战锤组装而成——持有者死亡时,它会分裂回 3 个独立战锤。
- 独立战锤拥有冷却时间 + 附魔限制。
- 存储锁定——受限的战锤无法存入箱子、末影箱、潜影盒、漏斗等容器中。
- 不可破坏——手持状态下不可损坏,作为掉落物实体时免疫火焰 / 岩浆 / 爆炸 / 虚空。
合成配方
原版战锤的合成配方已被移除。战锤只能通过以下链条进行合成。
能量代币 (Energy Token)

产出 1 个能量代币——带有自定义 NBT 数据、紫色显示名称以及微弱发光效果的紫水晶碎片。
独立战锤(编号 1, 2, 然后 3)

使用 8 个能量代币围绕 1 个重型核心(Heavy Core)。第一次合成为战锤 #1,第二次为战锤 #2,第三次为战锤 #3。在此之后的任何合成尝试都会失败——上限是永久性的。
巨型战锤 (Mega Mace)

将全部三个独立战锤放入任意合成网格中(无需特定形状)。一名玩家必须同时手持这三个战锤。合成巨型战锤的消息会向全服广播。
战锤机制
独立战锤
- 1 分钟冷却时间:每次成功命中后触发,每个战锤独立计算,状态保存在物品上。
- 禁止伤害类附魔——锋利(Sharpness)、亡灵杀手(Smite)、节肢杀手(Bane)、密度(Density)、穿透(Breach)和火焰附加(Fire Aspect)会在铁砧和附魔台被移除,并且每次使用战锤时都会重新清理。
- 行动栏倒计时会在每次被阻挡的命中尝试时显示。
巨型战锤
- 无冷却时间,无附魔限制。
- 带有永久发光效果且
Unbreakable: true(不可破坏)。
- 持有者死亡时,它会分裂回三个独立战锤并作为战利品掉落。该消息会向全服广播。
不可破坏性
所有四种战锤变体均具备以下特性:
- 手持不可破坏——耐久度不会衰减。
- 掉落物实体免疫伤害——火焰、岩浆、仙人掌、爆炸和虚空均无效。
- 免疫燃烧——视觉上永远不会着火。
存储限制
受限的战锤只能进入以下容器:
- 玩家背包
- 2×2 合成格 + 合成台
- 铁砧
- 附魔台
- 砂轮
它们被阻止进入箱子、末影箱、潜影盒、桶、漏斗、投掷器、发射器、熔炉、酿造台以及其他任何地方。点击、拖拽、漏斗传输和漏斗拾取都会被拦截,并在行动栏显示清晰的警告信息。
命令
| 命令 |
描述 |
/mace give <1|2|3|mega> [player] |
生成一个带标记的战锤。 |
/mace token give <amount> [player] |
生成能量代币(管理员 / 测试用)。 |
/mace state |
显示当前计数与硬性上限的对比。 |
/mace set <tokens|maces> <count> |
覆盖持久化的计数器。 |
/mace fix [player|all] |
使用当前的格式重新发放背包和末影箱中的带标记战锤。保留战锤编号和冷却状态。 |
/mace reload |
重载 config.yml 和 state.yml。 |
所有命令均需权限 blissmaces.admin(默认:op)。
配置
config.yml 键值及其默认值:
cooldown-seconds: 60
blocked-enchantments:
- sharpness
- smite
- bane_of_arthropods
- fire_aspect
- density
- breach
max-tokens: 24
max-individual-maces: 3
individual-name-format: "&6Mace &e#{number}"
mega-mace-name: "&5&lMega Mace"
cooldown-actionbar: "&cMace cooldown: &e{seconds}s"
enchant-blocked-message: "&cThat enchantment is not allowed on an individual mace."
mega-craft-broadcast: "&5&l{player} &dhas forged the &5&lMega Mace&d!"
mega-death-broadcast: "&d{player} &7died holding the &5&lMega Mace&7 - it split back into 3 maces."
individual-craft-broadcast: "&6{player} &eforged &6Mace #{number}&e!"
持久化状态——tokens-crafted(已合成品数)和 maces-crafted(已合成品数)——存储在 plugins/BlissMaces/state.yml 中。你可以编辑该文件或使用 /mace set 进行重置。
依赖要求
- Paper 1.21.x(Purpur 和其他分支也可用;不兼容 Folia)
- Java 21
安装
- 将
blissmaces-X.X.X.jar 放入服务器的 plugins/ 文件夹中。
- 重启服务器。
- 默认配置已适用于生产环境。如果你希望调整上限、消息或禁止的附魔,请修改
config.yml。
注意事项
- 该插件移除了原版的
minecraft:mace 合成配方,并且额外使任何会产生无标记战锤的第三方配方失效,因此在你的服务器上,代币链是唯一的路径。
- 通过
/give minecraft:mace ... 生成的战锤是普通的原版战锤,不参与冷却、附魔或存储逻辑。请务必始终使用 /mace give。
- 上限是持久化的。一旦合成了 24 个代币,就无法再制作更多(除非你重置
state.yml 或运行 /mace set tokens 0)。

BlissMaces
A Paper plugin that turns the vanilla Mace into a server-wide mythic artifact. Built for the Bliss SMP — only three individual maces and one Mega Mace can ever exist on your server, gated behind a finite, craftable currency.
Overview
- 3 individual maces ever, server-wide. Persistent across restarts.
- 24 Energy Tokens ever, the sole resource that crafts maces.
- Mega Mace assembled from all three — splits back to 3 on the holder's death.
- Cooldown + enchant restrictions on individual maces.
- Storage lockdown — restricted maces can't be hidden in chests, ender chests, shulker boxes, hoppers, etc.
- Indestructible — unbreakable in hand, immune to fire / lava / explosions / void as a dropped item entity.
Recipes
The vanilla mace recipe is removed. Maces can only be crafted through this chain.
Energy Token

Yields 1 Energy Token — an Amethyst Shard with custom NBT, purple display name, and a subtle glow.
Individual Mace (numbered 1, 2, then 3)

8 Energy Tokens around 1 Heavy Core. The first craft produces Mace #1, the second Mace #2, the third Mace #3. Crafting after that fails — the cap is permanent.
Mega Mace

Place all three individual maces in any crafting grid (shapeless). One player must hold all three at once. Crafting a Mega Mace is broadcast server-wide.
Mace mechanics
Individual maces
- 1-minute cooldown between successful hits, per mace, persisted on the item.
- No damage enchantments — Sharpness, Smite, Bane, Density, Breach, and Fire Aspect are stripped at the anvil and enchanting table, and re-scrubbed every time the mace is used.
- Action-bar countdown shows on each blocked hit attempt.
Mega Mace
- No cooldown, no enchantment restrictions.
- Carries a permanent glow and
Unbreakable: true.
- On the holder's death, splits back into the three individual maces and drops as loot. Broadcasts to the server.
Indestructibility
All four mace variants are:
- Unbreakable in hand — no durability decay.
- Damage-immune as dropped item entities — fire, lava, cactus, explosions, and the void all cancel.
- Combust-immune — they never visually catch fire.
Storage restriction
Restricted maces may only enter these inventories:
- Player inventory
- 2×2 crafting grid + crafting table
- Anvil
- Enchanting table
- Grindstone
They are blocked from chests, ender chests, shulker boxes, barrels, hoppers, droppers, dispensers, furnaces, brewing stands, and anything else. Click, drag, hopper transfer, and hopper pickup are all intercepted with a clear action-bar warning.
Commands
| Command |
Description |
/mace give <1|2|3|mega> [player] |
Spawn a tagged mace. |
/mace token give <amount> [player] |
Spawn Energy Tokens (admin / testing). |
/mace state |
Show current counters vs. hard caps. |
/mace set <tokens|maces> <count> |
Override the persisted counters. |
/mace fix [player|all] |
Re-issue tagged maces in inventories + ender chests using the current formatting. Preserves mace number and cooldown state. |
/mace reload |
Reload config.yml and state.yml. |
All commands require blissmaces.admin (default: op).
Configuration
config.yml keys, with defaults:
cooldown-seconds: 60
blocked-enchantments:
- sharpness
- smite
- bane_of_arthropods
- fire_aspect
- density
- breach
max-tokens: 24
max-individual-maces: 3
individual-name-format: "&6Mace &e#{number}"
mega-mace-name: "&5&lMega Mace"
cooldown-actionbar: "&cMace cooldown: &e{seconds}s"
enchant-blocked-message: "&cThat enchantment is not allowed on an individual mace."
mega-craft-broadcast: "&5&l{player} &dhas forged the &5&lMega Mace&d!"
mega-death-broadcast: "&d{player} &7died holding the &5&lMega Mace&7 - it split back into 3 maces."
individual-craft-broadcast: "&6{player} &eforged &6Mace #{number}&e!"
Persistent state — tokens-crafted and maces-crafted — lives in plugins/BlissMaces/state.yml. Edit the file or use /mace set to reset.
Requirements
- Paper 1.21.x (Purpur and other forks also fine; not Folia-compatible)
- Java 21
Installation
- Drop
blissmaces-X.X.X.jar into your server's plugins/ folder.
- Restart the server.
- Defaults are production-ready. Tune
config.yml if you want different caps, messages, or blocked enchants.
Notes
- The plugin removes the vanilla
minecraft:mace recipe and additionally voids any third-party recipe that would produce an untagged mace, so the token chain is the only path on your server.
- Maces issued through
/give minecraft:mace ... are plain vanilla maces and do not participate in the cooldown, enchant, or storage logic. Always use /mace give instead.
- Caps are persistent. Once 24 tokens have been crafted, no more can ever be made (unless you reset
state.yml or run /mace set tokens 0).
评论 0
登录后参与评分
还没有评论,来抢沙发吧