1 323
收录服务器
1 845
注册
45 149
玩家
Damage Indicator Reborn 伤害指示器 重生
显示任何生命体的血量和伤害或生命恢复
作 者 Beelzebu
发布时间 2018年4月22日
支持核心 Spigot
原生版本
支持版本 1.17,1.18,1.19,1.20
点此下载

🛠️ DamageIndicator - 伤害显示插件

DamageIndicator是一款为Minecraft服务器设计的插件,能够在实体受到伤害时显示伤害数值,并支持血液效果。只需将插件放入插件文件夹并重启服务器即可使用。插件兼容多种版本,并支持其他修改伤害的插件,如MythicMobs和EcoSkills。

📋 指令与权限

  • 权限
    • damageindicator.use - 使用 /di toggle 命令
    • damageindicator.use.admin - 使用管理员命令
  • 指令
    • /di - 显示命令列表
    • /di reload - 重新加载插件配置和消息
    • /di clear <range> - 清除指定范围内的伤害指示器
    • /di clearall - 清除世界中的所有伤害指示器
    • /di toggle - 切换伤害指示器的显示

🔧 配置文件示例


# DamageIndicator Reborn, Minecraft plugin to show the damage taken by a entity
# Source Code: https://github.com/Beelzebu/DamageIndicator
# Issue Tracker: https://github.com/Beelzebu/DamageIndicator/issues

# Config version, don't edit
version: 5

# Damage Indicator options, here you can define in what type of entities we
# should show the damage indicators and completely disable this feature.
Damage Indicator:
  Enabled: true
  Player: true
  Monster: true
  Animals: true
  # Use %health% for the regain health you get
  # Use %damage% for the damage you get
  Format:
    EntityRegain: '<gray>+</gray><color:#00ff62>%health%</color>'
    EntityDamage: '<gray>-</gray><color:#ff0f23>%damage%</color>'
    # Here you define the decimal format for the damage and health
    # See https://docs.oracle.com/javase/8/docs/api/java/text/DecimalFormat.html
    # for more information.
    Decimal: '#.##'
  # Distance in Y axis from the entity where we should spawn the damage indicator
  # A distance of 2 is recommended for 1.8 servers
  Distance: 1.6
  # List of disabled entity types that shouldn't spawn damage indicators
  # See https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
  # for all possible entities.
  # If you don't want to disable entities, remove elements from the list set it to
  # Disabled Entities: []
  Disabled Entities:
  - GHAST
  # List of spawn reasons that we must listen and mark entities so they won't spawn
  # damage indicators.
  # See https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html
  # for all possible spawn reasons.
  # If you don't want to disable for spawn reasons, remove elements from the list set it to
  # Disabled Spawn Reasons: []
  Disabled Spawn Reasons:
  - SPAWNER
  # List of damage causes that we must ignore for damage indicators.
  # See https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
  # for all possible damage causes.
  # If you don't want to disable for damage causes, remove elements from the list set it to
  # Disabled Damage Causes: []
  Disabled Damage Causes:
  - SUICIDE
  # Enable or disable damage indicators for players who are sneaking, it is recommended to disable for PvP servers.
  # true: damage indicators are shown even if you're sneaking.
  # false: damage indicators aren't shown when you're sneaking.
  Sneaking: false

# Blood options, here you can configure this feature.
Blood:
  Enabled: true
  Player: true
  Monster: true
  Animals: true
  # List of disabled entity types that shouldn't bleed.
  # See https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
  # for all possible entities.
  # If you don't want to disable entities, remove elements from the list set it to
  # Disabled Entities: []
  Disabled Entities:
  - SKELETON
  - IRON_GOLEM
  - GHAST
  # List of spawn reasons that we must listen and mark entities so they won't bleed.
  # See https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html
  # for all possible spawn reasons.
  # If you don't want to disable for spawn reasons, remove elements from the list set it to
  # Disabled Spawn Reasons: []
  Disabled Spawn Reasons:
  - SPAWNER
  # List of damage causes that we must ignore for blood.
  # See https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
  # for all possible damage causes.
  # If you don't want to disable for damage causes, remove elements from the list set it to
  # Disabled Damage Causes: []
  Disabled Damage Causes:
  - DROWNING
  # Enable or disable blood particles for players who are sneaking.
  # true: blood particles are shown even if you're sneaking.
  # false: blood particles aren't shown when you're sneaking.
  Sneaking: true

📌 其他信息

插件支持多种Minecraft版本(1.16至1.21),并且不会影响战斗的正常流程。您可以通过配置文件自定义伤害指示器和血液效果的显示方式。