Uses of Interface
com.andrei1058.bedwars.api.arena.IArena
Packages that use IArena
Package
Description
-
Uses of IArena in com.andrei1058.bedwars.api
Methods in com.andrei1058.bedwars.api that return IArenaModifier and TypeMethodDescriptionBedWars.ArenaUtil.getArenaByIdentifier
(String worldName) BedWars.ArenaUtil.getArenaByName
(String worldName) Get an arena by world nameBedWars.ArenaUtil.getArenaByPlayer
(org.bukkit.entity.Player player) Get an arena by a player.Methods in com.andrei1058.bedwars.api that return types with arguments of type IArenaModifier and TypeMethodDescriptionBedWars.ArenaUtil.getArenas()
BedWars.ArenaUtil.getEnableQueue()
Arena enable queue.Methods in com.andrei1058.bedwars.api with parameters of type IArenaModifier and TypeMethodDescriptionvoid
BedWars.ArenaUtil.addToEnableQueue
(IArena a) Add a custom arena to the enable queue.int
BedWars.TeamUpgradesUtil.getTotalUpgradeTiers
(IArena arena) Get total tiers in team upgrades to be bought in the given arena.void
BedWars.ArenaUtil.removeArenaByPlayer
(org.bukkit.entity.Player p, IArena a) Removevoid
BedWars.ArenaUtil.removeFromEnableQueue
(IArena a) Remove an arena from the enable queue.void
BedWars.ArenaUtil.setArenaByName
(IArena arena) void
BedWars.ArenaUtil.setArenaByPlayer
(org.bukkit.entity.Player p, IArena arena) Set an arena by player if the player is in this arena. -
Uses of IArena in com.andrei1058.bedwars.api.arena.generator
Methods in com.andrei1058.bedwars.api.arena.generator that return IArena -
Uses of IArena in com.andrei1058.bedwars.api.arena.shop
Methods in com.andrei1058.bedwars.api.arena.shop that return IArenaMethods in com.andrei1058.bedwars.api.arena.shop with parameters of type IArenaModifier and TypeMethodDescriptionstatic void
ShopHolo.clearForArena
(IArena a) void
Give content to a playerConstructors in com.andrei1058.bedwars.api.arena.shop with parameters of type IArena -
Uses of IArena in com.andrei1058.bedwars.api.arena.stats
Methods in com.andrei1058.bedwars.api.arena.stats that return IArena -
Uses of IArena in com.andrei1058.bedwars.api.arena.team
Methods in com.andrei1058.bedwars.api.arena.team that return IArenaMethods in com.andrei1058.bedwars.api.arena.team with parameters of type IArena -
Uses of IArena in com.andrei1058.bedwars.api.events.gameplay
Methods in com.andrei1058.bedwars.api.events.gameplay that return IArenaModifier and TypeMethodDescriptionEggBridgeBuildEvent.getArena()
Get the arenaEggBridgeThrowEvent.getArena()
Get arenaGameEndEvent.getArena()
Get the arenaGameStateChangeEvent.getArena()
NextEventChangeEvent.getArena()
Get the arena where happened.TeamAssignEvent.getArena()
Get the arenaConstructors in com.andrei1058.bedwars.api.events.gameplay with parameters of type IArenaModifierConstructorDescriptionEggBridgeBuildEvent
(TeamColor teamColor, IArena arena, org.bukkit.block.Block block) Called when the eggBridge is building another blockEggBridgeThrowEvent
(org.bukkit.entity.Player player, IArena arena) Called when a player throw an egg bridge and it starts buildingGameEndEvent
(IArena arena, List<UUID> winners, List<UUID> losers, ITeam teamWinner, List<UUID> aliveWinners) Triggered when the game ends.GameStateChangeEvent
(IArena a, GameState oldState, GameState newState) Called when the status of the game is changed.NextEventChangeEvent
(IArena arena, NextEvent newEvent, NextEvent oldEvent) TeamAssignEvent
(org.bukkit.entity.Player player, ITeam team, IArena arena) Called for each player when the waiting countdown == 0 You can cancel each team assign event in order to manage them yourself but make sure to set BedWarsTeam#setBedDestroyed(false) if teams are marked as eliminated when they are not, and use BedWarsTeam#firstSpawn(p) to spawn them. -
Uses of IArena in com.andrei1058.bedwars.api.events.player
Methods in com.andrei1058.bedwars.api.events.player that return IArenaModifier and TypeMethodDescriptionPlayerBedBreakEvent.getArena()
PlayerBedBugSpawnEvent.getArena()
PlayerDreamDefenderSpawnEvent.getArena()
PlayerFirstSpawnEvent.getArena()
Get the arenaPlayerGeneratorCollectEvent.getArena()
PlayerInvisibilityPotionEvent.getArena()
PlayerJoinArenaEvent.getArena()
Get arenaPlayerKillEvent.getArena()
PlayerLeaveArenaEvent.getArena()
Get the arenaPlayerReJoinEvent.getArena()
Get arenaPlayerReSpawnEvent.getArena()
Get the arenaConstructors in com.andrei1058.bedwars.api.events.player with parameters of type IArenaModifierConstructorDescriptionPlayerBedBreakEvent
(org.bukkit.entity.Player p, ITeam playerTeam, ITeam victimTeam, IArena arena, Function<org.bukkit.entity.Player, String> message, Function<org.bukkit.entity.Player, String> title, Function<org.bukkit.entity.Player, String> subTitle) Called when a bed gets destroyed.PlayerBedBugSpawnEvent
(org.bukkit.entity.Player p, ITeam playerTeam, IArena arena) Called when a bed gets destroyed.PlayerDreamDefenderSpawnEvent
(org.bukkit.entity.Player p, ITeam playerTeam, IArena arena) Called when a bed gets destroyed.PlayerFirstSpawnEvent
(org.bukkit.entity.Player player, IArena arena, ITeam team) Called when a member is spawned for the first time on his islandPlayerGeneratorCollectEvent
(org.bukkit.entity.Player player, org.bukkit.entity.Item item, IArena arena) Triggered when players collect from generators.PlayerInvisibilityPotionEvent
(PlayerInvisibilityPotionEvent.Type type, ITeam team, org.bukkit.entity.Player player, IArena arena) This event is called when invisibility potions are managed by Bed-Wars.PlayerJoinArenaEvent
(IArena arena, org.bukkit.entity.Player p, boolean spectator) This event is called when a player joins the arena as a player or spectator.PlayerKillEvent
(@NotNull IArena arena, @NotNull org.bukkit.entity.Player victim, @Nullable ITeam victimTeam, @Nullable org.bukkit.entity.Player killer, @Nullable ITeam killerTeam, @Nullable Function<org.bukkit.entity.Player, String> message, @NotNull PlayerKillEvent.PlayerKillCause cause) PlayerKillEvent
(@NotNull IArena arena, org.bukkit.entity.Player victim, org.bukkit.entity.Player killer, Function<org.bukkit.entity.Player, String> message, PlayerKillEvent.PlayerKillCause cause) Deprecated.PlayerLeaveArenaEvent
(org.bukkit.entity.Player p, IArena arena) Deprecated.PlayerLeaveArenaEvent
(org.bukkit.entity.Player p, IArena arena, @Nullable org.bukkit.entity.Player lastDamager) Called when a player leaves the arena.PlayerReJoinEvent
(org.bukkit.entity.Player player, IArena arena, int respawnTime) Called when a player re-joins the arena.PlayerReSpawnEvent
(org.bukkit.entity.Player player, IArena arena, ITeam team) Called when a member is re-spawned on his island This is called about 5 seconds after PlayerRespawnEvent from Bukkit After the respawn countdown. -
Uses of IArena in com.andrei1058.bedwars.api.events.server
Methods in com.andrei1058.bedwars.api.events.server that return IArenaConstructors in com.andrei1058.bedwars.api.events.server with parameters of type IArenaModifierConstructorDescriptionCalled when an arena is enabled successfully. -
Uses of IArena in com.andrei1058.bedwars.api.events.shop
Methods in com.andrei1058.bedwars.api.events.shop that return IArenaConstructors in com.andrei1058.bedwars.api.events.shop with parameters of type IArenaModifierConstructorDescriptionShopBuyEvent
(org.bukkit.entity.Player buyer, IArena arena, ICategoryContent categoryContent) Triggered when a player buys from the shopShopOpenEvent
(org.bukkit.entity.Player player, IArena arena) Triggered when the shop NPS is clicked. -
Uses of IArena in com.andrei1058.bedwars.api.events.spectator
Methods in com.andrei1058.bedwars.api.events.spectator that return IArenaModifier and TypeMethodDescriptionSpectatorFirstPersonEnterEvent.getArena()
Get the arenaSpectatorFirstPersonLeaveEvent.getArena()
Get the arenaSpectatorTeleportToPlayerEvent.getArena()
Get the arenaConstructors in com.andrei1058.bedwars.api.events.spectator with parameters of type IArenaModifierConstructorDescriptionSpectatorFirstPersonEnterEvent
(@NotNull org.bukkit.entity.Player spectator, @NotNull org.bukkit.entity.Player target, IArena arena, Function<org.bukkit.entity.Player, String> title, Function<org.bukkit.entity.Player, String> subtitle) Called when a spectator enters the first person spectating system.SpectatorFirstPersonLeaveEvent
(org.bukkit.entity.Player spectator, IArena arena, Function<org.bukkit.entity.Player, String> title, Function<org.bukkit.entity.Player, String> subtitle) SpectatorTeleportToPlayerEvent
(@NotNull org.bukkit.entity.Player spectator, @NotNull org.bukkit.entity.Player target, IArena arena) Called when the spectator uses the player selector to teleport and spectate the selected player. -
Uses of IArena in com.andrei1058.bedwars.api.events.team
Methods in com.andrei1058.bedwars.api.events.team that return IArenaConstructors in com.andrei1058.bedwars.api.events.team with parameters of type IArenaModifierConstructorDescriptionTeamEliminatedEvent
(IArena arena, ITeam team) Called when all player on a team get killed and Bed is broken. -
Uses of IArena in com.andrei1058.bedwars.api.events.upgrades
Methods in com.andrei1058.bedwars.api.events.upgrades that return IArena -
Uses of IArena in com.andrei1058.bedwars.api.server
Methods in com.andrei1058.bedwars.api.server with parameters of type IArenaModifier and TypeMethodDescriptionabstract void
Unload the world.abstract void
Load the world.void
RestoreAdapter.onLobbyRemoval
(@NotNull IArena a) Remove lobby blocks.abstract void
Restore the world.abstract void
VersionSupport.placeLadder
(org.bukkit.block.Block b, int x, int y, int z, IArena a, int ladderdata) abstract void
VersionSupport.placeTowerBlocks
(org.bukkit.block.Block b, IArena a, TeamColor color, int x, int y, int z) abstract void
VersionSupport.sendPlayerSpawnPackets
(org.bukkit.entity.Player player, IArena arena) This will send the player spawn packet after a player re-spawn.abstract void
VersionSupport.setCollide
(org.bukkit.entity.Player p, IArena a, boolean value) Disable collisions in 1.9+abstract void
VersionSupport.spawnShop
(org.bukkit.Location loc, String name1, List<org.bukkit.entity.Player> players, IArena arena) Spawn shop NPC -
Uses of IArena in com.andrei1058.bedwars.api.sidebar
Methods in com.andrei1058.bedwars.api.sidebar that return IArenaModifier and TypeMethodDescription@Nullable IArena
ISidebar.getArena()
Coincides with the arena where the player is on.Methods in com.andrei1058.bedwars.api.sidebar with parameters of type IArenaModifier and TypeMethodDescriptionvoid
ISidebarService.giveSidebar
(@NotNull org.bukkit.entity.Player player, @Nullable IArena arena, boolean delay) Send player scoreboard based on conditions.void
ISidebarService.refreshPlaceholders
(IArena arena) Refresh placeholders for sidebars in a given arena;void
Set sidebar content. -
Uses of IArena in com.andrei1058.bedwars.api.tasks
Methods in com.andrei1058.bedwars.api.tasks that return IArena -
Uses of IArena in com.andrei1058.bedwars.api.util
Methods in com.andrei1058.bedwars.api.util with parameters of type IArenaModifier and TypeMethodDescriptionboolean
BlastProtectionUtil.isProtected
(@NotNull IArena arena, org.bukkit.Location pov, @NotNull org.bukkit.block.Block block, double step) Check if block is protected by blast-proof glass or an unbreakable block from a point of view