Uses of Class
dev.espi.protectionstones.PSRegion
Package
Description
-
Uses of PSRegion in dev.espi.protectionstones
Modifier and TypeClassDescriptionclass
Represents a region that exists but is a group of mergedPSStandardRegion
s.class
Represents an instance of a PS region that has been merged into another region.class
Represents an instance of a standard PS region, that has not been merged or contains merged regions.Modifier and TypeMethodDescriptionstatic 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.PSMergedRegion.getParent()
abstract PSRegion
PSRegion.getParent()
Get the parent of this region, if there is one.PSStandardRegion.getParent()
Modifier and TypeMethodDescriptionGet the protection stones regions that have the given name as their set nickname (/ps name), from all worlds.Get the protection stones regions that have the given name as their set nickname (/ps name)PSPlayer.getHomes(org.bukkit.World w)
Get the list of homes a player owns.PSMergedRegion.getMergeableRegions(org.bukkit.entity.Player p)
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.PSStandardRegion.getMergeableRegions(org.bukkit.entity.Player p)
ProtectionStones.getPSRegions(org.bukkit.World w, String identifier)
Get protection stone regions using an ID or alias.PSPlayer.getPSRegions(org.bukkit.World w, boolean canBeMember)
Get the list of regions that a player owns, or is a member of.PSPlayer.getPSRegionsCrossWorld(org.bukkit.World w, boolean canBeMember)
Get the list of regions that a player owns, or is a member of.PSEconomy.getRentedList()
Get list of rented regions.PSPlayer.getTaxEligibleRegions()
Get the list of regions that a player can pay money for taxes to.Modifier and TypeMethodDescriptionstatic void
PSEconomy.doRentPayment(PSRegion r)
Process a rent payment for a region.static void
PSEconomy.processTaxes(PSRegion r)
Process taxes for a region.void
abstract void
Set the parent of this region.void
-
Uses of PSRegion in dev.espi.protectionstones.commands
Modifier and TypeMethodDescriptionboolean
ArgAddRemove.determinePlayerSurpassedLimit(org.bukkit.entity.Player commandSender, List<PSRegion> regionsToBeAddedTo, PSPlayer addedPlayer)
-
Uses of PSRegion in dev.espi.protectionstones.event
Modifier and TypeMethodDescriptionPSCreateEvent.getRegion()
Returns the region being created.PSRemoveEvent.getRegion()
Returns the region being removed.ModifierConstructorDescriptionPSCreateEvent(PSRegion psr)
PSCreateEvent(PSRegion psr, org.bukkit.entity.Player player)
PSRemoveEvent(PSRegion psr)
PSRemoveEvent(PSRegion psr, org.bukkit.entity.Player player)
-
Uses of PSRegion in dev.espi.protectionstones.utils
Modifier and TypeMethodDescriptionWGMerge.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 TypeMethodDescriptionstatic 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 TypeMethodDescriptionstatic void
ChatUtil.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)