Uses of Class
de.marcely.bedwars.api.arena.AddPlayerIssue
Package
Description
-
Uses of AddPlayerIssue in de.marcely.bedwars.api.arena
Modifier and TypeFieldDescriptionstatic final AddPlayerIssue
AddPlayerIssue.ALREADY_INSIDE
Task failed since he's already inside an arena.static final AddPlayerIssue
AddPlayerIssue.BROKEN_LOBBY
There is no lobby we can teleport to.static final AddPlayerIssue
AddPlayerIssue.FULL
Player failed to enter since the arena is already fullstatic final AddPlayerIssue
AddPlayerIssue.LEFT_SERVER
He left the server during the join-process (e.g. if a plugin kicked him duringPlayerJoinArenaEvent
.static final AddPlayerIssue
AddPlayerIssue.NOT_BETA_USER
Beta mode is enabled and player doesn't have thePermissions.BETA_USER
permission.static final AddPlayerIssue
AddPlayerIssue.VOTING_PARTICIPATING
Arena is a part of a voting pool.Modifier and TypeMethodDescriptiondefault @Nullable AddPlayerIssue
Same asArena.addPlayer(Player, Team, AddPlayerCause)
, but player won't join any team automatically and passesAddPlayerCause.PLUGIN
as the reason for the player joining the arena.default @Nullable AddPlayerIssue
Same asArena.addPlayer(Player, Team, AddPlayerCause)
, passesAddPlayerCause.PLUGIN
as the reason for the player joining the arena.@Nullable AddPlayerIssue
Arena.addPlayer
(Player player, @Nullable Team team, AddPlayerCause cause) Tries to add the player to the arena.static AddPlayerIssue
Constructs a newAddPlayerIssue
with the given id and hint message.static AddPlayerIssue
Constructs a newAddPlayerIssue
with the given id and hint message.Modifier and TypeMethodDescriptionstatic Collection
<AddPlayerIssue> AddPlayerIssue.getDefaults()
Returns a collection of all default issues that are present with this class. -
Uses of AddPlayerIssue in de.marcely.bedwars.api.event.player
Modifier and TypeMethodDescriptionPlayerJoinArenaEvent.getIssues()
Returns all issues there are for the player to enter the arena.Modifier and TypeMethodDescriptionboolean
PlayerJoinArenaEvent.addIssue
(AddPlayerIssue issue) Adds an issue which causes the player to not be able to enter the arena.boolean
PlayerJoinArenaEvent.removeIssue
(AddPlayerIssue issue) Removes an issue.ModifierConstructorDescriptionPlayerJoinArenaEvent
(Player player, Arena arena, AddPlayerCause cause, Team team, Set<AddPlayerIssue> issues) -
Uses of AddPlayerIssue in de.marcely.bedwars.api.event.remote
Modifier and TypeMethodDescription@Nullable AddPlayerIssue
RemotePlayerPreJoinLocalArenaEvent.getIssue()
Get the issue that may prevent the player from joining the arena.Modifier and TypeMethodDescriptionvoid
RemotePlayerPreJoinLocalArenaEvent.setIssue
(@Nullable AddPlayerIssue issue) Add an issue that may prevent the player from joining the arena. -
Uses of AddPlayerIssue in de.marcely.bedwars.api.remote
Modifier and TypeMethodDescription@Nullable AddPlayerIssue
RemotePlayerAddResult.getPlayerIssue
(UUID uuid) Gets the issue that possibly caused the player to not join the arena.ModifierConstructorDescriptionRemotePlayerAddResult
(AddRemotePlayerInfo info, @Nullable AddPlayerIssue issue) ModifierConstructorDescriptionRemotePlayerAddResult
(RemotePlayerAddResult.GeneralResult result, Map<UUID, Pair<RemotePlayerAddResult.PlayerResult, AddPlayerIssue>> players)