| Package | Description |
|---|---|
| dev.espi.protectionstones | |
| dev.espi.protectionstones.commands | |
| dev.espi.protectionstones.event | |
| dev.espi.protectionstones.utils |
| Modifier and Type | Class and Description |
|---|---|
class |
PSGroupRegion
Represents a region that exists but is a group of merged
PSStandardRegions. |
class |
PSMergedRegion
Represents an instance of a PS region that has been merged into another region.
|
class |
PSStandardRegion
Represents an instance of a standard PS region, that has not been merged or contains merged regions.
|
| Modifier and Type | Method and Description |
|---|---|
static PSRegion |
PSRegion.fromLocation(org.bukkit.Location l)
Get the protection stone region that the location is in, or the closest one if there are overlapping regions.
|
static PSRegion |
PSRegion.fromLocationGroup(org.bukkit.Location l)
Get the protection stone parent region that the location is in.
|
static PSRegion |
PSRegion.fromLocationGroupUnsafe(org.bukkit.Location l)
Get the protection stone parent region that the location is in.
|
static PSRegion |
PSRegion.fromLocationUnsafe(org.bukkit.Location l)
Get the protection stone region that the location is in, or the closest one if there are overlapping regions.
|
static PSRegion |
PSRegion.fromWGRegion(org.bukkit.World w,
com.sk89q.worldguard.protection.regions.ProtectedRegion r)
Get the protection stone region with the world and region.
|
PSRegion |
PSMergedRegion.getParent() |
PSRegion |
PSStandardRegion.getParent() |
abstract PSRegion |
PSRegion.getParent()
Get the parent of this region, if there is one.
|
| Modifier and Type | Method and Description |
|---|---|
static HashMap<org.bukkit.World,List<PSRegion>> |
PSRegion.fromName(String name)
Get the protection stones regions that have the given name as their set nickname (/ps name), from all worlds.
|
static List<PSRegion> |
PSRegion.fromName(org.bukkit.World w,
String name)
Get the protection stones regions that have the given name as their set nickname (/ps name)
|
List<PSRegion> |
PSPlayer.getHomes(org.bukkit.World w)
Get the list of homes a player owns.
|
List<PSRegion> |
PSMergedRegion.getMergeableRegions(org.bukkit.entity.Player p) |
List<PSRegion> |
PSStandardRegion.getMergeableRegions(org.bukkit.entity.Player p) |
abstract List<PSRegion> |
PSRegion.getMergeableRegions(org.bukkit.entity.Player p)
Get a list of regions that the current region can merge into, taking into account a player's permissions.
|
List<PSRegion> |
PSPlayer.getPSRegions(org.bukkit.World w,
boolean canBeMember)
Get the list of regions that a player owns, or is a member of.
|
static List<PSRegion> |
ProtectionStones.getPSRegions(org.bukkit.World w,
String identifier)
Get protection stone regions using an ID or alias.
|
List<PSRegion> |
PSPlayer.getPSRegionsCrossWorld(org.bukkit.World w,
boolean canBeMember)
Get the list of regions that a player owns, or is a member of.
|
List<PSRegion> |
PSEconomy.getRentedList()
Get list of rented regions.
|
List<PSRegion> |
PSPlayer.getTaxEligibleRegions()
Get the list of regions that a player can pay money for taxes to.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PSEconomy.doRentPayment(PSRegion r)
Process a rent payment for a region.
|
static void |
PSEconomy.processTaxes(PSRegion r)
Process taxes for a region.
|
void |
PSMergedRegion.setParent(PSRegion r) |
void |
PSStandardRegion.setParent(PSRegion r) |
abstract void |
PSRegion.setParent(PSRegion r)
Set the parent of this region.
|
| Modifier and Type | Method and Description |
|---|---|
PSRegion |
ArgTax.resolveRegion(String region,
PSPlayer p) |
| Modifier and Type | Method and Description |
|---|---|
static List<net.md_5.bungee.api.chat.TextComponent> |
ArgMerge.getGUI(org.bukkit.entity.Player p,
PSRegion r) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ArgAddRemove.determinePlayerSurpassedLimit(org.bukkit.entity.Player commandSender,
List<PSRegion> regionsToBeAddedTo,
PSPlayer addedPlayer) |
| Modifier and Type | Method and Description |
|---|---|
PSRegion |
PSRemoveEvent.getRegion()
Returns the region being removed.
|
PSRegion |
PSCreateEvent.getRegion()
Returns the region being created.
|
| Constructor and Description |
|---|
PSCreateEvent(PSRegion psr) |
PSCreateEvent(PSRegion psr,
org.bukkit.entity.Player player) |
PSRemoveEvent(PSRegion psr) |
PSRemoveEvent(PSRegion psr,
org.bukkit.entity.Player player) |
| Modifier and Type | Method and Description |
|---|---|
PSRegion |
WGMerge.RegionCannotMergeWhileRentedException.getRentedRegion() |
static PSRegion |
WGMerge.mergeRealRegions(org.bukkit.World w,
com.sk89q.worldguard.protection.managers.RegionManager rm,
PSRegion root,
List<PSRegion> merge) |
static PSRegion |
WGMerge.mergeRegions(String newID,
org.bukkit.World w,
com.sk89q.worldguard.protection.managers.RegionManager rm,
PSRegion root,
List<PSRegion> merge) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
WGUtils.canMergeRegionTypes(PSProtectBlock current,
PSRegion mergeInto) |
static List<com.sk89q.worldedit.math.BlockVector2> |
WGUtils.getPointsFromDecomposedRegion(PSRegion r) |
static PSRegion |
WGMerge.mergeRealRegions(org.bukkit.World w,
com.sk89q.worldguard.protection.managers.RegionManager rm,
PSRegion root,
List<PSRegion> merge) |
static PSRegion |
WGMerge.mergeRegions(String newID,
org.bukkit.World w,
com.sk89q.worldguard.protection.managers.RegionManager rm,
PSRegion root,
List<PSRegion> merge) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ChatUtils.displayDuplicateRegionAliases(org.bukkit.entity.Player p,
List<PSRegion> r) |
static PSRegion |
WGMerge.mergeRealRegions(org.bukkit.World w,
com.sk89q.worldguard.protection.managers.RegionManager rm,
PSRegion root,
List<PSRegion> merge) |
static PSRegion |
WGMerge.mergeRegions(String newID,
org.bukkit.World w,
com.sk89q.worldguard.protection.managers.RegionManager rm,
PSRegion root,
List<PSRegion> merge) |
Copyright © 2021. All rights reserved.