MatchInstance

public abstract class MatchInstance implements MatchInstanceInterface

Inheritors

Constructors

Link copied to clipboard
public void MatchInstance(MatchInstanceConfiguration matchInstanceConfiguration)

Types

Link copied to clipboard
public enum InstanceState
Link copied to clipboard
public class MatchInstanceEvents implements Listener

Properties

Link copied to clipboard
protected final static HashSet<MatchInstance> instances
Link copied to clipboard
protected String permission
Link copied to clipboard
protected HashSet<MatchPlayer> players
Link copied to clipboard
protected HashSet<MatchPlayer> spectators
Link copied to clipboard

Functions

Link copied to clipboard
public boolean addNewPlayer(MatchPlayer matchPlayer)
public boolean addNewPlayer(Player player)
Link copied to clipboard
public boolean addNewSpectator(Player player)
Link copied to clipboard
public void announceChat(String message)
Link copied to clipboard
public void announceTitle(String title, String subtitle, int fadeIn, int stay, int fadeOut)
Link copied to clipboard
public void countdownMatch()
Link copied to clipboard
public void defeat()
Link copied to clipboard
protected void destroyMatch()
Link copied to clipboard
protected void endMatch()
Link copied to clipboard
protected void finishStarting()
Link copied to clipboard
protected List<MatchPlayer> getAllParticipants()
Link copied to clipboard
public static HashSet<MatchInstance> getInstances()
Link copied to clipboard
public String getPermission()
Link copied to clipboard
public HashSet<MatchPlayer> getPlayers()
Link copied to clipboard
Link copied to clipboard
public abstract boolean isInRegion(Location location)
Link copied to clipboard
public boolean isPlayer(MatchPlayer matchPlayer)
Link copied to clipboard
public boolean isSpectator(MatchPlayer matchPlayer)
Link copied to clipboard
public void makeSpectator(MatchPlayer matchPlayer)
Link copied to clipboard
public void playerDeath(MatchPlayer matchPlayer)
Link copied to clipboard
public void postPlayerRemovalCheck(MatchPlayer matchPlayer)
Link copied to clipboard
public void removeSpectator(MatchPlayer matchPlayer)
Link copied to clipboard
public static void shutdown()
Link copied to clipboard
Link copied to clipboard
public void victory()