Solved Implementing world guard API

Discussion in 'Plugin Development' started by davidclue, Feb 7, 2021.

  1. Offline

    davidclue

    Hi, I have a plugin that people had been requesting I implement world guard protection to and I have no idea how. I have looked at the docs and I can't figure out how to basically get all the safe zones in a world and check if a specified player is in any of the zones. If anyone could help me out it would be greatly appreciated. And also I don't want to make it dependant on world guard just optional and I think I have a working way of doing so but if anyone knows a simple way to do so it would also be greatly appreciated.

    Nvm figured it out

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 8, 2021

Share This Page