public static class RegionManagerCommandsManager.Properties
extends java.lang.Object
RegionManagerCommandsManager.Properties is a static class containing the main aspects for using RegionManager.
| Constructor and Description |
|---|
RegionManagerCommandsManager.Properties() |
| Modifier and Type | Method and Description |
|---|---|
static com.sk89q.worldedit.BlockVector |
getBlockVector(org.bukkit.Location location)
Returns a BlockVector - a equivalent of Bukkit's Location for sk89q's WorldEdit - for a Bukkit location.
|
static java.util.Map<com.sk89q.worldguard.protection.flags.Flag<?>,java.lang.Object> |
getFlagsFor(java.lang.String name)
Returns a map of WorldGuard flags where the values are always
null. |
static void |
setDefaultFlags(com.sk89q.worldguard.protection.regions.ProtectedRegion region)
Sets the default flags for a region.
|
public RegionManagerCommandsManager.Properties()
public static final com.sk89q.worldedit.BlockVector getBlockVector(org.bukkit.Location location)
location - the Bukkit locationBlockVectorpublic static final java.util.Map<com.sk89q.worldguard.protection.flags.Flag<?>,java.lang.Object> getFlagsFor(java.lang.String name)
null.| RegionManager flag name | WorldGuard flags |
|---|---|
| pvp | PVP |
| mob-spawning | MOB_SPAWNING |
| blockdamage | CREEPER_EXPLOSION ENDER_BUILD ENDERDRAGON_BLOCK_DAMAGE OTHER_EXPLOSION |
| tnt | TNT |
| chest-access | CHEST_ACCESS |
| use | USE |
| snow-fall | SNOW_FALL |
| snow-melt | SNOW_MELT |
| ice-form | ICE_FORM |
| leaf-decay | LEAF_DECAY |
| greeting | GREET_MESSAGE |
| farewell | FAREWELL_MESSAGE |
name - the RegionManager flag nameFlag,
DefaultFlagpublic static final void setDefaultFlags(com.sk89q.worldguard.protection.regions.ProtectedRegion region)
chest-access (deny), use (allow)region - the region