message when player enters region

Discussion in 'Plugin Development' started by moomann, Aug 20, 2014.

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

    moomann

    how can I check if a player enters/leaves a specific region and send a message to the player?
     
  2. Offline

    thijs_a

  3. Offline

    moomann

    no, I don't want to use worldguard.
     
  4. Offline

    thijs_a

    Last edited by a moderator: Jun 9, 2016
  5. Offline

    moomann

    can you make me a code example, I'm afraid I don't understand :confused:
     
  6. Offline

    Gerov

  7. Offline

    moomann

  8. Offline

    thijs_a

    Im working on it

    I made it here's the code
    Cuboid Class (Just put it in your project, don't do anything with it) : http://pastebin.com/xQRvGKyf
    Main Class: http://pastebin.com/Sj9GbywG

    In the main class at on enable it creates the cuboid, you can change that

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
    moomann likes this.
Thread Status:
Not open for further replies.

Share This Page