public interface IslandInfo
Modifier and Type | Method and Description |
---|---|
boolean |
contains(org.bukkit.Location loc)
Checks whether a location is within the island borders.
|
List<String> |
getBans()
List of players banned from this island.
|
String |
getBiome()
The name of the biome.
|
org.bukkit.Location |
getIslandLocation()
The location of the island.
|
String |
getLeader()
Returns the player-name of the island-leader.
|
double |
getLevel()
The currently registered level of this island.
|
List<String> |
getLog()
The latest event-log for the island.
|
int |
getMaxAnimals()
Returns the maximum number of animals that can spawn on this island.
|
int |
getMaxGolems()
Returns the maximum number of golems (snowmen and iron-golems) that can spawn on this island.
|
int |
getMaxMonsters()
Returns the maximum number of monsters (including squids) that can spawn on this island.
|
int |
getMaxPartySize()
Returns the maximum number of members this island can have.
|
int |
getMaxVillagers()
Returns the maximum number of villagers that can spawn on this island.
|
Set<String> |
getMembers()
The player-names of all the island-members (including the leader).
|
List<org.bukkit.entity.Player> |
getOnlineMembers()
List of members currently online.
|
int |
getPartySize()
The current party-size of the island.
|
String |
getSchematicName()
Returns the current schematic-name for the island).
|
List<String> |
getTrustees()
List of players trusted on this island.
|
org.bukkit.Location |
getWarpLocation()
The (possibly
null ) location of the island-warp. |
boolean |
hasOnlineMembers()
True if at least one member of the island is online.
|
boolean |
isBanned(org.bukkit.entity.Player player)
True iff the player has been banned from this island.
|
boolean |
isLeader(org.bukkit.entity.Player player)
True iff the player is the leader of this island.
|
boolean |
isParty()
True if this island constitutes a party (more than 1 member).
|
int getMaxPartySize()
int getMaxAnimals()
spawn-limitsare enabled in
config.yml
int getMaxMonsters()
spawn-limitsare enabled in
config.yml
int getMaxVillagers()
spawn-limitsare enabled in
config.yml
int getMaxGolems()
spawn-limitsare enabled in
config.yml
String getLeader()
Set<String> getMembers()
String getBiome()
int getPartySize()
boolean isLeader(org.bukkit.entity.Player player)
player
- The player to query forboolean isBanned(org.bukkit.entity.Player player)
player
- The player to query forList<String> getBans()
List<String> getTrustees()
double getLevel()
List<String> getLog()
boolean isParty()
org.bukkit.Location getWarpLocation()
null
) location of the island-warp.null
) location of the island-warp.org.bukkit.Location getIslandLocation()
boolean hasOnlineMembers()
List<org.bukkit.entity.Player> getOnlineMembers()
boolean contains(org.bukkit.Location loc)
loc
- The location to test for.String getSchematicName()
Copyright © 2016. All rights reserved.