Uses of Class
de.marcely.bedwars.api.arena.AddPlayerIssue
Packages that use AddPlayerIssue
Package
Description
-
Uses of AddPlayerIssue in de.marcely.bedwars.api.arena
Fields in de.marcely.bedwars.api.arena declared as AddPlayerIssueModifier 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.Methods in de.marcely.bedwars.api.arena that return AddPlayerIssueModifier 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.Methods in de.marcely.bedwars.api.arena that return types with arguments of type AddPlayerIssueModifier 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
Methods in de.marcely.bedwars.api.event.player that return types with arguments of type AddPlayerIssueModifier and TypeMethodDescriptionPlayerJoinArenaEvent.getIssues()
Returns all issues there are for the player to enter the arena.Methods in de.marcely.bedwars.api.event.player with parameters of type AddPlayerIssueModifier 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.Constructor parameters in de.marcely.bedwars.api.event.player with type arguments of type AddPlayerIssueModifierConstructorDescriptionPlayerJoinArenaEvent
(Player player, Arena arena, AddPlayerCause cause, Team team, Set<AddPlayerIssue> issues) -
Uses of AddPlayerIssue in de.marcely.bedwars.api.event.remote
Methods in de.marcely.bedwars.api.event.remote that return AddPlayerIssueModifier and TypeMethodDescription@Nullable AddPlayerIssue
RemotePlayerPreJoinLocalArenaEvent.getIssue()
Get the issue that may prevent the player from joining the arena.Methods in de.marcely.bedwars.api.event.remote with parameters of type AddPlayerIssueModifier 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
Methods in de.marcely.bedwars.api.remote that return AddPlayerIssueModifier and TypeMethodDescription@Nullable AddPlayerIssue
RemotePlayerAddResult.getPlayerIssue
(UUID uuid) Gets the issue that possibly caused the player to not join the arena.Constructors in de.marcely.bedwars.api.remote with parameters of type AddPlayerIssueModifierConstructorDescriptionRemotePlayerAddResult
(AddRemotePlayerInfo info, @Nullable AddPlayerIssue issue) Constructor parameters in de.marcely.bedwars.api.remote with type arguments of type AddPlayerIssueModifierConstructorDescriptionRemotePlayerAddResult
(RemotePlayerAddResult.GeneralResult result, Map<UUID, Pair<RemotePlayerAddResult.PlayerResult, AddPlayerIssue>> players)