HealthBar 血条 | |
---|---|
![]() |
在ActionBar中显示受损实体的健康状况 |
作 者 | JustThiemo |
发布时间 | 2015年12月4日 |
支持核心 | Spigot | 原生版本 |
支持版本 | 1.8,1.9,1.10,1.11 |
插件详细介绍
HealthBar 是一款用于显示目标生命值的插件,灵感来源于 YouTube 上的 "How 3 MineCraft" 系列。当玩家或生物攻击其他玩家或生物时,会在 Action Bar 中显示目标的生命值。生命条的格式可以自定义。
⚠️ 注意:此插件需要 Java 8 才能运行! 主要功能: * 在 Action Bar 中显示受损实体的生命值 * 启用/禁用显示 Action Bar 的权限 * 自定义生物名称支持 * 更改 Action Bar 中显示的实体名称 * 自定义 Action Bar 的样式 ## 🛡️ 权限 * `healthbar.reload`: 重载配置文件 * `healthbar.show-bar`: 显示生命条(如果已启用权限) ## ⌨️ 命令 * `/healthbar reload`: 重载配置文件 ## ⚙️ 默认配置
# HealthBar Configuration
format: "&f%damager - &c[%health&c]"
health-format:
health-used: "&c|"
health-not-used: "&4|"
gamemode-settings:
enable-gamemode-settings: true
disabled-gamemodes:
- adventure
- creative
use-customname: true
disabled-worlds:
- my_world_name
disabled-entities:
- ender_dragon
- wither
enable-permission: false
disable-players: false
display-names:
#zombie: "Brain Chopper"
#skeleton: "King of Archery"
format:
How to full bar should look like. In here %damager is replaced by the player name, or by the attacked entitiy type, %health is being replaced with the entity his health.
-health-format:
What the health should look like, health-used is the health that the entity still has, and health-not-used is the health that is already removed. (The damage that the player already took)
- gamemode-settings:
Enable/disable the gamemode settings + disable the healthbar for specific gamemodes
- use-customname:
Enable/Disable custom name showing in HealthBar
-disabled-worlds:
Worlds where the HealthBar is disabled.
-disabled-entities:
Entities that should not show the healthbar.
- enable-permisison:
Enable or disable the permission to show healthbar
- display-names:
Change how to entity type should be displayed in the actionbar. This will only work if the mob doesnt have a custom display name by itself. Remove # in front of the examples to make them work.
### 配置项说明:
* `format`:
* 定义生命条的完整外观。`%damager` 替换为玩家名称或被攻击的实体类型,`%health` 替换为实体的生命值。
* `health-format`:
* 定义生命值的显示方式。`health-used` 是实体剩余的生命值,`health-not-used` 是已损失的生命值。
* `gamemode-settings`:
* 启用/禁用游戏模式设置,并为特定游戏模式禁用生命条。
* `use-customname`:
* 启用/禁用在 HealthBar 中显示自定义名称。
* `disabled-worlds`:
* 在这些世界中禁用 HealthBar。
* `disabled-entities`:
* 不显示生命条的实体列表。
* `enable-permission`:
* 启用或禁用显示生命条的权限。
* `display-names`:
* 更改实体类型在 Action Bar 中的显示方式。仅当生物没有自定义显示名称时才有效。
遇到问题请先私信作者,感谢!