-
public interface IWorldGuardAdapterAn adapter for checking flag statuses at a location.
-
-
Method Summary
Modifier and Type Method Description abstract BooleanisFlagAllowAtLocation(Location location, String flagName)Returns true if flag is allow at location. abstract BooleanisFlagDenyAtLocation(Location location, String flagName)Returns true if flag is deny at location. abstract UnitregisterFlag(String flagName)Registers a flag with WorldGuard. -
-
Method Detail
-
isFlagAllowAtLocation
abstract Boolean isFlagAllowAtLocation(Location location, String flagName)
Returns true if flag is allow at location.
- Parameters:
location- Location to checkflagName- Name of flag
-
isFlagDenyAtLocation
abstract Boolean isFlagDenyAtLocation(Location location, String flagName)
Returns true if flag is deny at location.
- Parameters:
location- Location to checkflagName- Name of flag
-
registerFlag
abstract Unit registerFlag(String flagName)
Registers a flag with WorldGuard.
- Parameters:
flagName- Name of the flag
-
-
-
-