NightExpress's Plugins Wiki

Displays the taken and dealt damage and health regeneration.

Features:

  • Option to ignore zero damage.
  • Ability to add sounds on hits, criticals, dodge and block.
  • Different messages for criticals, dodge, block.
  • Damage and Regen indicators via HolographicDisplays.
  • Different indicator format for damage types.
  • Different indicator format for vanilla damage causes.
  • Different indicator format for regen types.
  • Sort the indicator messages.

Settings.yml

Default module settings are described HERE.

messages:
  # When true does not displays damage, if damage was 0.
  ignore-zero-damage: false
  types:
    NORMAL:
      # Enables/Disables the effects for this type
      enabled: true
      # Message to damager. Placeholders: %dmg% - Damage, %entity% - Enemy name.
      msg-to-damager: '&e*** You dealt &7%dmg% &edamage to &7%entity%&e. ***'
      # Message to damage receiver. Placeholders: %dmg% - Damage, %entity% - Damager name.
      msg-to-receiver: '&c*** &7%entity% &cdealt &7%dmg% &cdamage to you. ***'
      # Sound on hit. Set NONE to disable.
      sound: 'ENTITY_ZOMBIE_ATTACK_IRON_DOOR'
      # Indicator text
      msg-indicator: ''
    CRITICAL:
      enabled: true
      msg-to-damager: '&e*** &lCritical! &eYou dealt &7%dmg% &edamage to &7%entity%&e. ***'
      msg-to-receiver: '&d*** &lCritical! &7%entity% &ddealt &7%dmg% &ddamage to you. ***'
      sound: 'ENTITY_GENERIC_EXPLODE'
      msg-indicator: '&8[&c&lCritical!&8]'
    DODGE:
      enabled: true
      msg-to-damager: '&6*** &7%entity% &6has dodged your attack! ***'
      msg-to-receiver: '&6*** You has dodged &7%entity% &6attack! ***'
      sound: 'BLOCK_SNOW_FALL'
      msg-indicator: '&8[&b&lDodge!&8]'
    BLOCK:
      enabled: true
      # Placeholders: %amount% - Amount of blocked damage (in percent)
      msg-to-damager: '&6*** &7%entity% &6has blocked &7%amount%% &6of your attack! Total damage: &7%dmg% &6***'
      msg-to-receiver: '&6*** You blocked &7%amount%% &6of &7%damager% &6attack! Total damage: &7%dmg% &6***'
      msg-indicator: '&8[&e&lBlocked!&8]'
      sound: 'BLOCK_ANVIL_PLACE'

# Damage and Regen indicators settings.
# REQUIRES HolographicDisplays!
indicators:
  # Enables/Disables indicators
  enabled: true
  format:
    # Defines the indicator's line order. Also you can add some custom lines.
    # Placeholders:
    # - %crit% - Critical type (see above 'msg-indicator').
    # - %block% - Block type (see above 'msg-indicator').
    # - %dodge% - Dodge type (see above 'msg-indicator').
    # - %dmg% - Total damage.
    order:
    - '%crit%'
    - '%block%'
    - '%dodge%'
    - '%dmg%'
    # Here you can define the custom format for each damage type.
    # Use %dmg% for damage placeholder.
    # Also, you can put the 'default' key to define the default format for damage types which are not listed here.
    damage-types:
      physical: '&c-%dmg%❤'
      magical: '&d-%dmg%'
      fire: '&4-%dmg%☀'
      poison: '&a-%dmg%☣'
      wind: '&7-%dmg%'
      water: '&9-%dmg%'
    # The same as above, but for vanilla Damage Causes.
    damage-sources:
      default: '&c-%dmg%'
      FIRE: '&4-%dmg%'
      POISON: '&a-%dmg%'
Navigation