
?️ DamageIndicator (By GoldwarGlory)
- ✅DamageIndicator 会在玩家或实体受到伤害时显示悬浮的伤害数字。
- ✅它被设计为极其轻量、现代,并且适用于生产环境服务器。
- ✅该插件使用 Minecraft 原生的 TextDisplay 实体,避免了数据包(packets)、ProtocolLib 或盔甲架的使用——确保了卓越的性能以及与新版本长期的兼容性。
- ✅此插件还内置了游戏内配置编辑器,您可以轻松自定义此插件的 config.yml。
✨ DamageIndicator 插件功能
- ?实体上方悬浮伤害数字
- ?普通攻击与暴击分别格式化
- ?可选的 TextDisplay 实体血条
- ?支持按玩家切换命令 (/damageindicator toggle)
- ?完全可配置的 MiniMessage 消息
- ?基于世界的启用/禁用支持
- ?伤害指示器和血条均支持视距限制
- ?针对 Paper、Purpur 和 Folia 进行了优化
- ?游戏内配置编辑器 GUI。
⚡ 服务器的性能与安全
- ⚡无数据包交互
- ⚡无盔甲架
- ⚡无需 ProtocolLib 依赖
- ⚡安全使用实体乘客机制
- ⚡自动清理孤立显示的实体
- ⚡对隐形玩家禁用血条
- ⚡专为保持 TPS 友好而构建,即使在繁忙的服务器上也能稳定运行。
- ⚡排除特殊实体(如末影水晶)以保留原版行为
? 需要帮助?或报告错误
- ❤️加入我的 Discord 服务器获取更新、支持和提出建议
- ❤️我的 Discord 服务器:
- ❤️我的 Modrinth 个人资料:
➕ DamageIndicator 额外信息
? config.yml ?
# =====================================================
# DamageIndicator - 轻量级伤害与血条显示
# 优化 • 安全 • Paper / Purpur / Folia
# =====================================================
update-tracker: true # 当管理员上线时追踪更新情况
DamageIndicator:
normal:
enabled: true
text: "<red>-{damage}" # {damage} 将被替换为实际伤害数值。
crit:
enabled: true
text: "<gold>✧ {damage} ✧" # {damage} 将被替换为实际伤害数值。
show-to-damager-only: false # 如果为 true,只有造成伤害的玩家能看到伤害指示器。如果为 false,附近所有玩家都能看到。
height: 1.6 # 伤害指示器在实体上方的高度(以方块为单位)
duration-ticks: 20 # 伤害指示器可见的持续时间(以刻为单位,20 刻 = 1 秒)
disabled-worlds: [] # 如果为空,则所有世界都启用伤害指示器。否则仅在指定的世界中启用(使用世界名称)
shadowed-text: true # 如果为 true,伤害文本将带有阴影以提高可见度
view-distance: 10 # 从受伤实体开始计算的最大距离(以方块为单位),在此距离内可见伤害指示器
see-through: true # 如果为 true,伤害文本将穿透方块和生物可见
damage_formatting: INTEGER # 伤害数字的格式方式。INTEGER = 四舍五入到整数,DECIMAL = 显示一位小数,SHORT = 使用 K 表示千位(例如 1.5K)
commands:
toggle-damage-indicator: true # 如果为 true,将启用 "/damageindicator toggle" 命令以允许单个玩家开启或关闭伤害指示器
healthbar:
enabled: true # 主开关 - 如果为 false,无论其他设置如何,都不会显示血条
mode: compact # "bar" 为条形模式,"compact" 为紧凑模式。
shadowed-text: false # 如果为 true,血条文本将带有阴影(仅适用于紧凑模式)
dont-spawn-healthbar-below: -30 # Y 坐标低于此值的实体不会生成血条(防止地下生物显示血条)
view-distance: 10 # 从实体开始计算的最大距离(以方块为单位),在此距离内可见血条
duration-ticks: 100 # 受到伤害后血条可见的持续时间(以刻为单位,20 刻 = 1 秒)
show-for:
mobs: true # 如果为 true,怪物将显示血条
players: true # 如果为 true,玩家将显示血条
hide-at-full-health: true # 如果为 true,当实体满血时不显示血条
height: 0.6 # 血条在实体上方的高度(以方块为单位)
see-through: true # 如果为 true,血条将穿透方块和生物可见
disabled-entities: # 不会显示血条的实体列表(使用实体类型名称)
- SKELETON_HORSE
- ZOMBIE_HORSE
disabled-worlds: # 如果为空,则所有世界都启用血条。否则仅在指定的世界中启用(使用世界名称)
- example_world
- example_world1
# 条形模式设置
bars: 10 # 条形模式中显示的条形数量(例如 10 表示每个条形代表 10% 的生命值)
symbols:
filled: "▌" # 血条填充部分的符号
empty: "▌" # 血条空白部分的符号(可以与填充部分相同但颜色不同)
colors:
full: "&a" # 生命值高于 50% 时的颜色
medium: "&e" # 生命值在 25% 到 50% 之间的颜色
low: "&c" # 生命值低于 25% 时的颜色
compact: # 紧凑模式设置
format: "&b{name} &a{health}&e/&6{max} &c❤" # {name} = 实体名称,{health} = 当前生命值,{max} = 最大生命值。您可以在这里使用颜色代码(&a, &b 等)
➕ plugin.yml ➕
name: DamageIndicator
version: 1.0.4
main: DamageIndicator.DamageIndicator
api-version: 1.21
author: GoldwarGlory
website: https://modrinth.com/plugin/damageindicator
commands:
damageindicator:
discription: 使用 /damageindicator reload 重新加载
usage: /damageindicator
permissions:
damageindicator.reload:
default: op
damageindicator.toggle:
default: true

?️ DamageIndicator (By GoldwarGlory)
- ✅DamageIndicator displays floating damage numbers when players or entities take damage.
- ✅It is designed to be extremely lightweight, modern, and safe for production servers.
- ✅The plugin uses Minecraft’s native TextDisplay entities, avoiding packets, ProtocolLib,or armor stands — ensuring excellent performance and long-term compatibility with newer versions.
- ✅This plugin also has In-game config editor, you can customize config.yml of this plugin easily
✨ Features of DamageIndicator Plugin
- ?Floating damage numbers above entities
- ?Separate formatting for normal and critical hits
- ?Optional entity health bars using TextDisplay
- ?Per-player toggle command (/damageindicator toggle)
- ?Fully configurable messages using MiniMessage
- ?World-based enable / disable support
- ?View-distance limits for both damage indicators and health bars
- ?Optimized for Paper, Purpur, and Folia
- ?In-Game config editor GUI.
⚡ Performance & Safety for servers
- ⚡No packets
- ⚡No armor stands
- ⚡No ProtocolLib dependency
- ⚡Uses entity passengers safely
- ⚡Automatic cleanup of orphaned displays
- ⚡HealthBar is disabled for invisible players
- ⚡Built to stay TPS-friendly, even on busy servers.
- ⚡Special entities (like End Crystals) are excluded to preserve vanilla behavior
? Need help? or report bugs
- ❤️Join my Discord server for updates, support, and suggestions
- ❤️My Discord Server:
- ❤️MY Modrinth Profile:
➕ Extra info of DamageIndicator
? config.yml ?
# =====================================================
# DamageIndicator - Lightweight Damage & Health Bar
# Optimized • Safe • Paper / Purpur / Folia
# =====================================================
update-tracker: true # tracks for update when admins joins
DamageIndicator:
normal:
enabled: true
text: "<red>-{damage}" # {damage} will be replaced with the actual damage amount.
crit:
enabled: true
text: "<gold>✧ {damage} ✧" # {damage} will be replaced with the actual damage amount.
show-to-damager-only: false # if true, only the player who dealt the damage will see the damage indicator. If false, all nearby players will see it.
height: 1.6 # height of damage indicator above entity (in blocks)
duration-ticks: 20 # how long damage indicator stays visible (in ticks, 20 ticks = 1 second)
disabled-worlds: [] # if empty, damage indicators will be enabled in all worlds. Otherwise, only in specified worlds (use world names)
shadowed-text: true # if true, damage text will have a shadow to improve visibility
view-distance: 10 # max distance (in blocks) from damaged entity where damage indicator will be visible
see-through: true # if true, damage text will be visible through blocks & mobs
damage_formatting: INTEGER # how damage numbers are formatted. INTEGER = round to nearest whole number, DECIMAL = show one decimal place, SHORT = use K for thousands (e.g. 1.5K)
commands:
toggle-damage-indicator: true # if true, "/damageindicator toggle" command will be enabled to toggle damage indicators on/off for individual players
healthbar:
enabled: true # MASTER SWITCH - if false, health bars won't show at all regardless of other settings
mode: compact # "bar" for bar mode, "compact" for compact mode.
shadowed-text: false # if true, healthbar text will have a shadow (only applies to compact mode)
dont-spawn-healthbar-below: -30 # health bars won't spawn for entities below this Y level (prevents underground mobs from showing health bars)
view-distance: 10 # max distance (in blocks) from entity where health bar will be visible
duration-ticks: 100 # how long health bar stays visible after taking damage (in ticks, 20 ticks = 1 second)
show-for:
mobs: true # if true, health bars will show for mobs
players: true # if true, health bars will show for players
hide-at-full-health: true # if true, health bars won't show when entity is at full health
height: 0.6 # height of health bar above entity (in blocks)
see-through: true # if true, health bar will be visible through blocks & mobs
disabled-entities: # list of entities that won't show health bars (use entity type names)
- SKELETON_HORSE
- ZOMBIE_HORSE
disabled-worlds: # if empty, health bars will be enabled in all worlds. Otherwise, only in specified worlds (use world names)
- example_world
- example_world1
# BAR MODE SETTINGS
bars: 10 # number of bars to show in bar mode (e.g. 10 means each bar represents 10% of health)
symbols:
filled: "▌" # symbol for filled portion of health bar
empty: "▌" # symbol for empty portion of health bar (can be same as filled with different color)
colors:
full: "&a" # color for health above 50%
medium: "&e" # color for health between 25% and 50%
low: "&c" # color for health below 25%
compact: # COMPACT MODE SETTINGS
format: "&b{name} &a{health}&e/&6{max} &c❤" # {name} = entity name, {health} = current health, {max} = max health. You can use color codes here (&a, &b, etc.)
➕ plugin.yml ➕
name: DamageIndicator
version: 1.0.4
main: DamageIndicator.DamageIndicator
api-version: 1.21
author: GoldwarGlory
website: https://modrinth.com/plugin/damageindicator
commands:
damageindicator:
discription: reload using /damageindicator reload
usage: /damageindicator
permissions:
damageindicator.reload:
default: op
damageindicator.toggle:
default: true
版本游戏版本平台发布时间本站下载
正式版
1.0.10
Damage Indicator 1.0.10
26.1.226.1.1 FoliaPaper 5 个月前 ·
0
26.1.2
26.1.1
26.1
1.21.11, 1.21.10, 1.21.9, 1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20
Folia
Paper
Purpur
5 个月前
0
下载 Damage Indicator
版本:1.0.10
游戏版本:26.1.2、26.1.1、26.1 等
平台:Folia、Paper、Purpur
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.9
In-game config editor + Huge bug fixes
1.21.111.21.10 FoliaPaper 7 个月前 ·
0
1.21.11
1.21.10
1.21.9
1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3
Folia
Paper
Purpur
7 个月前
0
下载 Damage Indicator
版本:1.0.9
游戏版本:1.21.11、1.21.10、1.21.9 等
平台:Folia、Paper、Purpur
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.8
DamageIndicator 1.0.8
1.21.111.21.10 FoliaPaper 8 个月前 ·
0
1.21.11
1.21.10
1.21.9
1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3
Folia
Paper
Purpur
8 个月前
0
下载 Damage Indicator
版本:1.0.8
游戏版本:1.21.11、1.21.10、1.21.9 等
平台:Folia、Paper、Purpur
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.7
DamageIndicator 1.0.7
1.21.111.21.10 FoliaPaper 8 个月前 ·
0
1.21.11
1.21.10
1.21.9
1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3
Folia
Paper
Purpur
8 个月前
0
下载 Damage Indicator
版本:1.0.7
游戏版本:1.21.11、1.21.10、1.21.9 等
平台:Folia、Paper、Purpur
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.6
DamageIndicator 1.0.6
1.21.111.21.10 FoliaPaper 8 个月前 ·
0
1.21.11
1.21.10
1.21.9
1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3
Folia
Paper
Purpur
8 个月前
0
下载 Damage Indicator
版本:1.0.6
游戏版本:1.21.11、1.21.10、1.21.9 等
平台:Folia、Paper、Purpur
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.5
Damage Indicator by Goldwar 1.0.5
1.21.111.21.10 FoliaPaper 9 个月前 ·
0
1.21.11
1.21.10
1.21.9
1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3
Folia
Paper
Purpur
9 个月前
0
下载 Damage Indicator
版本:1.0.5
游戏版本:1.21.11、1.21.10、1.21.9 等
平台:Folia、Paper、Purpur
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.4
DamageIndicator-1.0.4
1.21.111.21.10 FoliaPaper 9 个月前 ·
0
1.21.11
1.21.10
1.21.9
1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5
Folia
Paper
Purpur
9 个月前
0
下载 Damage Indicator
版本:1.0.4
游戏版本:1.21.11、1.21.10、1.21.9 等
平台:Folia、Paper、Purpur
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.3
DamageIndicator-1.0.3
1.21.111.21.10 FoliaPaper 9 个月前 ·
0
1.21.11
1.21.10
1.21.9
1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5
Folia
Paper
Purpur
9 个月前
0
下载 Damage Indicator
版本:1.0.3
游戏版本:1.21.11、1.21.10、1.21.9 等
平台:Folia、Paper、Purpur
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.2
DamageIndicator by Goldwar 1.0.2
1.21.111.21.10 FoliaPaper 9 个月前 ·
0
1.21.11
1.21.10
1.21.9
1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5
Folia
Paper
Purpur
9 个月前
0
下载 Damage Indicator
版本:1.0.2
游戏版本:1.21.11、1.21.10、1.21.9 等
平台:Folia、Paper、Purpur
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.1
DamageIndicator 1.0.1
1.21.111.21.10 FoliaPaper 10 个月前 ·
0
1.21.11
1.21.10
1.21.9
1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5
Folia
Paper
Purpur
10 个月前
0
下载 Damage Indicator
版本:1.0.1
游戏版本:1.21.11、1.21.10、1.21.9 等
平台:Folia、Paper、Purpur
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
1.0.10
正式版
2026-05-29
修复了事件优先级并添加了更新追踪器
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
数据包事件PacketEvents
retrooper
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
前置科技
27
插件
ExyliaLib
ExyliaServices
ExyliaPlugins 的库。
前置实用
26
插件
ProAuthMeLogin
3623813757
通过对话框或铁砧界面帮助你的 Anthme
实用
16
插件
可自定义玩家模型
tom5454
自定义你的Minecraft头像!
装饰社交
16
插件
Vessel
muhdfdeen
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
生物存储
13
插件
Vivecraft Spigot Extension
fayer3
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
前置实用
12
评论 0
登录后参与评分
还没有评论,来抢沙发吧