Preventing a player from jumping

Discussion in 'Plugin Development' started by superchris05326, Mar 26, 2014.

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


    I need to know to be able to prevent a player from jumping and then being able to re-allow them to jump. I'm pretty sure you can do something like that with potion effects but I am not excatly sure.
  2. Offline


    You could use something's used in this thread

    Then put the players you want to not jump anymore in an array, otherwise they can.

    Just have a check to see if a player (or player name) is in that array then allow the jump, otherwise deny it
  3. Offline


    I know this problem occurred ages ago, but those who are still looking, you can just apply a massive negative jump boost and then remove it when you want them to jump again!
Thread Status:
Not open for further replies.

Share This Page