rGoldenHeads
适用于 Paper 和 Folia 的 UHC(极限生存)模式的金色头颅、轻型苹果、附魔苹果合成、头颅掉落及头颅柱。兼容 MCPvP 和 ShieldlessUHC。完全可配置。
定义 UHC 和分层 PvP 的治疗套件:一个可食用的玩家头颅,用一个物品栏格子换取爆发式生命恢复和吸收效果;廉价的轻型苹果;以及经典的合成配方,全部集成在一个插件中。所有数值均为配置项,因此您可以匹配服务器的规则集,而不是使用别人硬编码的数字。
一个 jar 包适用于 Paper 1.21.4 – 26.3,包含 Folia。
功能一览
| 命令 |
物品 |
效果 |
食用时间 |
冷却时间 |
/goldenhead |
金色头颅 |
生命恢复 III (5秒),吸收 I (2分钟) |
1.0秒 |
10秒 |
/instantgoldenhead |
即时金色头颅 |
生命恢复 III (10秒),吸收 II (2分钟),速度 I (5秒) |
瞬间 |
12秒 |
/goldenapple |
自定义金苹果 |
生命恢复 II (10秒),吸收 I (2分钟) |
1.6秒 |
无 |
这三类物品均可在饥饿值满格时食用,且不恢复饥饿值或饱和度。
合成配方
| 配方 |
产出 |
| 玩家头颅周围环绕 8 个金锭 |
金色头颅(或即时金色头颅,由您选择) |
| 苹果与 4 个金锭呈十字形排列 |
轻型苹果:消耗一半黄金量的普通金苹果 |
| 玩家头颅周围环绕 8 个金块 |
原版附魔金苹果 |
- 可选的头颅掉落: 玩家死亡时会掉落其自身的皮肤化头颅,可直接用于合成。支持每次死亡掉落,或仅限 PvP 击杀掉落。
- 头颅柱: 或者在玩家死亡的地点放置下界砖栅栏来展示头颅,这是经典的 UHC 风格。破坏栅栏即可收集头颅。
- 关闭原版配方: 例如移除 8 金锭合成金苹果的配方,使轻型苹果成为合成该物品的唯一途径。
- 每个配方都由您掌控: 包括形状、材料、结果、数量、有形状/无形状合成、物品标签、作为材料的您自己的插件物品,以及可选的权限要求。
- 支持配方书: 配方会自动解锁并支持点击合成。工作台同样有效。
- 无漏洞利用: 金色头颅绝不会与金胡萝卜混淆,自定义金苹果也绝不会与普通金苹果混淆。
- 实时重载: 通过
/rgoldenheads reload 添加、更改或删除配方。
完全可配置的物品
-
内置两种头颅皮肤。 modern 为默认值,classic 可通过一行配置 (head-skin: classic) 还原经典外观。您也可以添加自己的皮肤。
-
添加您自己的物品。 可以定义任意数量的物品;每个物品都有独立的命令和权限。
-
调整所有属性: 名称、描述、材质、堆叠上限、食用速度、冷却时间、饥饿值效果、状态效果等。
-
易读的效果配置。 无需担心增益等级偏移一位错误或刻数计算错误:
effects:
- type: regeneration
level: 3 # 1 = 普通, 2 = II, 3 = III
duration: 10 # 秒
-
MiniMessage 或 & 代码: 使用您习惯的任何格式编写。
-
错误的值不会导致服务器崩溃: 系统会记录确切的配置路径并跳过该值,因此一个损坏的物品或配方不会阻止其他部分运行。
命令
| 命令 |
权限节点 |
/goldenhead |
rgoldenheads.give.goldenhead |
/instantgoldenhead, /instanthead |
rgoldenheads.give.instantgoldenhead |
/goldenapple, /customgapple |
rgoldenheads.give.goldenapple |
/rgoldenheads give <player|*> <item> [amount] |
rgoldenheads.admin.give |
/rgoldenheads reload, /rgh |
rgoldenheads.admin.reload |
所有命令默认仅 OP 可用。/rgoldenheads give 可从控制台执行,因此治疗套件和 UHC 插件可以发放物品。授予 rgoldenheads.give 允许玩家自行使用所有物品,或授予 rgoldenheads.admin 以拥有全部权限。
依赖要求
- Paper 1.21.4 – 26.3(或其分支如 Purpur),或 Folia
- 您的服务器所需的 Java 版本:1.21.x 需要 Java 21,26.x 需要 Java 25
- 无依赖项,无阴影处理。将 jar 放入
plugins/ 目录并启动即可。
每个受支持的版本在每次发布前都会自动引导并检查。可选的更新检查会在每次启动时向 Modrinth 查询一次是否有匹配您当前服务器版本的更新构建;您可以通过设置 update-checker.enabled: false 来关闭此功能。
正在升级? 您现有的配置文件将继续正常工作,直到您将新版默认配置中的 player-heads、recipe-book 和 recipes 部分复制过来之前,一切保持不变。
源码、文档和问题反馈: · GPL-3.0-only
本项目采用 Vibe Coded 风格开发。
rGoldenHeads
Golden Heads, Light Apples, enchanted apple crafting, head drops and head poles for UHC on
Paper and Folia. Compatible with MCPvP and ShieldlessUHC. Fully configurable.
The healing kit that defines UHC and tiering PvP: an edible player head that trades an
inventory slot for burst regeneration and absorption, cheap Light Apples, and the classic
crafting recipes, all in one plugin. Every value is a config entry, so you can match your
server's ruleset instead of the numbers someone else hardcoded.
One jar for Paper 1.21.4 – 26.3, Folia included.
What you get
| Command |
Item |
Effects |
Eats in |
Cooldown |
/goldenhead |
Golden Head |
Regeneration III (5s), Absorption I (2min) |
1.0s |
10s |
/instantgoldenhead |
Instant Golden Head |
Regeneration III (10s), Absorption II (2min), Speed I (5s) |
instantly |
12s |
/goldenapple |
Custom Golden Apple |
Regeneration II (10s), Absorption I (2min) |
1.6s |
none |
All three are edible on a full hunger bar and restore no hunger or saturation.
Crafting
| Recipe |
Makes |
| Player head surrounded by 8 gold ingots |
Golden Head (or the Instant one, your choice) |
| Apple with 4 gold ingots in a plus |
Light Apple: a normal golden apple for half the gold |
| Apple surrounded by 8 gold blocks |
the vanilla Enchanted Golden Apple |
- Optional head drops: dying players drop their own skinned head, ready to craft. Every
death, or PvP kills only.
- Head poles: or set the head on a nether brick fence where the player died, classic
UHC style. Break it to collect the head.
- Switch off vanilla recipes: e.g. remove the 8-ingot golden apple so the Light Apple is
the only way to craft one.
- Every recipe is yours to change: shape, ingredients, result, amount, shaped or
shapeless, item tags, your own plugin items as ingredients, and an optional permission.
- Recipe book support: recipes are unlocked automatically and click-to-craft. Crafters
work too.
- No exploits: a Golden Head is never mistaken for a golden carrot, and a Custom Golden
Apple is never mistaken for a plain golden apple.
- Reload live: recipes are added, changed or removed with
/rgoldenheads reload.
Fully configurable items
-
Two head skins built in. modern is the default, and classic brings back the
original look with one line (head-skin: classic). You can also add your own.
-
Add your own items. Define as many as you like; each gets its own command and permission.
-
Tune everything: name, lore, material, stack size, eating speed, cooldown, hunger
values, effects.
-
Readable effects. No amplifier off-by-one, no tick math:
effects:
- type: regeneration
level: 3 # 1 = plain, 2 = II, 3 = III
duration: 10 # seconds
-
MiniMessage or & codes: write whichever you already use.
-
A bad value never takes the server down: it's logged with the exact config path and
skipped, so one broken item or recipe can't stop the rest.
Commands
| Command |
Permission |
/goldenhead |
rgoldenheads.give.goldenhead |
/instantgoldenhead, /instanthead |
rgoldenheads.give.instantgoldenhead |
/goldenapple, /customgapple |
rgoldenheads.give.goldenapple |
/rgoldenheads give <player|*> <item> [amount] |
rgoldenheads.admin.give |
/rgoldenheads reload, /rgh |
rgoldenheads.admin.reload |
All default to op. /rgoldenheads give works from the console, so kit and UHC plugins can
hand items out. Grant rgoldenheads.give to allow every item for self-use, or
rgoldenheads.admin for everything.
Requirements
- Paper 1.21.4 – 26.3 (or a fork such as Purpur), or Folia
- The Java version your server already needs: 21 for 1.21.x, 25 for 26.x
- No dependencies, nothing shaded. Drop the jar in
plugins/ and start.
Every supported version is booted and checked automatically before each release. An
optional update check asks Modrinth once per startup for a newer build matching your server
version; turn it off with update-checker.enabled: false.
Upgrading? Your existing config keeps working and nothing changes until you copy the new
player-heads, recipe-book and recipes sections from the default config.
Source, docs and issues: · GPL-3.0-only
This project is Vibe Coded.
评论 0
登录后参与评分
还没有评论,来抢沙发吧