public class IslandManager extends Object
Constructor and Description |
---|
IslandManager(SkyBlock skyblock) |
Modifier and Type | Method and Description |
---|---|
void |
closeIsland(Island island) |
boolean |
containsIsland(UUID uuid) |
boolean |
createIsland(org.bukkit.entity.Player player,
Structure structure) |
void |
deleteIsland(Island island) |
List<UUID> |
getCoopPlayersAtIsland(Island island) |
Island |
getIsland(UUID islandOwnerUUID) |
Map<UUID,Island> |
getIslands() |
int |
getIslandSafeLevel(Island island) |
List<UUID> |
getMembersOnline(Island island) |
List<UUID> |
getPlayersAtIsland(Island island) |
List<org.bukkit.entity.Player> |
getPlayersAtIsland(Island island,
Location.World world) |
List<UUID> |
getVisitorsAtIsland(Island island) |
void |
giveIslandOwnership(UUID uuid) |
void |
giveUpgrades(org.bukkit.entity.Player player,
Island island) |
boolean |
hasIsland(org.bukkit.entity.Player player) |
boolean |
hasIsland(UUID uuid) |
boolean |
hasPermission(org.bukkit.entity.Player player,
String setting) |
boolean |
hasSetting(org.bukkit.Location location,
Setting.Role role,
String setting) |
boolean |
isIslandExist(UUID uuid) |
void |
loadIsland(UUID uuid) |
void |
loadPlayer(org.bukkit.entity.Player player) |
void |
onDisable() |
org.bukkit.Location |
prepareNextAvailableLocation(Location.World world) |
boolean |
removeCoopPlayers(Island island,
UUID uuid) |
void |
removeIsland(UUID islandOwnerUUID) |
void |
removeSpawnProtection(org.bukkit.Location location) |
void |
removeUpgrades(org.bukkit.entity.Player player) |
void |
saveNextAvailableLocation() |
void |
setNextAvailableLocation(Location.World world,
org.bukkit.Location location) |
void |
setSpawnProtection(org.bukkit.Location location) |
void |
unloadIsland(Island island,
UUID uuid) |
void |
visitIsland(org.bukkit.entity.Player player,
Island island) |
public IslandManager(SkyBlock skyblock)
public void onDisable()
public void saveNextAvailableLocation()
public void setNextAvailableLocation(Location.World world, org.bukkit.Location location)
public org.bukkit.Location prepareNextAvailableLocation(Location.World world)
public boolean createIsland(org.bukkit.entity.Player player, Structure structure)
public void giveIslandOwnership(UUID uuid)
public void deleteIsland(Island island)
public void loadIsland(UUID uuid)
public void visitIsland(org.bukkit.entity.Player player, Island island)
public void closeIsland(Island island)
public void removeIsland(UUID islandOwnerUUID)
public boolean isIslandExist(UUID uuid)
public boolean hasIsland(UUID uuid)
public boolean hasIsland(org.bukkit.entity.Player player)
public boolean containsIsland(UUID uuid)
public boolean hasPermission(org.bukkit.entity.Player player, String setting)
public boolean hasSetting(org.bukkit.Location location, Setting.Role role, String setting)
public void setSpawnProtection(org.bukkit.Location location)
public void removeSpawnProtection(org.bukkit.Location location)
public List<org.bukkit.entity.Player> getPlayersAtIsland(Island island, Location.World world)
public void loadPlayer(org.bukkit.entity.Player player)
public void giveUpgrades(org.bukkit.entity.Player player, Island island)
public void removeUpgrades(org.bukkit.entity.Player player)
public int getIslandSafeLevel(Island island)
Copyright © 2018. All rights reserved.