Filled InfiniteDoubleJump

Discussion in 'Plugin Requests' started by FireFlies, Sep 18, 2017.

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

    FireFlies

    Minecraft version: 1.8.8

    Plugin name: InfiniteDoubleJump

    Description: I simply need a plugin allowing players to double jump (double tab spacebar) an infinite amount of times. So for example when you are in the air you can keep double jumping to go higher/farther.

    The double jump should propel you in the direction you're looking at.

    In the config I can set the jump force for both x and y so I can tune the plugin to my needs.

    While in the air, if you hold your sneak key you will go straight down very fast.

    That's all! Thank you very much in advance.
    Blessings and bliss,

    FireFlies
     
  2. Offline

    Horsey

    I've done this; just a few notes:
    1. I've included a permission 'infinitedoublejump.fly'; this should be given to all players who should be able to fly (in survival mode). This is necessary because MC doesn't actually tell the server when the player jumps in mid-air; I had to exploit fly mode.
    2. The values in the config are 'horizontal-multiplier' and 'vertical-multiplier', which are self explanatory, as well as 'fall-speed' which is the speed at which the player will fall if they crouch while falling.
    Link: https://www.dropbox.com/s/vb0giv169mjwr8w/InfiniteDoubleJump.jar?dl=0
     
    FireFlies likes this.
  3. Offline

    FireFlies

    Thank you! I will try it out ASAP ;)
     
  4. Offline

    critikull

    @Horsey

    Your permission check in onTryFly is wrong, it should be:

    Code:
    if (!event.getPlayer().hasPermission("infinitedoublejump.fly") {
        return;
    }
     
  5. Offline

    Horsey

    1. I did not give you permission to decompile that plugin; you may be liable to prosecution (I have no desire to prosecute you, but you should ask for permission before decompiling to make sure you're on the right side of the law)
    2. That is intended; a player with permission to fly may fly instead of double jumping.
     
Thread Status:
Not open for further replies.

Share This Page