Checking player in area.

Discussion in 'Plugin Development' started by MvpWouterske23, Jun 4, 2014.

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

    MvpWouterske23

    Hello guys
    how can I check that a player is in a particular arena (Spawn) so he can only doublejump in the area?
     
  2. Offline

    Bammerbom

    MvpWouterske23
    How did you save the arena? Worldguard API? Coordinates in config?
     
  3. Offline

    MvpWouterske23

    Im using wolrdguard api

    Bammerbom

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 30, 2016
  4. Offline

    Bammerbom

    MvpWouterske23
    1. Check if the player his X is not higher then the highest X in config
    2. Check if the player his X is not lower then the lowest X in config
    3. Do the same for the Y and the Z
     
  5. Offline

    MvpWouterske23

    Thanks budd
     
Thread Status:
Not open for further replies.

Share This Page