| Package | Description |
|---|---|
| dev.espi.protectionstones | |
| dev.espi.protectionstones.utils |
| Modifier and Type | Method and Description |
|---|---|
static PSProtectBlock |
ProtectionStones.getBlockOptions(org.bukkit.block.Block block)
Get the protection block config options for the block specified.
|
static PSProtectBlock |
ProtectionStones.getBlockOptions(org.bukkit.inventory.ItemStack item)
Get the protection block config options for the item specified.
|
static PSProtectBlock |
ProtectionStones.getBlockOptions(String blockType)
Gets the config options for the protection block type specified.
|
static PSProtectBlock |
ProtectionStones.getProtectBlockFromAlias(String name)
Get the config options for a protect block based on its alias
|
PSProtectBlock |
PSMergedRegion.getTypeOptions() |
PSProtectBlock |
PSStandardRegion.getTypeOptions() |
abstract PSProtectBlock |
PSRegion.getTypeOptions() |
| Modifier and Type | Method and Description |
|---|---|
List<PSProtectBlock> |
ProtectionStones.getConfiguredBlocks()
Returns the list of PSProtectBlocks configured through the config.
|
HashMap<PSProtectBlock,Integer> |
PSPlayer.getRegionLimits()
Get a player's permission limits for each protection block (protectionstones.limit.alias.x)
Protection blocks that aren't specified in the player's permissions will not be returned in the map.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
BlockHandler.createActualRegion(org.bukkit.entity.Player p,
org.bukkit.Location l,
PSProtectBlock blockOptions) |
static org.bukkit.inventory.ItemStack |
ProtectionStones.createProtectBlockItem(PSProtectBlock b)
Get a protection block item from a protect block config object.
|
static boolean |
BlockHandler.createPSRegion(org.bukkit.entity.Player p,
org.bukkit.Location l,
PSProtectBlock blockOptions) |
void |
PSMergedRegion.setType(PSProtectBlock type) |
void |
PSStandardRegion.setType(PSProtectBlock type) |
void |
PSRegion.setType(PSProtectBlock type)
Change the type of the protection region.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
WGUtils.canMergeRegionTypes(PSProtectBlock current,
PSRegion mergeInto) |
static boolean |
LimitUtil.check(org.bukkit.entity.Player p,
PSProtectBlock b) |
static com.sk89q.worldguard.protection.regions.ProtectedCuboidRegion |
WGUtils.getDefaultProtectedRegion(PSProtectBlock b,
PSLocation v) |
static String |
BlockUtil.getUUIDFromBase64PS(PSProtectBlock b) |
| Modifier and Type | Method and Description |
|---|---|
static String |
LimitUtil.checkAddOwner(PSPlayer psp,
List<PSProtectBlock> blocksAdded) |
Copyright © 2021. All rights reserved.