DAMAGE INDICATOR 伤害指示器 | |
---|---|
![]() |
在打击敌人时显示伤害指示器 |
作 者 | Dodison |
发布时间 | 2020年12月26日 |
支持核心 | Spigot | 原生版本 |
支持版本 | 1.16,1.17,1.18,1.19,1.20 |
插件详细介绍
💥Damage Indicator 插件为 Minecraft 服务器添加伤害指示器,显示玩家对实体造成的伤害值。
ShowToDamagerOnly
:配置伤害指示器是对所有人可见 (true
) 还是仅对造成伤害的玩家可见 (false
)。
## Should the indicator be shown to everyone(true) or just the player who dealt the damage(false)
ShowToDamagerOnly: true
IndicatorFormat
:配置伤害指示器的显示格式。可以使用 DecimalFormat 了解更多格式设置选项。
支持使用旧格式的十六进制颜色代码 (例如 &x&F&F&F&F&F&F
表示白色),也可以使用插件独有的小版本 (例如 FFFFFF
表示白色)。注意,十六进制代码中的 0
可能会干扰小数格式,因此需要使用单引号进行转义,例如:'#FFC300'-0.#&4❤
使用十六进制颜色是可选的,仍然支持传统的 Minecraft 颜色代码。
## The format for showing the damage
# Read about decimal formats to learn how to configure the indicator format.
# https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/DecimalFormat.html
# Hex colours are supported using the legacy format (e.g. &x&F&F&F&F&F&F to represent white), but may also be defined
# using a smaller version unique to the damage indicator plugin (e.g. FFFFFF to represent white). Note that the usage
# of 0's in the hex code would mess with the decimal formatting, hence they should be escaped using single quotes, such
# as this:
# IndicatorFormat: "'FFC300'-0.#&4❤"
# using Hex colours is optional. The legacy minecraft colour codes are still supported.
IndicatorFormat: "&7-0.#&4❤"
CriticalIndicatorFormat: "&c-0.#&4❤"
PoisonIndicatorFormat: "&7-0.#'e8a24'❤"
BurnIndicatorFormat: "&7-0.#'f59e42'❤"
FormatLocale
:配置 DecimalFormat 的区域设置 (BCP47)。这决定了格式化时使用的语言环境,例如确定小数使用点 (0.0
) 还是逗号 (0,0
)。
## The decimal format's locale (BCP47)
# This determines the locale used for formatting. The formatter uses this e.g. when deciding between a dot ('0.0')
# or a comma ('0,0') for decimal numbers.
FormatLocale: "en-US"
IndicatorTime
:配置指示器显示的持续时间,单位为秒。
## For how long an indicator should be shown. (Use seconds)
IndicatorTime: 1.5
/damageindicator reload
:重载配置文件。需要 Damageindicator.admin
权限。加入 Discord 获取帮助:https://discord.gg/xwpyGRgBhd