Uses of Interface
de.marcely.bedwars.api.arena.Arena
Packages that use Arena
Package
Description
The root package of the MBedwars API
Contains classes that are related to the
Arena.Tools that can be used to filter out arenas based on certain criteria.
Classes used to specify the criteria for an arena used by ArenaPickers.
Classes related to handling variables for different arena conditions
Events related to an
Arena.Events related to
Player actions, or changes to player properties.Events fired when events occur on a MBedwars
RemoteServer.Classes relevant to the waiting lobby of an
Arena.Classes relevant to manipulating a player's scoreboard.
Classes relevant to the in game shop.
Classes relevant to implement different
ShopLayouts for the in game shop.Classes relevant to each
ShopProduct in the in game shop.Classes related to the in game
Spawners.Classes dedicated to players Spectating in MBedwars.
Classes relevant to the in game team upgrade shop.
Classes relevant to implement different
UpgradeShopLayouts for the in game shop.Classes dedicated to managing 3rd party plugins MBedwars can hook into for additional functionality.
Classes used to manage other servers running MBedwars remotely.
Interfaces used to manage custom blocks.
-
Uses of Arena in de.marcely.bedwars.api
Methods in de.marcely.bedwars.api that return ArenaModifier and TypeMethodDescription@Nullable ArenaGameAPI.getArenaByExactName(String name) Looks for an arena with exactly that name.@Nullable ArenaGameAPI.getArenaByName(String name) Looks for an arena with that name and optionally parses it as an arena picker.@Nullable ArenaGameAPI.getArenaByPlayer(Player player) Looks for an arena with that player inside the arena.@Nullable ArenaGameAPI.getArenaBySpectator(Player player) Looks for an arena with that player spectating the arena.Methods in de.marcely.bedwars.api that return types with arguments of type ArenaModifier 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.Methods in de.marcely.bedwars.api with parameters of type ArenaModifier and TypeMethodDescription@Nullable LobbyItemGameAPI.getVisibleLobbyItem(int slot, Player player, Arena arena) Returns the currently visible item at a specific slot.booleanGameAPI.openUpgradeShop(Player player, Arena arena, Team team, UpgradeShopOpenCause cause) Opens the upgrade shop for a player.voidGameAPI.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
Methods in de.marcely.bedwars.api.arena that return ArenaModifier 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 ArenaGet the choice of a player.@Nullable ArenaArena.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 ArenaArena.getParticipatingVotingPool()Returns the voting arena in which this arena is in the pool of.Methods in de.marcely.bedwars.api.arena that return types with arguments of type ArenaModifier and TypeMethodDescriptionArenaVotingHandler.getActivePool()Get the pool of arenas that are currently actively being voted for.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.Methods in de.marcely.bedwars.api.arena with parameters of type ArenaModifier and TypeMethodDescriptiondefault booleanArenaCloningManager.addToQueue(Arena arena) Adds an arena to the queue.default booleanArenaCloningManager.addToQueue(Arena arena, boolean ignoreLimits) Adds an arena to the queue.default booleanArenaCloningManager.addToQueue(Arena arena, boolean ignoreLimits, @Nullable Consumer<Optional<Arena>> callback) Adds an arena to the queue.@Nullable MessageAddPlayerIssue.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.booleanArenaCloningManager.removeFromQueue(Arena arena) Removes a single instance of an arena from the queue.booleanSet the choice of a player.Method parameters in de.marcely.bedwars.api.arena with type arguments of type ArenaModifier and TypeMethodDescriptionvoidQueuedCloningArena.addCallback(Consumer<Optional<Arena>> callback) Adds a callback that will be called once the cloning has been finished.default booleanArenaCloningManager.addToQueue(Arena arena, boolean ignoreLimits, @Nullable Consumer<Optional<Arena>> callback) Adds an arena to the queue.Constructors in de.marcely.bedwars.api.arena with parameters of type ArenaModifierConstructorDescriptionQueuedCloningArena(Arena arena) QueuedCloningArena(Arena arena, @Nullable Integer playersPerTeam, boolean ignoreLimits, @Nullable Consumer<Optional<Arena>> callback) Constructor parameters in de.marcely.bedwars.api.arena with type arguments of type Arena -
Uses of Arena in de.marcely.bedwars.api.arena.picker
Methods in de.marcely.bedwars.api.arena.picker that return ArenaModifier and TypeMethodDescription@Nullable ArenaArenaPicker.processLocal()Filters out all local arenas that do not match the conditions and gets the arena that matches the arena.@Nullable ArenaArenaPicker.processLocal(Collection<Arena> arenas) Filters out all local arenas that do not match the conditions and gets the arena that matches the arena.Methods in de.marcely.bedwars.api.arena.picker that return types with arguments of type ArenaModifier and TypeMethodDescriptionArenaPickerAPI.getArenasByCondition(String string) Parses the given condition and returns all arenas for which the condition applies to.Method parameters in de.marcely.bedwars.api.arena.picker with type arguments of type ArenaModifier and TypeMethodDescription@Nullable ArenaArenaPicker.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
Methods in de.marcely.bedwars.api.arena.picker.condition with parameters of type ArenaModifier and TypeMethodDescriptionabstract booleanChecks whether the given arena fullfills the conditions or not.booleanbooleanMethod parameters in de.marcely.bedwars.api.arena.picker.condition with type arguments of type ArenaModifier and TypeMethodDescriptionfinal voidArenaCondition.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
Methods in de.marcely.bedwars.api.arena.picker.condition.variable with parameters of type Arena -
Uses of Arena in de.marcely.bedwars.api.event.arena
Methods in de.marcely.bedwars.api.event.arena that return ArenaModifier and TypeMethodDescriptionArenaEvent.getArena()Returns theArenathat is involved in this event.ArenaLobbyCountdownCancelEvent.getArena()ArenaLobbyCountdownStartEvent.getArena()ArenaPropertyChangeEvent.getArena()ArenaRenameEvent.getArena()ArenaVotingPoolUpdateEvent.getArena()ArenaWinningTeamDetermineEvent.getArena()SpawnerDropEvent.getArena()Methods in de.marcely.bedwars.api.event.arena that return types with arguments of type ArenaModifier and TypeMethodDescriptionArenaVotingPoolUpdateEvent.getPool()Get the new voting pool of the arena.ArenaVotingPoolUpdateEvent.getPotentialPool()Returns all arenas that are potential choices for the voting pool.Method parameters in de.marcely.bedwars.api.event.arena with type arguments of type ArenaModifier and TypeMethodDescriptionvoidSet the new voting pool of the arena.Constructors in de.marcely.bedwars.api.event.arena with parameters of type ArenaModifierConstructorDescriptionArenaBedBreakEvent(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) ArenaSaveBlocksStopEvent(Arena arena, File file, Duration duration, @Nullable CommandSenderWrapper executor, boolean success) ArenaStatusChangeEvent(Arena arena, ArenaStatus before, ArenaStatus newStatus) ArenaUnloadEvent(Arena arena) ArenaVotingPoolUpdateEvent(Arena arena, int maxPoolSize, List<Arena> potentialPool, List<Arena> pool) ArenaWinningTeamDetermineEvent(Arena arena, @Nullable Team winningTeam) 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) Constructor parameters in de.marcely.bedwars.api.event.arena with type arguments of type Arena -
Uses of Arena in de.marcely.bedwars.api.event.player
Methods in de.marcely.bedwars.api.event.player that return ArenaModifier and TypeMethodDescription@Nullable ArenaPlayerBuyInShopEvent.getArena()Returns the arena in which the player is playing.PlayerBuyUpgradeEvent.getArena()Returns the arena in which the player is playing.@Nullable ArenaPlayerCloseArenaEditorInSetupGUI.getArena()Returns the localArenathat 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 ArenaPlayerOpenArenaEditorInSetupGUI.getArena()Returns the localArenathat is involved in this event.@Nullable ArenaPlayerOpenShopEvent.getArena()Returns the arena (of the player) in which the shop was opened.@Nullable ArenaPlayerOpenUpgradeShopEvent.getArena()Returns the arena in which the shop was opened.@Nullable ArenaPlayerShopProductGivingDetermineEvent.getArena()Get the arena the player is in.PlayerStopSpecialItemEvent.getArena()Returns the arena in which the player has used the item.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 ArenaPlayerArenaVoteEvent.getNewChoice()Get the new choice of the player.@Nullable ArenaPlayerArenaVoteEvent.getOldChoice()Get the previous choice of the player.Methods in de.marcely.bedwars.api.event.player with parameters of type ArenaModifier and TypeMethodDescriptionvoidPlayerDeathInventoryDropEvent.Handler.execute(Player player, Arena arena, @Nullable Player killer, List<ItemStack> droppedItems, AtomicInteger droppedExp) Constructors in de.marcely.bedwars.api.event.player with parameters of type ArenaModifierConstructorDescriptionPlayerAddBedEvent(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) PlayerIngamePostRespawnEvent(Player player, Arena arena) PlayerIngameRespawnEvent(Player player, Arena arena, boolean givingItems, boolean givingEffects, Location spawnLocation) 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, Supplier<Inventory> inventory, Block chestBlock, PlayerOpenArenaChestEvent.ChestType chestType, PlayerOpenArenaChestEvent.OpenPurpose purpose) PlayerOpenArenaChestEvent(Player player, Arena arena, Team team, Inventory inventory, Block chestBlock, PlayerOpenArenaChestEvent.ChestType chestType, PlayerOpenArenaChestEvent.OpenPurpose purpose) 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, boolean hasLeaveMessage) PlayerRejoinArenaEvent(Player player, Arena arena, RejoinPlayerCause cause, @Nullable QuitPlayerMemory memory, Set<RejoinPlayerIssue> issues) PlayerRemoveTrapEvent(Player player, Arena arena, UpgradeState upgradeState, QueuedTrap trap) PlayerShopProductGivingDetermineEvent(Player player, @Nullable Team team, @Nullable Arena arena, int multiplier, ShopProduct product, ItemStack[] givingItems, PlayerShopProductGivingDetermineEvent.ExecutableCommand[] executingCommands, @Nullable CustomDropTypeHandler callingDropTypeHandler) PlayerStopSpecialItemEvent(Player player, SpecialItem specialItem, Arena arena, SpecialItemUseSession session) PlayerTeamChangeEvent(Player player, Arena arena, Team oldTeam, Team newTeam) PlayerTeleportOutOfArenaEvent(Player player, Arena arena, Location from, Location to, PlayerTeleportEvent.TeleportCause cause) PlayerTriggerUpgradeEvent(@Nullable Player player, Arena arena, Team team, UpgradeLevel upgradeLevel) 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
Methods in de.marcely.bedwars.api.event.remote that return ArenaModifier and TypeMethodDescriptionRemotePlayerPreJoinLocalArenaEvent.getArena()The arena that he is about to join.Constructors in de.marcely.bedwars.api.event.remote with parameters of type ArenaModifierConstructorDescriptionRemotePlayerPreJoinLocalArenaEvent(RemotePlayer player, Arena arena) -
Uses of Arena in de.marcely.bedwars.api.game.lobby
Methods in de.marcely.bedwars.api.game.lobby with parameters of type ArenaModifier and TypeMethodDescriptionabstract voidHandles the execution of the item.abstract booleanWhether the item shall be shown and usable at the given circumstances. -
Uses of Arena in de.marcely.bedwars.api.game.scoreboard
Methods in de.marcely.bedwars.api.game.scoreboard with parameters of type ArenaModifier and TypeMethodDescriptionfinal booleanScoreboardHandler.display(Player player, Arena arena, ScoreboardType type) Displays the scoreboard to the player.protected abstract booleanScoreboardHandler.display0(Player player, Arena arena, ScoreboardType type) Displays the scoreboard to the player.voidSimilar toScoreboardHandler.hide(Player), but does that for all players (including spectators) inside an arenafinal voidScoreboardHandler.update(ScoreboardUpdateCause cause, Arena arena, Object data) Updates a specific part of the scoreboardprotected abstract voidScoreboardHandler.update0(ScoreboardUpdateCause cause, Arena arena, Object data) Updates a specific part of the scoreboard -
Uses of Arena in de.marcely.bedwars.api.game.shop
Methods in de.marcely.bedwars.api.game.shop with parameters of type ArenaModifier 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
Methods in de.marcely.bedwars.api.game.shop.layout that return Arena -
Uses of Arena in de.marcely.bedwars.api.game.shop.product
Methods in de.marcely.bedwars.api.game.shop.product with parameters of type ArenaModifier 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.voidGives the product to a player.voidShopProduct.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
Methods in de.marcely.bedwars.api.game.spawner that return ArenaModifier and TypeMethodDescriptionSpawner.getArena()Returns the arena in which the spawner was added.Methods in de.marcely.bedwars.api.game.spawner with parameters of type ArenaModifier and TypeMethodDescriptiondoubleDropType.getDropDuration(Arena arena) Returns the interval between the spawns in seconds for a given arena. -
Uses of Arena in de.marcely.bedwars.api.game.spectator
Methods in de.marcely.bedwars.api.game.spectator that return Arena -
Uses of Arena in de.marcely.bedwars.api.game.upgrade
Methods in de.marcely.bedwars.api.game.upgrade that return ArenaModifier and TypeMethodDescriptionUpgradeState.getArena()Returns the arena belonging to this state.Methods in de.marcely.bedwars.api.game.upgrade with parameters of type ArenaModifier and TypeMethodDescriptionintUpgradeLevel.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.booleanUpgrade.isApplicable(Arena arena) Get whether this upgrade can even be applied to the given arena -
Uses of Arena in de.marcely.bedwars.api.game.upgrade.layout
Methods in de.marcely.bedwars.api.game.upgrade.layout that return Arena -
Uses of Arena in de.marcely.bedwars.api.hook
Methods in de.marcely.bedwars.api.hook that return ArenaModifier and TypeMethodDescriptionCloudSystemHook.ServerInfoDto.getArena()Get the arena that shall be displayed.Constructors in de.marcely.bedwars.api.hook with parameters of type ArenaModifierConstructorDescriptionServerInfoDto(Arena arena, ArenaStatus status, int activePlayers, int maxPlayers, @Nullable String extra) -
Uses of Arena in de.marcely.bedwars.api.remote
Methods in de.marcely.bedwars.api.remote that return ArenaModifier and TypeMethodDescription@Nullable ArenaRemoteArena.getLocal()Gets the arena instance that is being represented by this arena.Methods in de.marcely.bedwars.api.remote with parameters of type ArenaModifier and TypeMethodDescriptionintRemoteAPI.getReservationsCount(Arena arena) Get the amount of players that have reserved a slot in the given arena.booleanRemoteAPI.hasReservation(UUID playerUUID, Arena arena) Get whether a player has reserved a slot in the given arena. -
Uses of Arena in de.marcely.bedwars.api.world.block
Methods in de.marcely.bedwars.api.world.block with parameters of type Arena