Filled Shift to Jump

Discussion in 'Plugin Requests' started by Gh0stKitty, Sep 10, 2019.

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

    Gh0stKitty

    Minecraft version: 1.14.4+

    Suggested name: ShiftJump

    What I want:
    -Hopefully this is straight forward but i'd like for players to be able to hold down shift/sneak for 3 seconds and be presented with a message saying "Pounce Ready". players should then be able to press space [jump button] and be able to leap 5 blocks high. If the user does not jump within the next 5 seconds the effect will vanish and the player will need to hold shift and wait for the pounce message again.
    -If a player pounces onto a mob [such as rabbit/slime/silverfish/chicken/etc this should autokill the mob

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: All users can do this jump, however the ability to change the jump height for different group manager groups would be cool!
    The second plugin listed below has a second small modification for this plugin
    https://bukkit.org/threads/custom-clan-abilities.481261/

    player.leap5 (this should be the permission that allows players to jump the default of 5 blocks high)
    player.leap10 (this should be the permission that allows players to jump the max of 10 blocks high)


    When I'd like it by: 9/20/19

    EDIT by Moderator: Split requests
     
    Last edited: Sep 10, 2019
  2. Offline

    wand555

    Not quite sure what you meant/how to implement that.
    Download
    You won't kill an entity below you after landing when you're in creative mode.
     
    Gh0stKitty likes this.
  3. Offline

    Gh0stKitty

    @wand555

    It works fine thank you!! however can you change it so the default jump height is only 4-5 blocks high?

    I'd like a special permission for players to be able to jump 10 blocks. If that isn't possible its fine!
    [What is the current permission? non op players can't pounce for some reason]
     
    Last edited: Sep 13, 2019
  4. Offline

    wand555

    changed it.
    Permissions are "ShiftJump.leap.5" and "ShiftJump.leap.10".
    default is set to op. I think you have to assign the permissions to the players with another permission plugin, though I have never digged into that.
    I can also set it so default is that every player can use the 5 block jump, but 10 block jump requires op/assigned permission.
    (Download incase you want exactly as I described it)
     
    Gh0stKitty likes this.
  5. Offline

    Gh0stKitty


    Ah yes! I would appreciate it if you could set the default for all users to 5 blocks and a special permission for 10 blocks.

    I'm using group manager and tried adding the ShiftJump.leap.5/ShiftJump.leap.10 permissions but they didnt seem to affect anything.
     
  6. Offline

    wand555

    What can the players currently do? What can op/non op players do?
     
  7. Offline

    Gh0stKitty

    Currently, Non-op players cannot shiftjump. they have the basic perms with Group Manager. I tried adding your shiftjump permission but It still didn't work.

    I'd like all players that are Non-Op to be able to leap 5 blocks high, and with a special permission that needs to be granted, jump 10 blocks [I'd prefer if OP players only have 5 blocks default as well unless they have the 10 block permission.
     
    Last edited: Sep 14, 2019
  8. Offline

    wand555

    Changed it again, realised I had a spelling error in my code regarding the permission name :/
    Can't really think of an easy way to do this right now. The default for 10 blocks is on op. You can also assign the permission later to people who have op but it won't really change anything as long as the player keeps his op status. I don't think there's a way to check whether a player has an assigned, or due to being op assigned, permission (I can just check if a player has a permission)
    Download
     
  9. Offline

    Gh0stKitty

    Ah thats fine dw about it b <3

    Thank you so so much everything works!!!!<333
     
    wand555 likes this.
  10. Offline

    Gh0stKitty

    Hey sorry to bug you, but is there anyway you can give a config so i can edit what animals can and cannot be killed with shiftjump?
    If not thats fine But I need the animals below to be Non-shiftump killable
    ( Polarbears, Horses, Donkeys, Mules, Cows, Sheep, Pigs, Llamas, Ocelots, Cats, Wolves, Foxes, and Turtles. )

    Also, can you please make it so it will only kill one animal if there are multiple under the player.
     
  11. Offline

    wand555

    Will get to it as soon as I can (which might take like a week)
     
    Gh0stKitty likes this.
  12. Offline

    Gh0stKitty

    Alright thank you! <3
     
  13. Offline

    wand555

    DL, let me know if something doesn't work as intended.
     
    Gh0stKitty likes this.
  14. Offline

    Gh0stKitty

    Alright thank you!! It seems to work just fine ^^
     
  15. Offline

    Gh0stKitty

    Could you disable fall damage from the jumps?
     
  16. Offline

    wand555

    Hm, it should be disabled. Under what exact circumstances did you receive fall damage?
     
  17. Offline

    Gh0stKitty

    If i dont land on something and fall onto the ground I receive fall damage. Fall damaged is denied in my essentials
     
  18. Offline

    wand555

    When I try it, the damage from the first impact on the ground will be blocked, if you fall after that you receive damage. No idea why it doesn't work (maybe you could show it in a video)
     
  19. Offline

    Gh0stKitty

    After some testing I believe it might be essentials end messing up. If it happens once essentials is fixed ill let you know!
     
Thread Status:
Not open for further replies.

Share This Page