WorldGuard API Help

Discussion in 'Plugin Development' started by Whomp54, Feb 8, 2014.

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

    Whomp54

    Hello,

    I am very confused on how to use the WorldGuard API. What I want to do is check if a player can break blocks inside a region and then disable them from doing so. The way I am destroying blocks is being bypassed because of what I am using, therefore canceling the event of doing so is my best bet. I have taken a look at the WorldGuard API (http://wiki.sk89q.com/wiki/WorldGuard/Regions/API), and have found no help from it. Does anyone know anything about checking flags and seeing if they are set to "deny"?

    Thanks to anyone that it willing to help me out ;)

    Does anyone have a tutorial link or an example that could be of use?

    Anything?! xD

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

    Tirelessly

    Whomp54 Dont bump more than once every 24 hours
     
Thread Status:
Not open for further replies.

Share This Page