| Constructor and Description |
|---|
RedefineRegionBuilder(org.bukkit.entity.Player p,
Region old,
org.bukkit.Location loc1,
org.bukkit.Location loc2) |
| Modifier and Type | Method and Description |
|---|---|
Region |
RedProtectAPI.getHighPriorityRegion(org.bukkit.World world,
int x,
int y,
int z)
In a location with more than one region, use to get the upper region with high priority.
|
Region |
RedProtectAPI.getLowPriorityRegion(org.bukkit.World world,
int x,
int y,
int z)
In a location with more than one region, use to get the lower region with low priority.
|
Region |
RedProtectAPI.getRegion(org.bukkit.Location location)
Return the Region on location.
|
Region |
RedProtectAPI.getRegion(String regionName,
org.bukkit.World world)
Give the Region based on given name and world.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Region> |
RedProtectAPI.getAllRegions()
Return all regions for all loaded worlds;
|
Set<Region> |
RedProtectAPI.getChunkRegions(org.bukkit.Chunk chunk)
Return all regions present on provided chunk, including low and hight priority.
|
Map<Integer,Region> |
RedProtectAPI.getGroupRegions(org.bukkit.Location loc)
The group of Regions on given location x and z.
|
Map<Integer,Region> |
RedProtectAPI.getGroupRegions(org.bukkit.World world,
int x,
int y,
int z)
The group of Regions on given location x and z.
|
Set<Region> |
RedProtectAPI.getPlayerRegions(org.bukkit.entity.Player player)
A set of regions created by this player.
|
Set<Region> |
RedProtectAPI.getPlayerRegions(org.bukkit.entity.Player player,
int x,
int y,
int z)
A set of regions created by this player based on x and z.
|
Set<Region> |
RedProtectAPI.getPlayerRegions(String uuid)
A set of regions created by this player based on uuid or player name.
|
Set<Region> |
RedProtectAPI.getPlayerRegions(String uuid,
org.bukkit.World world)
A set of regions created by this player based on uuid or player name and specific world.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RedProtectAPI.addRegion(Region region,
org.bukkit.World world)
Add a region.
|
static long |
RPEconomyAPI.getRegionValue(Region region)
Get the region value based on blocks, chests, itens inside chests and item enchantements inside chests too.
|
void |
RedProtectAPI.removeRegion(Region region)
Remove a region.
|
void |
RedProtectAPI.renameRegion(Region region,
String newName)
Rename a region;
|
static boolean |
RPEconomyAPI.SellRegion(Region region,
String owner,
long value)
Put a region to sell.
|
| Modifier and Type | Method and Description |
|---|---|
Region |
EnterExitRegionEvent.getEnteredRegion() |
Region |
EnterExitRegionEvent.getExitedRegion() |
Region |
RedefineRegionEvent.getNewRegion() |
Region |
RedefineRegionEvent.getOldRegion() |
Region |
ChangeRegionFlagEvent.getRegion() |
Region |
CreateRegionEvent.getRegion() |
Region |
DeleteRegionEvent.getRegion() |
Region |
RenameRegionEvent.getRegion() |
| Constructor and Description |
|---|
ChangeRegionFlagEvent(org.bukkit.command.CommandSender cause,
Region region,
String flag,
Object value) |
CreateRegionEvent(Region region,
org.bukkit.entity.Player p) |
DeleteRegionEvent(Region region,
org.bukkit.entity.Player p) |
EnterExitRegionEvent(Region ExitedRegion,
Region EnteredRegion,
org.bukkit.entity.Player player) |
RedefineRegionEvent(Region oldRegion,
Region region,
org.bukkit.entity.Player player) |
RenameRegionEvent(Region region,
String newName,
String oldName,
org.bukkit.entity.Player p) |
| Modifier and Type | Method and Description |
|---|---|
static void |
CommandHandlers.handleAddAdmin(org.bukkit.command.CommandSender src,
String sVictim,
Region r) |
static void |
CommandHandlers.handleAddLeader(org.bukkit.command.CommandSender src,
String sVictim,
Region r) |
static void |
CommandHandlers.handleAddMember(org.bukkit.command.CommandSender src,
String sVictim,
Region r) |
static void |
CommandHandlers.handleFlag(org.bukkit.entity.Player p,
String flag,
String value,
Region r) |
static void |
CommandHandlers.handleRemoveAdmin(org.bukkit.command.CommandSender src,
String sVictim,
Region r) |
static void |
CommandHandlers.handleRemoveLeader(org.bukkit.command.CommandSender src,
String sVictim,
Region r) |
static void |
CommandHandlers.handleRemoveMember(org.bukkit.command.CommandSender src,
String sVictim,
Region r) |
| Modifier and Type | Method and Description |
|---|---|
Region |
WorldFlatFileRegionManager.getLowRegion(int x,
int y,
int z) |
Region |
WorldMySQLRegionManager.getLowRegion(int x,
int y,
int z) |
Region |
WorldRegionManager.getLowRegion(int x,
int y,
int z) |
Region |
WorldFlatFileRegionManager.getRegion(String rname) |
Region |
WorldMySQLRegionManager.getRegion(String rname) |
Region |
WorldRegionManager.getRegion(String rname) |
Region |
WorldFlatFileRegionManager.getTopRegion(int x,
int y,
int z) |
Region |
WorldMySQLRegionManager.getTopRegion(int x,
int y,
int z) |
Region |
WorldRegionManager.getTopRegion(int x,
int y,
int z) |
| Modifier and Type | Method and Description |
|---|---|
Set<Region> |
WorldFlatFileRegionManager.getAdminRegions(String uuid) |
Set<Region> |
WorldMySQLRegionManager.getAdminRegions(String uuid) |
Set<Region> |
WorldRegionManager.getAdminRegions(String uuid) |
Set<Region> |
WorldFlatFileRegionManager.getAllRegions() |
Set<Region> |
WorldMySQLRegionManager.getAllRegions() |
Set<Region> |
WorldRegionManager.getAllRegions() |
Map<Integer,Region> |
WorldFlatFileRegionManager.getGroupRegion(int x,
int y,
int z) |
Map<Integer,Region> |
WorldMySQLRegionManager.getGroupRegion(int x,
int y,
int z) |
Map<Integer,Region> |
WorldRegionManager.getGroupRegion(int x,
int y,
int z) |
Set<Region> |
WorldFlatFileRegionManager.getInnerRegions(Region region) |
Set<Region> |
WorldMySQLRegionManager.getInnerRegions(Region region) |
Set<Region> |
WorldRegionManager.getInnerRegions(Region region) |
Set<Region> |
WorldFlatFileRegionManager.getLeaderRegions(String pname) |
Set<Region> |
WorldMySQLRegionManager.getLeaderRegions(String uuid) |
Set<Region> |
WorldRegionManager.getLeaderRegions(String uuid) |
Set<Region> |
WorldFlatFileRegionManager.getMemberRegions(String uuid) |
Set<Region> |
WorldMySQLRegionManager.getMemberRegions(String uuid) |
Set<Region> |
WorldRegionManager.getMemberRegions(String uuid) |
Set<Region> |
WorldFlatFileRegionManager.getRegions(int x,
int y,
int z) |
Set<Region> |
WorldMySQLRegionManager.getRegions(int x,
int y,
int z) |
Set<Region> |
WorldRegionManager.getRegions(int x,
int y,
int z) |
Set<Region> |
WorldFlatFileRegionManager.getRegionsNear(int px,
int pz,
int radius) |
Set<Region> |
WorldMySQLRegionManager.getRegionsNear(int px,
int pz,
int radius) |
Set<Region> |
WorldRegionManager.getRegionsNear(int px,
int pz,
int p1) |
| Modifier and Type | Method and Description |
|---|---|
void |
WorldFlatFileRegionManager.add(Region region) |
void |
WorldMySQLRegionManager.add(Region r) |
void |
WorldRegionManager.add(Region p0) |
Set<Region> |
WorldFlatFileRegionManager.getInnerRegions(Region region) |
Set<Region> |
WorldMySQLRegionManager.getInnerRegions(Region region) |
Set<Region> |
WorldRegionManager.getInnerRegions(Region region) |
void |
WorldFlatFileRegionManager.remove(Region region) |
void |
WorldMySQLRegionManager.remove(Region r) |
void |
WorldRegionManager.remove(Region p0) |
| Constructor and Description |
|---|
FlagGui(String name,
org.bukkit.entity.Player player,
Region region,
boolean editable,
int maxSlots) |
ItemFlagGui(org.bukkit.entity.Player player,
Region region,
String flag) |
MobFlagGui(org.bukkit.entity.Player player,
Region region,
String flag) |
| Modifier and Type | Method and Description |
|---|---|
void |
RedProtectUtil.addBorder(org.bukkit.entity.Player p,
Region r) |
void |
RedProtectUtil.addProps(org.bukkit.configuration.file.YamlConfiguration fileDB,
Region r) |
static void |
DoorManager.ChangeDoor(org.bukkit.block.Block b,
Region r) |
org.bukkit.Location |
RedProtectUtil.DenyEnterPlayer(org.bukkit.World wFrom,
org.bukkit.Location from,
org.bukkit.Location to,
Region r,
boolean checkSec) |
org.bukkit.Location |
RedProtectUtil.DenyExitPlayer(org.bukkit.entity.Player p,
org.bukkit.Location from,
org.bukkit.Location to,
Region r) |
static String |
EconomyManager.getCostMessage(Region r) |
static long |
EconomyManager.getRegionValue(Region r) |
String |
RedProtectUtil.getTitleName(Region r) |
int |
RedProtectUtil.getUpdatedPrior(Region region) |
boolean |
PermissionHandler.hasRegionPermAdmin(org.bukkit.command.CommandSender sender,
String s,
Region poly) |
boolean |
PermissionHandler.hasRegionPermAdmin(org.bukkit.entity.Player p,
String s,
Region poly) |
boolean |
PermissionHandler.hasRegionPermLeader(org.bukkit.command.CommandSender sender,
String s,
Region poly) |
boolean |
PermissionHandler.hasRegionPermLeader(org.bukkit.entity.Player p,
String s,
Region poly) |
boolean |
PermissionHandler.hasRegionPermMember(org.bukkit.entity.Player p,
String s,
Region poly) |
static boolean |
EconomyManager.putToSell(Region r,
String uuid,
long value) |
int |
RedProtectUtil.simuleTotalRegionSize(String player,
Region r2) |
| Modifier and Type | Method and Description |
|---|---|
void |
RedProtectUtil.ReadAllDB(Set<Region> regions) |
| Modifier and Type | Method and Description |
|---|---|
static Region |
WEHook.pasteWithWE(org.bukkit.entity.Player p,
File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
DynmapHook.addMark(Region r) |
static boolean |
SimpleClansHook.getPlayerClan(Region r,
org.bukkit.entity.Player p) |
static boolean |
SimpleClansHook.inWar(Region r,
org.bukkit.entity.Player attack,
org.bukkit.entity.Player defend) |
static void |
WEHook.regenRegion(Region region,
org.bukkit.World world,
org.bukkit.Location p1,
org.bukkit.Location p2,
int delay,
org.bukkit.command.CommandSender sender,
boolean remove) |
void |
DynmapHook.removeMark(Region r) |
| Modifier and Type | Field and Description |
|---|---|
protected Region |
RegionBuilder.r |
| Modifier and Type | Method and Description |
|---|---|
Region |
RegionBuilder.build() |
Region |
RegionManager.getLowRegion(org.bukkit.Location loc)
Get the low priority region in a group region.
|
Region |
RegionManager.getLowRegion(String w,
int x,
int y,
int z)
Get the low priority region in a group region.
|
Region |
RegionManager.getRegion(String rname,
String w) |
Region |
RegionManager.getRegionById(String rid) |
Region |
RegionManager.getTopRegion(org.bukkit.Location loc)
Get the high priority region in a group region.
|
Region |
RegionManager.getTopRegion(String w,
int x,
int y,
int z)
Get the high priority region in a group region.
|
Region |
RegionManager.renameRegion(String newName,
Region old) |
| Modifier and Type | Method and Description |
|---|---|
Set<Region> |
RegionManager.getAdminRegions(String uuid)
Return a set of regions by player UUID or Name if this player is Admin or Leader;
This will return player regions based on raw UUID or Player name, depending if server is running in Online;
|
Set<Region> |
RegionManager.getAllRegions() |
Map<Integer,Region> |
RegionManager.getGroupRegion(org.bukkit.Location loc)
Get regions in a group region.
|
Map<Integer,Region> |
RegionManager.getGroupRegion(String w,
int x,
int y,
int z)
Get regions in a group region.
|
Set<Region> |
RegionManager.getInnerRegions(Region region,
String w) |
Set<Region> |
RegionManager.getLeaderRegions(String uuid)
Return a set of regions by player UUID or Name if this player is Leader;
This will return player regions based on raw UUID or Player name, depending if server is running in Online or Offline mode;
|
Set<Region> |
RegionManager.getMemberRegions(String uuid)
Return a set of regions by player UUID or Name if this player is Member, Admin or Leader;
This will return player regions based on raw UUID or Player name, depending if server is running in Online;
|
Set<Region> |
RegionManager.getRegions(org.bukkit.entity.Player p,
int x,
int y,
int z) |
Set<Region> |
RegionManager.getRegions(String player,
String w) |
Set<Region> |
RegionManager.getRegionsByWorld(String w) |
Set<Region> |
RegionManager.getRegionsForChunk(org.bukkit.Chunk chunk) |
Set<Region> |
RegionManager.getRegionsNear(org.bukkit.entity.Player player,
int i) |
| Modifier and Type | Method and Description |
|---|---|
void |
RegionManager.add(Region r,
String w) |
Set<Region> |
RegionManager.getInnerRegions(Region region,
String w) |
void |
RegionManager.remove(Region r,
String w) |
void |
RegionManager.removeLiveFlags(Region r,
String flag) |
Region |
RegionManager.renameRegion(String newName,
Region old) |
void |
RegionManager.updateLiveFlags(Region r,
String flag,
String value) |
void |
RegionManager.updateLiveRegion(Region r,
String columm,
Object value) |
Copyright © 2021. All rights reserved.