Class RemotePlayerPreJoinLocalArenaEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.remote.RemotePlayerPreJoinLocalArenaEvent
- All Implemented Interfaces:
- ArenaEvent
Gets called right before a player is being pulled into this server to join an arena.
 
Keep in mind that this event is async.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetArena()The arena that he is about to join.static HandlerList@Nullable AddPlayerIssuegetIssue()Get the issue that may prevent the player from joining the arena.The player that is about to join the arena.booleanhasIssue()Get if any issue has been added so far, that'd prevent the player from joining.voidsetIssue(@Nullable AddPlayerIssue issue) Add an issue that may prevent the player from joining the arena.Methods inherited from class org.bukkit.event.EventgetEventName, isAsynchronous
- 
Constructor Details- 
RemotePlayerPreJoinLocalArenaEvent
 
- 
- 
Method Details- 
getPlayerThe player that is about to join the arena.- Returns:
- The involved player
 
- 
getArenaThe arena that he is about to join.- Specified by:
- getArenain interface- ArenaEvent
- Returns:
- The involved arena
 
- 
setIssueAdd an issue that may prevent the player from joining the arena.- Parameters:
- issue- The new issue.- nullif there is not supposed to be any issue
 
- 
getIssueGet the issue that may prevent the player from joining the arena.- Returns:
- The issue. nullif there is not supposed to be any issue
 
- 
hasIssuepublic boolean hasIssue()Get if any issue has been added so far, that'd prevent the player from joining.- Returns:
- trueif there's an issue
 
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getHandlerList
 
-