[Skill] Damage Counter | Now 1.13 and 1.12 supported! V. 1.1

A practical scoreboard skill that allows you to track the damage done by players.

  1. Buguser
    Damage Counter

    Description:

    With these skills you can easily evaluate the damage caused by players on a monster and pay out bonuses like money or EXP based on the dealt damage!

    How to use:

    1. Add the skill file to your server.

    2. Go to your server.properties file and enable command blocks.

    Code:
    enable-command-block=true
    3. Go to the commands.yml and make sure Bukkit/Spigot isn't interfering with the skills by overriding all command blocks.
    Code:
    command-block-overrides:
    - '*'
    4. Add this to your mob and replace the x on the modifyscore skill with the maximum HP of your mob. Make sure that Treath Tables are activated for your mob.
    Code:
      - modifyscore{o=mobhp;e=mobhp;a=set;v=x} ~onSpawn
      - skill{s=DamageCounter_Start} @Self ~onSpawn
      - skill{s=DamageCounter_Count} @Trigger ~onDamaged
      - skill{s=DamageCounter_Death} @ThreatTable ~onDeath
      - skill{s=DamageCounter_DropCombat} @Self ~onDropCombat
    5. Check the files, they also contain useful information

    6. Reload your server.


    Note: You should disable command block output to avoid unnecessary spamming in the chat, use this commands for that:
    Code:
    /gamerule commandBlockOutput false
    /gamerule logAdminCommands false
    Other Information:
    Complexity: N/A
    Tested Minecraft Versions: 1.12.2 & 1.13.2
    Tested MythicMobs Versions: 4.3.2 & 4.6.X
    Lines: 66 (35 lines in the skill file)
    Files: 2 (Only the skill file is needed)
    Skills: 4
    File Sizes together: ~4KB


    Planned:
    - Artifacts supporting functions

Recent Updates

  1. Now 1.13 and 1.12 Supported!

Recent Reviews

  1. FoxStone1
    FoxStone1
    5/5,
    Version: V. 1.1
    Works like a charm :D