Help with race plugin

Discussion in 'Plugin Development' started by Goksi, May 1, 2018.

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


    Hi, i am trying to make some kind of race plugin, do you have idea how i can register someone who goes through the goal first ?
  2. Offline


    Hi @Goksi ,Can you explain , what have you tried ? what type of help did you need ?
  3. Online

    timtower Administrator Administrator Moderator

    @Goksi Define an area, check the player movement to see who enters it first.
  4. Offline


    Hi, sorry for the late reply, was on some type of holiday, i tried this but its does not seems to work:
    double x = 81.3;
    double x1 = 88.7;
    double z = -457;
    double y = 1
    if (l.getX() > x && l.getX() < x1 && l.getY() >= y && l.getZ() >= z) {
    do something
    I put that inside of my onMove event, but it seems it always return false
Thread Status:
Not open for further replies.

Share This Page