Damage Indicator
作者:rebot | 分类:模组
Minecraft 版本: 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2
平台: bukkit paper spigot
标签: utility
Minecraft Damage Indicator Plugin
A Minecraft plugin that displays damage dealt to entities in real-time using the action bar.
Features
- Shows damage dealt to entities when you attack them
- Displays victim's remaining health and max health
- Works with both melee and projectile attacks
- Toggle damage display on/off with a simple command
- Action bar display for clean, non-intrusive feedback
- yo check gallery
Building the Plugin
- Make sure you have Maven installed
- Run the following command:
mvn clean package - The compiled plugin JAR will be in the
targetdirectory
Installation
- Build the plugin using Maven
- Copy the generated JAR file from
target/damage-indicator-1.0.0.jar - Place it in your server's
pluginsfolder - Restart your server or reload plugins
Usage
Commands
/damageindicatoror/di- Toggle damage indicator on/off/damageindicator on- Enable damage indicator/damageindicator off- Disable damage indicator
Permissions
damageindicator.use- Allows players to see damage indicators (default: true)damageindicator.toggle- Allows players to toggle the feature (default: true)
How It Works
When you deal damage to an entity, you'll see a message in your action bar showing:
- The entity's name
- The amount of damage dealt
- The remaining health / max health of the entity
Example: Zombie -5.0 ♥15.0/20.0
Requirements
- Minecraft Server 1.20.4 or higher (compatible with Spigot/Paper)
- Java 17 or higher
Support
This plugin is enabled by default for all players. Players can toggle it on or off using the /di command.
请登录后举报
暂无评论,抢个沙发吧~