Package me.ulrich.outpost.manager
Class OutpostManager
java.lang.Object
me.ulrich.outpost.manager.OutpostManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanchangeCaptureAmountOutpost(UUID name, int i) booleanchangeEnabledKey(UUID name, boolean newvalue) booleanchangeIconOutpost(UUID name, org.bukkit.inventory.ItemStack hand) booleanchangeKeyAmountOutpost(UUID name, int i) booleanchangeKeyStateOutpost(boolean newvalue) booleanchangeLootChance(UUID name, int min) booleanchangeLootType(UUID name, OutpostEnum.LootType newvalue, int amount) booleanchangeProximityAmountOutpost(UUID name, int i) booleanchangeSettingsOutpost(UUID name, OutpostEnum.GeneralSettingsType type, boolean value) booleanchangeTypeProximity(UUID name, OutpostEnum.ProximityType newvalue) booleanbooleancreateNewOutpost(String name, org.bukkit.Location loc1, org.bukkit.Location loc2) booleandeleteOutpost(UUID outpostUUID) voiddeleteOutpostData(UUID clanId) List<org.bukkit.entity.Player>getAgent()org.bukkit.LocationgetCoordOutpost(UUID uuid) org.bukkit.inventory.ItemStackorg.bukkit.LocationgetOutpost(String name) getOutpost(UUID uuid) getOutpost(org.bukkit.Location to) org.bukkit.inventory.ItemStackgetOutpostKey(OutpostData outpost, int amount) getOutpostName(UUID outpostUUID) getOutpostUUID(String outpostName) getPlayerRegion(UUID player) org.bukkit.Locationorg.bukkit.inventory.ItemStackgetWand()booleanbooleanvoidknockBack(org.bukkit.entity.Player player, org.bukkit.Location location) voidbooleanmoveOutpost(UUID name, org.bukkit.Location loc1, org.bukkit.Location loc2) booleanoutpostExists(String name) booleanoutpostExists(UUID name) booleanplayerIsAdminMode(org.bukkit.entity.Player player) booleanplayerIsInRegion(UUID player, UUID outpostUUID) voidreloadOutpostData(UUID clanId) static org.bukkit.util.VectorrotateVectorAroundY(org.bukkit.util.Vector vector, double degrees) voidsaveOutpostData(OutpostData clan) voidsetAdminMode(List<org.bukkit.entity.Player> adminMode) voidsetKeyLootEnabled(boolean keyLootEnabled) voidsetLeftAction(org.bukkit.Location leftAction) voidsetOutpostData(HashMap<UUID, OutpostData> outpostData) voidsetPlayerCapture(HashMap<UUID, Long> playerCapture) voidsetPlayerRegion(HashMap<UUID, IslandJoinLeaveData> playerRegion) voidsetRightAction(org.bukkit.Location rightAction) voidsetStarterStateEnabled(boolean starterStateEnabled) booleanteleportOutpost(org.bukkit.entity.Player player, UUID uuid) booleantoggleMaintenanceMode(UUID uuid, org.bukkit.entity.Player sender) booleantogglePlayerAdminMode(org.bukkit.entity.Player player)
-
Constructor Details
-
OutpostManager
-
-
Method Details
-
saveOutpostData
-
deleteOutpostData
-
reloadOutpostData
-
loadAllOutpostData
public void loadAllOutpostData() -
playerIsAdminMode
public boolean playerIsAdminMode(org.bukkit.entity.Player player) -
playerIsInRegion
-
getPlayerRegion
-
togglePlayerAdminMode
public boolean togglePlayerAdminMode(org.bukkit.entity.Player player) -
outpostExists
-
createNewOutpost
public OutpostData createNewOutpost(String name, org.bukkit.Location loc1, org.bukkit.Location loc2) -
deleteOutpost
-
moveOutpost
-
changeEnabledKey
-
changeLootType
-
changeLootChance
-
changeKeyAmountOutpost
-
changeTypeProximity
-
changeProximityAmountOutpost
-
changeCaptureAmountOutpost
-
changeSettingsOutpost
public boolean changeSettingsOutpost(UUID name, OutpostEnum.GeneralSettingsType type, boolean value) -
changeKeyStateOutpost
public boolean changeKeyStateOutpost(boolean newvalue) -
teleportOutpost
-
getCoordOutpost
-
getOutpost
-
outpostExists
-
getOutpost
-
getOutpostName
-
getOutpostUUID
-
getOutpost
-
getWand
public org.bukkit.inventory.ItemStack getWand() -
getKeyWand
public org.bukkit.inventory.ItemStack getKeyWand() -
getOutpostKey
-
clearWand
public boolean clearWand() -
checkWand
public boolean checkWand() -
changeIconOutpost
-
toggleMaintenanceMode
-
knockBack
public void knockBack(org.bukkit.entity.Player player, org.bukkit.Location location) -
rotateVectorAroundY
public static org.bukkit.util.Vector rotateVectorAroundY(org.bukkit.util.Vector vector, double degrees) -
getPlugin
-
getLeftAction
public org.bukkit.Location getLeftAction() -
setLeftAction
public void setLeftAction(org.bukkit.Location leftAction) -
getRightAction
public org.bukkit.Location getRightAction() -
setRightAction
public void setRightAction(org.bukkit.Location rightAction) -
getOutpostData
-
setOutpostData
-
isKeyLootEnabled
public boolean isKeyLootEnabled() -
setKeyLootEnabled
public void setKeyLootEnabled(boolean keyLootEnabled) -
getPlayerRegion
-
setPlayerRegion
-
getAdminMode
-
setAdminMode
-
isStarterStateEnabled
public boolean isStarterStateEnabled() -
setStarterStateEnabled
public void setStarterStateEnabled(boolean starterStateEnabled) -
getPlayerCapture
-
setPlayerCapture
-
getAgent
-