Class WorldGuardFeature

All Implemented Interfaces:
Listener

public class WorldGuardFeature extends BukkitMaskManager implements Listener
  • Constructor Details

    • WorldGuardFeature

      public WorldGuardFeature(Plugin plugin)
  • Method Details

    • getRegions

      public Set<com.sk89q.worldguard.protection.regions.ProtectedRegion> getRegions(com.sk89q.worldguard.LocalPlayer player, Location location, boolean isWhitelist)
      Get the WorldGuard regions a player is allowed in based on the current location, or if isWhitelist set to false, get the blacklisted regions for the world.
    • isAllowed

      public boolean isAllowed(com.sk89q.worldguard.LocalPlayer localplayer, com.sk89q.worldguard.protection.regions.ProtectedRegion region)
    • getMask

      public FaweMask getMask(Player wePlayer, FaweMaskManager.MaskType type, boolean isWhitelist)
      Specified by:
      getMask in class FaweMaskManager