Uses of Enum
de.marcely.bedwars.api.arena.RejoinPlayerIssue
Package
Description
-
Uses of RejoinPlayerIssue in de.marcely.bedwars.api
Modifier and TypeMethodDescriptionvoid
GameAPI.rejoinPlayer
(Player player, @Nullable Consumer<Optional<RejoinPlayerIssue>> callback) Tries to make the player rejoin the arena he previously was playing in. -
Uses of RejoinPlayerIssue in de.marcely.bedwars.api.arena
Modifier and TypeMethodDescriptionstatic @Nullable RejoinPlayerIssue
@Nullable RejoinPlayerIssue
Arena.rejoinPlayer
(Player player) Tries to make the player rejoin an already active game.@Nullable RejoinPlayerIssue
Arena.rejoinPlayer
(Player player, @Nullable QuitPlayerMemory memory) Tries to make the player rejoin an already active game using some rejoin info contained in the memory.static RejoinPlayerIssue
Returns the enum constant of this type with the specified name.static RejoinPlayerIssue[]
RejoinPlayerIssue.values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of RejoinPlayerIssue in de.marcely.bedwars.api.event.player
Modifier and TypeMethodDescriptionPlayerRejoinArenaEvent.getIssues()
Returns all issues there are for the player to rejoin the arena.Modifier and TypeMethodDescriptionboolean
PlayerRejoinArenaEvent.addIssue
(RejoinPlayerIssue issue) Adds an issue which causes the player to not be able to rejoin the arena.boolean
PlayerRejoinArenaEvent.removeIssue
(RejoinPlayerIssue issue) Removes an issue.ModifierConstructorDescriptionPlayerRejoinArenaEvent
(Player player, Arena arena, @Nullable QuitPlayerMemory memory, Set<RejoinPlayerIssue> issues)