@Deprecated public class GlobalRegionManager extends Object
| Constructor and Description |
|---|
GlobalRegionManager(WorldGuardPlugin plugin,
RegionContainer container)
Deprecated.
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allows(StateFlag flag,
org.bukkit.Location location)
Deprecated.
|
boolean |
allows(StateFlag flag,
org.bukkit.Location location,
LocalPlayer player)
Deprecated.
|
boolean |
canBuild(org.bukkit.entity.Player player,
org.bukkit.block.Block block)
Deprecated.
|
boolean |
canBuild(org.bukkit.entity.Player player,
org.bukkit.Location location)
Deprecated.
|
boolean |
canConstruct(org.bukkit.entity.Player player,
org.bukkit.block.Block block)
Deprecated.
the construct flag is being removed
|
boolean |
canConstruct(org.bukkit.entity.Player player,
org.bukkit.Location location)
Deprecated.
the construct flag is being removed
|
RegionManager |
get(org.bukkit.World world)
Deprecated.
Get the region manager for a world if one exists.
|
List<RegionManager> |
getLoaded()
Deprecated.
Get an immutable list of loaded
RegionManagers. |
boolean |
hasBypass(LocalPlayer player,
org.bukkit.World world)
Deprecated.
|
boolean |
hasBypass(org.bukkit.entity.Player player,
org.bukkit.World world)
Deprecated.
|
public GlobalRegionManager(WorldGuardPlugin plugin, RegionContainer container)
plugin - the plugincontainer - the container@Nullable public RegionManager get(org.bukkit.World world)
This method may return null if region data for the given
world has not been loaded, has failed to load, or support for regions
has been disabled.
world - the worldnull if one is not availablepublic List<RegionManager> getLoaded()
RegionManagers.@Deprecated public boolean hasBypass(LocalPlayer player, org.bukkit.World world)
RegionContainer.createQuery()player - the playerworld - the world@Deprecated public boolean hasBypass(org.bukkit.entity.Player player, org.bukkit.World world)
RegionContainer.createQuery()player - the playerworld - the world@Deprecated public boolean canBuild(org.bukkit.entity.Player player, org.bukkit.block.Block block)
RegionContainer.createQuery()This method is not an absolute test as to whether WorldGuard would allow or block an event because this method doesn't consider flags (i.e. chest-access flags when concerning a chest) or other modules in WorldGuard (i.e chest protection).
player - the playerblock - the block@Deprecated public boolean canBuild(org.bukkit.entity.Player player, org.bukkit.Location location)
RegionContainer.createQuery()This method is not an absolute test as to whether WorldGuard would allow or block an event because this method doesn't consider flags (i.e. chest-access flags when concerning a chest) or other modules in WorldGuard (i.e chest protection).
player - the playerlocation - the location@Deprecated public boolean canConstruct(org.bukkit.entity.Player player, org.bukkit.block.Block block)
player - the playerblock - the block@Deprecated public boolean canConstruct(org.bukkit.entity.Player player, org.bukkit.Location location)
player - the playerlocation - the location@Deprecated public boolean allows(StateFlag flag, org.bukkit.Location location)
RegionContainer.createQuery()flag - the flaglocation - the location@Deprecated public boolean allows(StateFlag flag, org.bukkit.Location location, @Nullable LocalPlayer player)
RegionContainer.createQuery()flag - the flaglocation - the locationplayer - the actorCopyright © 2015. All Rights Reserved.