Uses of Interface
de.marcely.bedwars.api.arena.Arena
Package
Description
-
Uses of Arena in de.marcely.bedwars.api
Modifier and TypeMethodDescription@Nullable Arena
GameAPI.getArenaByExactName
(String name) Looks for an arena with exactly that name.@Nullable Arena
GameAPI.getArenaByName
(String name) Looks for an arena with that name and optionally parses it as an arena picker.@Nullable Arena
GameAPI.getArenaByPlayer
(Player player) Looks for an arena with that player inside the arena.@Nullable Arena
GameAPI.getArenaBySpectator
(Player player) Looks for an arena with that player spectating the arena.Modifier and TypeMethodDescription@Nullable Collection
<Arena> GameAPI.getArenaByLocation
(Location location) Looks for all arenas where the location is inside the arena.GameAPI.getArenas()
Returns all existing arenas.Modifier and TypeMethodDescription@Nullable LobbyItem
GameAPI.getVisibleLobbyItem
(int slot, Player player, Arena arena) Returns the currently visible item at a specific slot.boolean
GameAPI.openUpgradeShop
(Player player, Arena arena, Team team, UpgradeShopOpenCause cause) Opens the upgrade shop for a player.void
GameAPI.useSpecialItem
(SpecialItem item, Player player, Arena arena, ItemStack is) Simulates the player using the special item. -
Uses of Arena in de.marcely.bedwars.api.arena
Modifier and TypeMethodDescriptionArenaBuilder.finish()
Takes all given parameters and constructs the arenaArenaVotingHandler.getArena()
Get the arena this handler is for.QueuedCloningArena.getArena()
Gets the arena that will be cloned in the future.@Nullable Arena
Get the choice of a player.@Nullable Arena
Arena.getCloneParent()
Gets the arena from which this arena has been cloned from.Arena[]
Arena.getClones()
Gets all arenas that were cloned using this arena (basically the child arenas).@Nullable Arena
Arena.getParticipatingVotingPool()
Returns the voting arena in which this arena is in the pool of.Modifier and TypeMethodDescriptionArenaVotingHandler.getActivePool()
Get the pool of arenas that are currently actively being voted for.QueuedCloningArena.getCallback()
Deprecated.QueuedCloningArena.getCallbacks()
Gets all callbacks that are being called once the cloning has been finished.ArenaCloningManager.getClonedArenas()
Gets all existing arenas that have been cloned.ArenaCloningManager.getQueue()
Gets all arenas that are enqueued for the cloning process.ArenaVotingHandler.getTotalPool()
Get the pool of theoretical arenas that may be voted for.Modifier and TypeMethodDescriptiondefault boolean
ArenaCloningManager.addToQueue
(Arena arena) Adds an arena to the queue.default boolean
ArenaCloningManager.addToQueue
(Arena arena, boolean ignoreLimits) Adds an arena to the queue.default boolean
ArenaCloningManager.addToQueue
(Arena arena, boolean ignoreLimits, @Nullable Consumer<Optional<Arena>> callback) Adds an arena to the queue.@Nullable Message
AddPlayerIssue.getHintMessage
(Arena arena) Returns the message that will be displayed to the player.@Nullable Collection
<Player> Get all the players who are voting for an arena.boolean
ArenaCloningManager.removeFromQueue
(Arena arena) Removes a single instance of an arena from the queue.boolean
Set the choice of a player.Modifier and TypeMethodDescriptionvoid
QueuedCloningArena.addCallback
(Consumer<Optional<Arena>> callback) Adds a callback that will be called once the cloning has been finished.default boolean
ArenaCloningManager.addToQueue
(Arena arena, boolean ignoreLimits, @Nullable Consumer<Optional<Arena>> callback) Adds an arena to the queue.ModifierConstructorDescriptionQueuedCloningArena
(Arena arena) QueuedCloningArena
(Arena arena, @Nullable Integer playersPerTeam, boolean ignoreLimits, @Nullable Consumer<Optional<Arena>> callback) -
Uses of Arena in de.marcely.bedwars.api.arena.picker
Modifier and TypeMethodDescription@Nullable Arena
ArenaPicker.processLocal()
Filters out all local arenas that do not match the conditions and gets the arena that matches the arena.@Nullable Arena
ArenaPicker.processLocal
(Collection<Arena> arenas) Filters out all local arenas that do not match the conditions and gets the arena that matches the arena.Modifier and TypeMethodDescriptionArenaPickerAPI.getArenasByCondition
(String string) Parses the given condition and returns all arenas for which the condition applies to.Modifier and TypeMethodDescription@Nullable Arena
ArenaPicker.processLocal
(Collection<Arena> arenas) Filters out all local arenas that do not match the conditions and gets the arena that matches the arena. -
Uses of Arena in de.marcely.bedwars.api.arena.picker.condition
Modifier and TypeMethodDescriptionabstract boolean
Checks whether the given arena fullfills the conditions or not.boolean
boolean
Modifier and TypeMethodDescriptionfinal void
ArenaCondition.filterLocalArenas
(Iterable<Arena> arenas) Filters out all arenas that do not match the given condition. -
Uses of Arena in de.marcely.bedwars.api.arena.picker.condition.variable
-
Uses of Arena in de.marcely.bedwars.api.event.arena
Modifier and TypeMethodDescriptionArenaEvent.getArena()
Returns theArena
that is involved in this event.ArenaLobbyCountdownCancelEvent.getArena()
ArenaLobbyCountdownStartEvent.getArena()
ArenaPropertyChangeEvent.getArena()
ArenaRenameEvent.getArena()
ArenaVotingPoolUpdateEvent.getArena()
SpawnerDropEvent.getArena()
Modifier and TypeMethodDescriptionArenaVotingPoolUpdateEvent.getPool()
Get the new voting pool of the arena.ArenaVotingPoolUpdateEvent.getPotentialPool()
Returns all arenas that are potential choices for the voting pool.Modifier and TypeMethodDescriptionvoid
Set the new voting pool of the arena.ModifierConstructorDescriptionArenaBedBreakEvent
(Arena arena, @Nullable Player player, String altDisplayName, Team team, Location bedLocation, BedDestructionInfo.Cause cause, ArenaBedBreakEvent.Result result, boolean playSound, boolean sendTitle, boolean sendMessage, Function<Player, Message> messageFunction) ArenaCreateEvent
(Arena arena, @Nullable CommandSender sender) ArenaDeleteEvent
(Arena arena, @Nullable CommandSenderWrapper sender) ArenaEnableEvent
(Arena arena, Set<ArenaIssuesCheckEvent.Issue> issues, @Nullable CommandSenderWrapper sender) ArenaIssuesCheckEvent
(Arena arena, Set<ArenaIssuesCheckEvent.Issue> issues, @Nullable CommandSenderWrapper sender) ArenaLobbyCountdownStartEvent
(Arena arena, Duration duration) ArenaOutOfTimeEvent
(Arena arena) ArenaPreparingStartEvent
(Arena arena) ArenaPropertyChangeEvent
(Arena arena, ArenaPropertyChangeEvent.Property property) ArenaRegenerationStartEvent
(Arena arena, @Nullable CommandSenderWrapper sender, ArenaRegenerationStartEvent.Result result) ArenaRegenerationStopEvent
(Arena arena, @Nullable CommandSenderWrapper sender) ArenaRenameEvent
(Arena arena, String oldName, String newName) ArenaStatusChangeEvent
(Arena arena, ArenaStatus before, ArenaStatus newStatus) ArenaUnloadEvent
(Arena arena) ArenaVotingPoolUpdateEvent
(Arena arena, int maxPoolSize, List<Arena> potentialPool, List<Arena> pool) RoundEndEvent
(Arena arena, @Nullable Team winnerTeam, Collection<Player> onlineWinners, Collection<QuitPlayerMemory> offlineWinners, Collection<Player> onlineLosers, Collection<QuitPlayerMemory> offlineLosers) RoundEndEvent
(Arena arena, @Nullable Team winnerTeam, Map<Player, Team> onlinePlayers, Collection<QuitPlayerMemory> offlinePlayers) RoundStartEvent
(Arena arena, boolean givingItems) TeamEliminateEvent
(Arena arena, Team team, Player causingPlayer, Player lastPlayer, boolean causesEnd) -
Uses of Arena in de.marcely.bedwars.api.event.player
Modifier and TypeMethodDescription@Nullable Arena
PlayerBuyInShopEvent.getArena()
Returns the arena in which the player is playing.PlayerBuyUpgradeEvent.getArena()
Returns the arena in which the player is playing.@Nullable Arena
PlayerCloseArenaEditorInSetupGUI.getArena()
Returns the localArena
that is involved in this event.PlayerIngameDeathEvent.getArena()
Returns the arena in which the player has died.PlayerModifyBlockPermissionEvent.getArena()
PlayerOpenArenaChestEvent.getArena()
Returns the Arena in which the chest is located@Nullable Arena
PlayerOpenArenaEditorInSetupGUI.getArena()
Returns the localArena
that is involved in this event.@Nullable Arena
PlayerOpenShopEvent.getArena()
Returns the arena (of the player) in which the shop was opened.@Nullable Arena
PlayerOpenUpgradeShopEvent.getArena()
Returns the arena in which the shop was opened.@Nullable Arena
PlayerShopProductGivingDetermineEvent.getArena()
Get the arena the player is in.PlayerTriggerUpgradeEvent.getArena()
Returns the arena in which the trap was triggered.PlayerUseSpecialItemEvent.getArena()
Returns the arena in which the player has used the item.PlayerUseSpecialItemFireballEvent.getArena()
SpectatorItemUseEvent.getArena()
SpectatorJoinArenaEvent.getArena()
Returns the arena to which the player wants to join.SpectatorQuitArenaEvent.getArena()
Returns the arena that he left.@Nullable Arena
PlayerArenaVoteEvent.getNewChoice()
Get the new choice of the player.@Nullable Arena
PlayerArenaVoteEvent.getOldChoice()
Get the previous choice of the player.Modifier and TypeMethodDescriptionvoid
PlayerDeathInventoryDropEvent.Handler.execute
(Player player, Arena arena, @Nullable Player killer, List<ItemStack> droppedItems, AtomicInteger droppedExp) ModifierConstructorDescriptionPlayerAddBedEvent
(Player player, Arena arena, Team team, Location location) PlayerArenaVoteEvent
(Player player, Arena arena, @Nullable Arena oldChoice, @Nullable Arena newChoice) PlayerBuyInShopEvent
(Player player, Arena arena, ShopItem item, @Nullable ShopItem clonedItem, ShopOpenCause openCause, boolean shiftClick, @Nullable Integer targetInvSlot, int multiplier, List<PlayerBuyInShopEvent.Problem> problems, boolean giveProducts, boolean takePayments) PlayerBuyUpgradeEvent
(Player player, Arena arena, Team team, UpgradeLevel level, List<PlayerBuyUpgradeEvent.Problem> problems, boolean broadcastingMessage, boolean broadcastingSound, boolean doingUpgrade, boolean takePayments) PlayerDeathInventoryDropEvent
(Player player, Arena arena) PlayerIngameDeathEvent
(PlayerDeathEvent bukkitEvent, Arena arena, boolean fatalDeath, Message deathMessage, Set<Player> deathMessageTargets, int deathSpectateDuration) PlayerIngameRespawnEvent
(Player player, Arena arena, boolean givingItems, boolean givingEffects) PlayerJoinArenaEvent
(Player player, Arena arena, AddPlayerCause cause, Team team, Set<AddPlayerIssue> issues) PlayerKillPlayerEvent
(PlayerDeathEvent bukkitEvent, Arena arena, boolean fatalDeath, Message deathMessage, Set<Player> deathMessageTargets, int deathSpectateDuration, Player killer, PlayerDamageInfo damageInfo) PlayerModifyBlockPermissionEvent
(Player player, Arena arena, Block block, @Nullable BlockEvent bukkitEvent) PlayerOpenArenaChestEvent
(Player player, Arena arena, Team team, Inventory inventory, Block chestBlock, boolean teamChest) PlayerOpenShopEvent
(Player player, @Nullable Arena arena, ShopLayout layout, ShopOpenCause cause, @Nullable ShopPage page, @Nullable Object layoutData) PlayerOpenUpgradeShopEvent
(Player player, @Nullable Arena arena, Team team, UpgradeShopLayout layout, UpgradeShopOpenCause cause, @Nullable Object layoutData) PlayerPickupDropEvent
(Player who, Arena arena, DropType dropType, Item item, boolean fromSpawner) PlayerQuitArenaEvent
(Player player, Arena arena, KickReason reason, @Nullable Team team, @Nullable QuitPlayerMemory memory) PlayerRejoinArenaEvent
(Player player, Arena arena, @Nullable QuitPlayerMemory memory, Set<RejoinPlayerIssue> issues) PlayerShopProductGivingDetermineEvent
(Player player, @Nullable Team team, @Nullable Arena arena, int multiplier, ShopProduct product, ItemStack[] givingItems, PlayerShopProductGivingDetermineEvent.ExecutableCommand[] executingCommands, @Nullable CustomDropTypeHandler callingDropTypeHandler) PlayerTeamChangeEvent
(Player player, Arena arena, Team oldTeam, Team newTeam) PlayerTeleportOutOfArenaEvent
(Player player, Arena arena, Location from, Location to, PlayerTeleportEvent.TeleportCause cause) PlayerTriggerUpgradeEvent
(Player player, Arena arena, Team team, UpgradeLevel upgradeLevel, boolean broadcastingMessage, boolean broadcastingTitle, boolean broadcastingSound, boolean takingFromQueue) PlayerUseLobbyItemEvent
(Player player, LobbyItem lobbyItem, Arena arena, ItemStack item) PlayerUseSpecialItemEvent
(Player player, SpecialItem specialItem, Arena arena, ItemStack item, boolean isOffHand, @Nullable Block clickedBlock, @Nullable BlockFace clickedBlockFace, boolean takeItem) -
Uses of Arena in de.marcely.bedwars.api.event.remote
Modifier and TypeMethodDescriptionRemotePlayerPreJoinLocalArenaEvent.getArena()
The arena that he is about to join.ModifierConstructorDescriptionRemotePlayerPreJoinLocalArenaEvent
(RemotePlayer player, Arena arena) -
Uses of Arena in de.marcely.bedwars.api.game.lobby
Modifier and TypeMethodDescriptionabstract void
Handles the execution of the item.abstract boolean
Whether the item shall be shown and usable at the given circumstances. -
Uses of Arena in de.marcely.bedwars.api.game.scoreboard
Modifier and TypeMethodDescriptionfinal boolean
ScoreboardHandler.display
(Player player, Arena arena, ScoreboardType type) Displays the scoreboard to the player.protected abstract boolean
ScoreboardHandler.display0
(Player player, Arena arena, ScoreboardType type) Displays the scoreboard to the player.void
Similar toScoreboardHandler.hide(Player)
, but does that for all players (including spectators) inside an arenafinal void
ScoreboardHandler.update
(ScoreboardUpdateCause cause, Arena arena, Object data) Updates a specific part of the scoreboardprotected abstract void
ScoreboardHandler.update0
(ScoreboardUpdateCause cause, Arena arena, Object data) Updates a specific part of the scoreboard -
Uses of Arena in de.marcely.bedwars.api.game.shop
Modifier and TypeMethodDescriptionShopPage.getVisiblePageItems
(@Nullable Arena arena, @Nullable Player player) Returns the items that are inside the page for a specific player. -
Uses of Arena in de.marcely.bedwars.api.game.shop.layout
-
Uses of Arena in de.marcely.bedwars.api.game.shop.product
Modifier and TypeMethodDescriptionItemShopProduct.getGivingItems
(Player player, @Nullable Team team, @Nullable Arena arena, int multiplier) Returns an array of all the items that are being given on a purchase.ShopProduct.getGivingItems
(Player player, @Nullable Team team, @Nullable Arena arena, int multiplier) Gets the ItemStacks the player will actually receive.void
Gives the product to a player.void
ShopProduct.give
(Player player, @Nullable Team team, @Nullable Arena arena, int multiplier, @Nullable Integer targetInvSlot) Gives the product to a player. -
Uses of Arena in de.marcely.bedwars.api.game.spawner
Modifier and TypeMethodDescriptionSpawner.getArena()
Returns the arena in which the spawner was added.Modifier and TypeMethodDescriptiondouble
DropType.getDropDuration
(Arena arena) Deprecated.Drop durations may now be dynamic. -
Uses of Arena in de.marcely.bedwars.api.game.spectator
-
Uses of Arena in de.marcely.bedwars.api.game.upgrade
Modifier and TypeMethodDescriptionUpgradeState.getArena()
Returns the arena belonging to this state.Modifier and TypeMethodDescriptionint
UpgradeLevel.getPriceAmount
(Arena arena, Team team) Returns the actual price that a team has to pay for this upgrade.Returns the current state of a player that indicates whether he is able to upgrade at this given moment. -
Uses of Arena in de.marcely.bedwars.api.game.upgrade.layout
-
Uses of Arena in de.marcely.bedwars.api.hook
Modifier and TypeMethodDescriptionCloudSystemHook.ServerInfoDto.getArena()
Get the arena that shall be displayed.ModifierConstructorDescriptionServerInfoDto
(Arena arena, ArenaStatus status, int activePlayers, int maxPlayers, @Nullable String extra) -
Uses of Arena in de.marcely.bedwars.api.remote
-
Uses of Arena in de.marcely.bedwars.api.unsafe
Modifier and TypeMethodDescriptionabstract void
BedwarsAPILayer.setPersistentStorage
(Arena arena, ArenaPersistentStorage storage) Deprecated. -
Uses of Arena in de.marcely.bedwars.api.world.block
QueuedCloningArena.getCallbacks()
instead.