public interface Game
String getName()
GameStatus getStatus()
void start()
void stop()
default boolean isActivated()
void joinToGame(org.bukkit.entity.Player player)
void leaveFromGame(org.bukkit.entity.Player player)
void selectPlayerTeam(org.bukkit.entity.Player player, Team team)
void selectPlayerRandomTeam(org.bukkit.entity.Player player)
org.bukkit.World getGameWorld()
org.bukkit.Location getPos1()
org.bukkit.Location getPos2()
org.bukkit.Location getSpectatorSpawn()
int getGameTime()
int getMinPlayers()
int getMaxPlayers()
int countConnectedPlayers()
List<org.bukkit.entity.Player> getConnectedPlayers()
int countGameStores()
int countAvailableTeams()
List<RunningTeam> getRunningTeams()
int countRunningTeams()
RunningTeam getTeamOfPlayer(org.bukkit.entity.Player player)
boolean isPlayerInAnyTeam(org.bukkit.entity.Player player)
boolean isPlayerInTeam(org.bukkit.entity.Player player, RunningTeam team)
boolean isLocationInArena(org.bukkit.Location location)
boolean isBlockAddedDuringGame(org.bukkit.Location location)
List<SpecialItem> getActivedSpecialItems()
List<SpecialItem> getActivedSpecialItems(Class<? extends SpecialItem> type)
List<SpecialItem> getActivedSpecialItemsOfTeam(Team team)
List<SpecialItem> getActivedSpecialItemsOfTeam(Team team, Class<? extends SpecialItem> type)
SpecialItem getFirstActivedSpecialItemOfTeam(Team team)
SpecialItem getFirstActivedSpecialItemOfTeam(Team team, Class<? extends SpecialItem> type)
List<SpecialItem> getActivedSpecialItemsOfPlayer(org.bukkit.entity.Player player)
List<SpecialItem> getActivedSpecialItemsOfPlayer(org.bukkit.entity.Player player, Class<? extends SpecialItem> type)
SpecialItem getFirstActivedSpecialItemOfPlayer(org.bukkit.entity.Player player)
SpecialItem getFirstActivedSpecialItemOfPlayer(org.bukkit.entity.Player player, Class<? extends SpecialItem> type)
void registerSpecialItem(SpecialItem item)
void unregisterSpecialItem(SpecialItem item)
boolean isRegisteredSpecialItem(SpecialItem item)
List<ItemSpawner> getItemSpawners()
Region getRegion()
StatusBar getStatusBar()
org.bukkit.World getLobbyWorld()
org.bukkit.Location getLobbySpawn()
int getLobbyCountdown()
int countTeamChests()
int countTeamChests(RunningTeam team)
RunningTeam getTeamOfChest(org.bukkit.Location location)
RunningTeam getTeamOfChest(org.bukkit.block.Block block)
InGameConfigBooleanConstants getCompassEnabled()
boolean getOriginalOrInheritedCompassEnabled()
InGameConfigBooleanConstants getJoinRandomTeamAfterLobby()
boolean getOriginalOrInheritedJoinRandomTeamAfterLobby()
InGameConfigBooleanConstants getJoinRandomTeamOnJoin()
boolean getOriginalOrInheritedJoinRandomTeamOnJoin()
InGameConfigBooleanConstants getAddWoolToInventoryOnJoin()
boolean getOriginalOrInheritedAddWoolToInventoryOnJoin()
InGameConfigBooleanConstants getPreventKillingVillagers()
boolean getOriginalOrInheritedPreventKillingVillagers()
InGameConfigBooleanConstants getSpectatorGm3()
boolean getOriginalOrInheritedSpectatorGm3()
InGameConfigBooleanConstants getPlayerDrops()
boolean getOriginalOrInheritedPlayerDrops()
InGameConfigBooleanConstants getFriendlyfire()
boolean getOriginalOrInheritedFriendlyfire()
InGameConfigBooleanConstants getColoredLeatherByTeamInLobby()
boolean getOriginalOrInheritedColoredLeatherByTeamInLobby()
InGameConfigBooleanConstants getKeepInventory()
boolean getOriginalOrInheritedKeepInventory()
InGameConfigBooleanConstants getCrafting()
boolean getOriginalOrInheritedCrafting()
InGameConfigBooleanConstants getLobbyBossbar()
boolean getOriginalOrInheritedLobbyBossbar()
InGameConfigBooleanConstants getGameBossbar()
boolean getOriginalOrInheritedGameBossbar()
InGameConfigBooleanConstants getScoreboard()
boolean getOriginalOrInheritedScoreaboard()
InGameConfigBooleanConstants getLobbyScoreboard()
boolean getOriginalOrInheritedLobbyScoreaboard()
InGameConfigBooleanConstants getPreventSpawningMobs()
boolean getOriginalOrInheritedPreventSpawningMobs()
InGameConfigBooleanConstants getSpawnerHolograms()
boolean getOriginalOrInheritedSpawnerHolograms()
InGameConfigBooleanConstants getSpawnerDisableMerge()
boolean getOriginalOrInheritedSpawnerDisableMerge()
InGameConfigBooleanConstants getGameStartItems()
boolean getOriginalOrInheritedGameStartItems()
InGameConfigBooleanConstants getPlayerRespawnItems()
boolean getOriginalOrInheritedPlayerRespawnItems()
InGameConfigBooleanConstants getSpawnerHologramsCountdown()
boolean getOriginalOrInheritedSpawnerHologramsCountdown()
InGameConfigBooleanConstants getDamageWhenPlayerIsNotInArena()
boolean getOriginalOrInheritedDamageWhenPlayerIsNotInArena()
InGameConfigBooleanConstants getRemoveUnusedTargetBlocks()
boolean getOriginalOrInheritedRemoveUnusedTargetBlocks()
InGameConfigBooleanConstants getAllowBlockFalling()
boolean getOriginalOrInheritedAllowBlockFalling()
ArenaTime getArenaTime()
org.bukkit.WeatherType getArenaWeather()
org.bukkit.boss.BarColor getLobbyBossBarColor()
org.bukkit.boss.BarColor getGameBossBarColor()
boolean isUpgradesEnabled()
Copyright © 2019. All rights reserved.