public class TARDISArea
extends java.lang.Object
Constructor and Description |
---|
TARDISArea(TARDIS plugin) |
Modifier and Type | Method and Description |
---|---|
boolean |
areaCheckInExile(java.lang.String area,
org.bukkit.Location l)
Checks if a location is contained within a specific TARDIS area.
|
boolean |
areaCheckInExisting(org.bukkit.Location l)
Checks if a location is contained within any TARDIS area.
|
TARDISAreaCheck |
areaCheckInExistingArea(org.bukkit.Location l)
Checks if a location is contained within any TARDIS area.
|
boolean |
areaCheckLocPlayer(org.bukkit.entity.Player p,
org.bukkit.Location l)
Checks if a player has permission to travel to a TARDIS area.
|
java.lang.String |
getExileArea(org.bukkit.entity.Player p)
Gets the TARDIS area a player is exiled to.
|
org.bukkit.Location |
getNextSpot(java.lang.String area)
Gets the next available parking spot in a specified TARDIS area.
|
public TARDISArea(TARDIS plugin)
public boolean areaCheckInExisting(org.bukkit.Location l)
l
- a location object to check.public TARDISAreaCheck areaCheckInExistingArea(org.bukkit.Location l)
l
- a location object to check.public boolean areaCheckInExile(java.lang.String area, org.bukkit.Location l)
area
- the TARDIS area to check in.l
- a location object to check.public boolean areaCheckLocPlayer(org.bukkit.entity.Player p, org.bukkit.Location l)
p
- a player to check.l
- a location object to check.public org.bukkit.Location getNextSpot(java.lang.String area)
area
- the TARDIS area to look in.public java.lang.String getExileArea(org.bukkit.entity.Player p)
p
- a player to check.