1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

how to make a world border?

Discussion in 'Development' started by kazuya, May 26, 2017.

  1. kazuya

    kazuya Slime

    Messages:
    79
    GitHub:
    xdqrknez
    Yes, I know there's a public world border plugin but I want to know any other way of making it
     
  2. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    You mean how to code it? If so, can you show us what you have managed to do so far?
     
  3. DogTheBlock

    DogTheBlock Spider Jockey

    Messages:
    29
    use PlayerMoveEvent in a if statement to compare the players coords and set a comparison.
     
  4. Kyd

    Kyd Zombie Pigman

    Messages:
    678
    GitHub:
    boi1216
    Use min() and max() to set allowed cords in playermoveevent or task
     
  5. SkySeven

    SkySeven Baby Zombie

    Messages:
    145
    GitHub:
    SkySevenMC
    I don't know if it's correct but you can use distance().
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.