Anti Knockback Plugin

Discussion in 'Plugin Requests' started by ckamps2020, Oct 11, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    ckamps2020

    Plugin category: Not sure

    Suggested name: AntiKnockback+

    What I want: Would love a plugin that disables all knockback given to the player with a permission node. I would also like a command to be able to toggle this feature.

    Ideas for commands: /antikb on /antikb off

    Ideas for permissions: antikb.use

    When I'd like it by: ASAP
     
  2. Offline

    au2001

    Do you want to remove the Knockback/Punch enchantment?
    Or like completly remove the effect?
    Like when you sprint and hit it knocks the player/mob just a bit, do you want to keep that?
     
  3. Offline

    ckamps2020

    I would like it to remove the effect when a player gets hit with something. I want to make it so player A hits player B who has the permissions so player B takes damage but doesn't move
     
  4. Offline

    Scimiguy

    @ckamps2020
    To make this happen, you would need to listen for damage events and cancel it, re-applying the damage manually.
    Because of the way the event works, you'd have to manually redo the calculations for armor reduction and the like.

    Alternatively, you could set a runnable to negate reverse velocity, but that wouldn't be very performance-intuitive
     
  5. Offline

    ckamps2020

    Bump I would like this done :D
     
Thread Status:
Not open for further replies.

Share This Page