AbsorptionShields 2.0

Bring the concept of regenerating shield "health" from FPS games to Minecraft!

  1. RoboMWM
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.13
    Support this project on Patreon!

    AbsorptionShields
    Have you ever dreamed of a day where the "personal shield" mechanic from games like Borderlands, Halo, Overwatch, etc. were in Minecraft? No? Well I did. Thanks to the absorption health being an actual, editable field instead of just being chained to a potion, this is possible to do somewhat rather elegantly in Minecraft.
    Dependencies
    If you want, you can define just material types (using the Material enum name) to be used as a shield, so this dependency is technically optional.

    However, if you want multiple items of the same type to represent different kinds of shield (e.g. differentiated via lore, display name, etc.) you will need to use CustomItemRecipes to register these custom items for use in AbsorptionShields. You can also use that plugin to create the custom items too!

    A video is worth 60,000 words a second
    Note: shields can now be any part of armor you choose (but must be consistent, e.g. if you choose the chestplate to be checked for shields, all shields must be chestplate items). Also, /createshield has been removed.

    Click to watch

    [​IMG]

    You can also test it out on MLG Fortress. IP: MLG.ROBOMWM.COM
    Features
    • Create an unlimited number of shields (well, the limit being how many names you can come up with).
    • Shield size, recharge rate and delay are all configurable.
    • Shield recharges after not being hit.
    • Shields are "on top" of the armor, protecting armor from being damaged when active.
    • Players who take shield damage glow instead of just turning red momentarily.
    • Integration with MLG Damage Indicators
      • Shield damage appears in orange instead of red.
    Commands
    • /addshieldstats <shield name> - Appends lore with the specified shield stats to the held shield item. Particularly useful when creating a custom item to register in CustomItemRecipes. Requires the absorptionshields.addshieldstats permission, given to ops by default.
    Config.yml
    Code (YAML):
    [/B][/SIZE]
    Shields
    :
      'bumblebee'
    :
       strength
    : 12 # Shield's max capacity in hearts
       time
    : 2 # Seconds before shield starts regenerating
       rate
    : 3 # How fast the shield recharges in hearts per second
      'sponge'
    :
       strength
    : 24
       time
    : 5
       rate
    : 1
      'GOLDEN_HELMET'
    : # You can use the Material enum name to allow unregistered custom items be a shield.
       strength
    : 18
       time
    : 3
       rate
    : 2
       
    Sounds
    : # If you use a resource pack you can set custom sounds here. You could also experiment with vanilla sounds as well!
      shieldHitSelf
    : fortress.shieldhitself # taking damage
      lowShieldHitSelf
    : fortress.lowshieldhitself # taking damage when shield is at 1/3 or lower capacity
      shieldOfflineAlert
    : fortress.shieldoffline # Plays when shield is broken (the "beep beep beep" alert). Doesn't play if player manually unequips shield
      shieldBroken
    : fortress.shieldbroken #  shield shattering/breaking
      shieldBootingUp
    : fortress.shieldbootingup # Shield regenerating from empty.
      shieldFullyRecharged
    : fortress.shieldrecharged # Shield has fully regenerated.
     
    armorSlotToCheck
    : HELMET # The armor slot you use to equip AbsorptionShields. HELMET, CHESTPLATE, LEGGINGS, or BOOTS
     
    I hope you enjoy this plugin as much as I did in creating and using it!

Recent Updates

  1. 2.0

Recent Reviews

  1. gula
    gula
    5/5,
    Version: 1.6.1
    That is a nice plugin:

    # 1.8.x Hight now ( '-')

    You can do this with version 1.8.x, I would like to know if you can put this absorption.
    1. RoboMWM
      Author's Response
      Mind sharing what doesn't work in the discussion tab?

      I recommend upgrading from that ancient version though
  2. SquidTheJim
    SquidTheJim
    5/5,
    Version: 1.6.1
    Adds a fun new dynamic to PvP, the github repo was not an easy thing to find though :P

    This plugin has inspired me. You're paving the way towards TERA style combat in minecraft!
    1. RoboMWM
      Author's Response
      Thanks! Yea, I think I posted this quickly (and late) so I probably forgot to put the github repo link. Hopefully I'll see some PRs or something? c:

      Idk what TERA is but I'm aiming for an fps-like genre to combat on MLG Fortress
  3. insanerc
    insanerc
    5/5,
    Version: 1.6.1
    This is very cool regenerating shields. +++ Works as described +++ Add something unique to your server
    1. RoboMWM
      Author's Response
      Thanks! Maybe a bit too unique to describe to the minecraft pvp community :p