MatchJoinEvent

public class MatchJoinEvent extends Event implements MatchEvent, MatchPlayerEvent, Cancellable

Public API event fired immediately before a valid player or external spectator is admitted to a match. Cancelling leaves the player outside the instance. Internal player-to-spectator death transitions do not fire another join event because the participant never left the match.

Constructors

Link copied to clipboard
public void MatchJoinEvent(MatchInstance matchInstance, Player player)

Properties

Link copied to clipboard
public final static HandlerList handlers
Link copied to clipboard
public final Player player

Functions

Link copied to clipboard
@NotNull()
public static HandlerList getHandlerList()
Link copied to clipboard
@NotNull()
public HandlerList getHandlers()
Link copied to clipboard
Link copied to clipboard
public Player getPlayer()
Link copied to clipboard
public boolean isCancelled()
Link copied to clipboard
public void setCancelled(boolean b)

Inherited functions

Link copied to clipboard
public String getEventName()
Link copied to clipboard
public abstract HandlerList getHandlers()
Link copied to clipboard
public final boolean isAsynchronous()