Package 

Interface IWorldGuardAdapter


  • 
    public interface IWorldGuardAdapter
    
                        

    An adapter for checking flag statuses at a location.

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean isFlagAllowAtLocation(Location location, String flagName) Returns true if flag is allow at location.
      abstract Boolean isFlagDenyAtLocation(Location location, String flagName) Returns true if flag is deny at location.
      abstract Unit registerFlag(String flagName) Registers a flag with WorldGuard.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isFlagAllowAtLocation

         abstract Boolean isFlagAllowAtLocation(Location location, String flagName)

        Returns true if flag is allow at location.

        Parameters:
        location - Location to check
        flagName - Name of flag
      • isFlagDenyAtLocation

         abstract Boolean isFlagDenyAtLocation(Location location, String flagName)

        Returns true if flag is deny at location.

        Parameters:
        location - Location to check
        flagName - Name of flag
      • registerFlag

         abstract Unit registerFlag(String flagName)

        Registers a flag with WorldGuard.

        Parameters:
        flagName - Name of the flag