JumpCooldown

Discussion in 'Plugin Requests' started by kirbsrob, Jan 4, 2015.

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

    kirbsrob

    Plugin category: Fun, Mechanics, Miscellaneous, Role Playing

    Suggested name: JumpCooldown

    What I want: I would like a plugin that implements a jump cooldown system in minecraft. Basically, you will start off with 10 jump points. Every time you jump, it will take 1 jump point away. If you have 0 jump points while jumping, you will recieve the message, "&6You are too tired to &ejump&6. Give your body a rest.". Every 3 seconds, you will receive one jump point but you cannot recieve any more than 10.

    Ideas for commands: /jc reload /jc maxpoints /jc pointrate

    Ideas for permissions: JumpCooldown.Admin

    When I'd like it by: Any time
     
  2. Online

    timtower Administrator Administrator Moderator

    @kirbsrob We don't know when a user jumps though. No good way to tell. They could be climbing a ladder for instance.
     
    bwfcwalshy likes this.
  3. Offline

    kirbsrob

    Could the plugin also check if the player is also pressing the space key or check for a jump event?
     
  4. Online

    timtower Administrator Administrator Moderator

    We can't check key presses, there is no jump event.
     
  5. Offline

    kirbsrob

    are these fields variables in the minecraft or bukkit client?
     
  6. Online

    timtower Administrator Administrator Moderator

    @kirbsrob We do have access to motion. But the downside to that: half slabs, stairs, ladders. Everything with a height difference will be monitored.
     
  7. Offline

    kirbsrob

    Code:
    If ypos += 1
    {
         if ypos -= 1
         {
              jumppoints -= 1
         }
    }
     
  8. Online

    timtower Administrator Administrator Moderator

  9. Offline

    kirbsrob

    couldn't you also check for acceleration so that even if you are going up one block the plugin will also have to check how fast you are moving to those coordinates and etc.
    Code:
    If ypos += 1
    If yacceleration = int
    {
         If ypos -= 1
         If yacceleration = int
         {
              jumppoints -= 1
         }
    }
     
    Last edited: Jan 4, 2015
Thread Status:
Not open for further replies.

Share This Page