Match
Properties
Functions
Link copied to clipboard
Releases a reservation when admission could not finish.
Link copied to clipboard
Whether the match takes players right now, on top of the core's own checks.
Link copied to clipboard
Whether an outsider may join as a spectator.
Link copied to clipboard
Admits the players together or not at all.
public final AdmissionResult admit(Collection<? extends Player> players, BooleanSupplier stillAuthorized)
As admit, rechecking
stillAuthorized around the cancellable callbacks so an external reservation, such as a party ready check, can withdraw admission.Link copied to clipboard
Admits an outsider as a spectator at the start location, in spectator mode.
Link copied to clipboard
Link copied to clipboard
Destroys the match because its plugin or the server is stopping.
Link copied to clipboard
Ends the match once.
Link copied to clipboard
Link copied to clipboard
Settings exit, else where the player came from, else the main world spawn.
Link copied to clipboard
Link copied to clipboard
This match's participant for the player, or null.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The active players when the match went ongoing.
Link copied to clipboard
Treats the player as killed: the same handling lethal damage gets.
Link copied to clipboard
Whether this player may join past requiredPermission; hosts can add their own exemptions.
Link copied to clipboard
Where non-participants found inside a running match are sent.
Link copied to clipboard
Link copied to clipboard
Removes a participant.
Link copied to clipboard
Moves one of this match's players anywhere inside its space, across its worlds.
Link copied to clipboard
Admission failed after this player was created; undo anything createPlayer recorded.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Runs while the player is still a participant and the match state is intact.
Link copied to clipboard
A spectating player was revived and is active again.
Link copied to clipboard
The death policy turned an active player into a spectator.
Link copied to clipboard
Clears the dead player's revive banner, reviving them when
revive is true.Link copied to clipboard
Every ending the core decides on its own goes through here: defeat when the last active player leaves or dies, a neutral end when a countdown loses its minimum.
Link copied to clipboard
The permission players need to join; spectators do not need it.
Link copied to clipboard
Taken after every admission check passes, before anyone is registered.
Link copied to clipboard
Destroys the match after
ticks, replacing any destroy already scheduled.Link copied to clipboard
Where an outsider who joins as a spectator is placed.
Link copied to clipboard
Starts the countdown, or the match itself when the countdown is zero.
Link copied to clipboard
Where players go when the match starts, and the rescue point of last resort.