重锤伤害指示器
一款轻量级的 Spigot/Paper 插件,以时尚的彩色编码指示器显示重锤攻击造成的伤害!
当你用重锤砸击某物时,此插件会显示你造成的确切伤害量!!无论是在你的操作栏中还是作为聊天消息——颜色会根据伤害量进行缩放。
功能
- 实时伤害显示 – 查看你的重锤造成了多少伤害
- 彩色分级 – 伤害颜色根据重锤伤害量变化
- 支持操作栏或聊天 – 选择你偏好的显示方式(操作栏可能更好)
- 完全可自定义 – 几乎所有内容均可配置
安装
- 下载 最新版本
MaceDamageIndicator.jar(来自发布页面) - 放置
.jar文件到你的服务器plugins/文件夹中 - 重启 你的服务器(或者如果你很勇敢的话使用
/reload) - 配置 插件,通过编辑
plugins/MaceDamageIndicator/config.yml - 重载 配置文件,使用
/macedamageindicator reload实现热重载(或者再重启一次服务器吧,我想)
配置
所有设置都存储在 plugins/MaceDamageIndicator/config.yml 中。以下是每个选项的作用:
核心设置
| 设置项 | 描述 | 可选值 | 默认值 |
|---|---|---|---|
enabled |
插件的主开关 | true / false |
true |
display-mode |
伤害指示器出现的位置 | actionbar 或 text |
actionbar |
min-mace-damage |
触发指示器所需的最小伤害(防止微小命中产生的垃圾信息) | 任意正数 | 6.0 |
indicator-decimals |
显示的小数位数 | 任意整数(例如 0, 1, 2) |
2 |
消息格式化
| 设置项 | 描述 | 默认值 |
|---|---|---|
indicator-message |
造成伤害时显示的消息模板。使用 {damage} 作为伤害值的占位符 |
"§b§lᴍᴀᴄᴇ ᴅᴀᴍᴀɢᴇ §r§7>> §r{damage}" |
颜色格式化: 使用 § 后跟颜色代码(§a = 绿色,§c = 红色,等等)
伤害颜色分级
插件按从上到下的顺序检查这些分级。伤害小于 max 的第一个分级将被使用。
damage-tiers:
- max: 15
color: GREEN # 伤害 < 15 → 绿色
- max: 20
color: YELLOW # 15 ≤ 伤害 < 20 → 黄色
- max: 30
color: RED # 20 ≤ 伤害 < 30 → 红色
default-color: DARK_RED # 如果伤害超过 30,显示什么颜色?
Mace Damage Indicator
A lightweight Spigot/Paper plugin that displays the damage dealt by mace attacks with stylish color-coded indicators!
When you smash something with a mace, this plugin shows exactly how much damage you dealt!! either in your action bar or as a chat message—with colors that scale based on the damage amount.
Features
- Real-time damage display – See exactly how much damage your mace deals
- Color-coded tiers – Damage color changes based on your mace dmg
- Action bar or chat support – Choose your preferred display method (Actionbar is probably better)
- Fully customizable – Pretty much everything is configurable
Installation
- Download the latest
MaceDamageIndicator.jarfrom the releases page - Place the
.jarfile into your server'splugins/folder - Restart your server (or use
/reloadif you're feeling brave) - Configure the plugin by editing
plugins/MaceDamageIndicator/config.yml - Reload the config with
/macedamageindicator reloadfor a hot reload (or restart the server again i guess)
Configuration
All settings are stored in plugins/MaceDamageIndicator/config.yml. Here's what each option does:
Core Settings
| Setting | Description | Possible Values | Default |
|---|---|---|---|
enabled |
Master toggle for the plugin | true / false |
true |
display-mode |
Where the damage indicator appears | actionbar or text |
actionbar |
min-mace-damage |
Minimum damage required for the indicator to show (Prevents spam from teeny tiny hits) | Any positive number | 6.0 |
indicator-decimals |
How many decimal places to display | Any integer (e.g., 0, 1, 2) |
2 |
Message Formatting
| Setting | Description | Default |
|---|---|---|
indicator-message |
The message template shown when damage is dealt. Use {damage} as a placeholder for the damage value |
"§b§lᴍᴀᴄᴇ ᴅᴀᴍᴀɢᴇ §r§7>> §r{damage}" |
Color formatting: Use § followed by a color code (§a = green, §c = red, etc. etc.)
Damage Color Tiers
The plugin checks these tiers in order from top to bottom. The first tier where the damage is less than max will be used.
damage-tiers:
- max: 15
color: GREEN # Damage < 15 → Green
- max: 20
color: YELLOW # 15 ≤ Damage < 20 → Yellow
- max: 30
color: RED # 20 ≤ Damage < 30 → Red
default-color: DARK_RED # What color to show if the damage is more than 30?
下载 Mace Damage Indicator
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Mace Damage Indicator
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Mace Damage Indicator
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Mace Damage Indicator
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Mace Damage Indicator
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Mace Damage Indicator
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Mace Damage Indicator
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
添加了 /macedamageindicator 命令
/mdi reload重新加载配置/mdi toggle切换插件状态
首次发布
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧