Class WorldGuardFeature
java.lang.Object
com.fastasyncworldedit.core.regions.FaweMaskManager
com.fastasyncworldedit.bukkit.regions.BukkitMaskManager
com.fastasyncworldedit.bukkit.regions.WorldGuardFeature
- All Implemented Interfaces:
Listener
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fastasyncworldedit.core.regions.FaweMaskManager
FaweMaskManager.MaskType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMask
(Player wePlayer, FaweMaskManager.MaskType type, boolean isWhitelist) 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.boolean
isAllowed
(com.sk89q.worldguard.LocalPlayer localplayer, com.sk89q.worldguard.protection.regions.ProtectedRegion region) Methods inherited from class com.fastasyncworldedit.bukkit.regions.BukkitMaskManager
hasMemberPermission
Methods inherited from class com.fastasyncworldedit.core.regions.FaweMaskManager
getKey, getMask, isExclusive, toString
-
Constructor Details
-
WorldGuardFeature
-
-
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
- Specified by:
getMask
in classFaweMaskManager
-