HealthCore
HealthCore 以清晰且可配置的方式显示生物和玩家的生命值。选择你喜欢的样式(心形、单个心形加数字或进度条),并决定其显示位置:在生物上方、玩家名字下方、击中者的操作栏中,或者作为浮动伤害数字。
功能
生物上方的生命值
- 当生物受到伤害时,其名称标签会变为生命值显示,并在几秒后消失。你也可以将其设置为始终可见。
- 六种样式,可在配置文件中选择:
heart: 一个心形和一个数字(❤ 13.0)
name-heart: 生物名称、心形和数字(Zombie ❤ 13.0)
hearts: 一行心形,包括半颗心
name-hearts: 生物名称和一行心形
bar: 生物名称、彩色进度条和数字
custom: 自定义格式
- 已有自定义名称的生物(例如来自命名牌)将保持不变。
- 在生物死亡前立即移除该显示,并从击杀玩家的生物身上移除,以确保死亡消息和控制台日志保持整洁。
- 选择忽略哪些生物(默认忽略末影龙、凋灵和盔甲架)。
玩家身上的生命值
- 玩家名字下方的一个心形和一个数字(
13 ❤),或者是经典的心形行。可选地也显示在标签页列表中。
- 使用原版计分板生命值显示,因此实时更新。
攻击进度条
- 击中生物或玩家的人会在操作栏中看到目标的生命值。
- 每个玩家都可以通过
/healthcore toggle 关闭自己的攻击进度条。
浮动伤害数字
- 伤害(以及可选的治疗量)以从目标向上浮动的数字形式出现,具有可配置的格式、速度和大小。
完全可配置
- 心形数量、字符和颜色、进度条长度、字符和颜色阈值、小数位以及所有文本格式。
- 所有文本均使用 MiniMessage:颜色、渐变、加粗等。
- 可以在特定世界中关闭生物显示、攻击进度条和伤害数字。
命令
| 命令 |
描述 |
权限 |
/healthcore toggle |
开启或关闭你自己的攻击进度条 |
healthcore.toggle(默认:所有人) |
/healthcore reload |
重新加载配置文件 |
healthcore.reload(默认:OP) |
别名 /hcore 也可用。
占位符
在任何格式中使用这些占位符:<name>、<health>、<max>、<percent>、<bar>、<hearts> 和 <heart>。
不支持 Folia。
注意事项
- 玩家生命值显示使用主计分板(名字下方和标签页槽位)。如果其他插件已经使用了这些槽位,请在配置文件中关闭
players.below-name 或 players.tab-list。
- 生物生命值通过生物的自定义名称显示,因此重命名生物的其他插件可能会与之冲突。
config.yml 中的默认消息为巴西葡萄牙语,可以自由编辑。
支持
发现错误或有任何建议?在项目页面上提交问题。
HealthCore
HealthCore shows the health of mobs and players in a clean, configurable way. Pick the look you like (hearts, a single heart with a number, or a bar) and decide where it appears: above mobs, below player names, in the action bar of whoever hits, or as floating damage numbers.
Features
Health above mobs
- The mob's name tag turns into a health display when it takes damage, and disappears after a few seconds. You can also keep it always visible.
- Six styles, selectable in the config:
heart: one heart and a number (❤ 13.0)
name-heart: mob name, heart and number (Zombie ❤ 13.0)
hearts: a row of hearts, including half hearts
name-hearts: mob name and a row of hearts
bar: mob name, a colored bar and the number
custom: write your own format
- Mobs that already have a custom name (for example from a name tag) are left untouched.
- The display is removed right before a mob dies, and from a mob that kills a player, so death messages and console logs stay clean.
- Choose which mobs are ignored (the Ender Dragon, the Wither and armor stands by default).
Health on players
- A heart and a number below the player's name (
13 ❤), or the classic row of hearts. Optionally also in the tab list.
- Uses the vanilla scoreboard health display, so it updates in real time.
Hit bar
- Whoever hits a mob or a player sees the target's health in the action bar.
- Each player can turn their own hit bar off with
/healthcore toggle.
Floating damage numbers
- Damage (and optionally healing) appears as numbers floating up from the target, with configurable format, speed and size.
Fully configurable
- Hearts count, characters and colors, bar length, characters and color thresholds, decimals, and every text format.
- All texts use MiniMessage: colors, gradients, bold and more.
- Turn off the mob displays, the hit bar and the damage numbers in specific worlds.
Commands
| Command |
Description |
Permission |
/healthcore toggle |
Turn your own hit bar on or off |
healthcore.toggle (default: everyone) |
/healthcore reload |
Reload the configuration |
healthcore.reload (default: OP) |
The alias /hcore also works.
Placeholders
Use these in any format: <name>, <health>, <max>, <percent>, <bar>, <hearts> and <heart>.
Folia is not supported.
Notes
- The player health display uses the main scoreboard (below-name and tab-list slots). If another plugin already uses those slots, turn off
players.below-name or players.tab-list in the config.
- Mob health is shown through the mob's custom name, so another plugin that renames mobs may conflict with it.
- The default messages in
config.yml are in Brazilian Portuguese and can be edited freely.
Support
Found a bug or have a suggestion? Open an issue on the project page.
评论 0
登录后参与评分
还没有评论,来抢沙发吧