Promotion background
Easter Season IS HERE!
10% off limited time offer!
Ends in
00
H
00
M
00
S
limited time offer SAVE 10% NOW →
Packages com.phoenixplugins.phoenixduels.api match
com.phoenixplugins.phoenixduels.api.match

Interface Match



  • public interface Match
    The Match interface represents a game match or session, containing methods to access various information about the match, its players, and its current phase.
    • Method Detail

      • getPhase

        MatchPhase getPhase()
        Retrieves the current phase of the match.
        Returns:
        The current phase of the match, indicating its state or stage.
      • getTeamsPlayers

        Set<? extends MatchPlayer> getTeamsPlayers()
        Retrieves a set of all players participating in the match.
        Returns:
        A set containing instances of MatchPlayer representing all players in the match.
      • getConnectedPlayers

        Set<? extends MatchPlayer> getConnectedPlayers()
        Retrieves a set of players who are currently connected to the match (teams & guests).
        Returns:
        A set containing instances of MatchPlayer representing connected players.
      • getTeamsConnectedPlayers

        Set<? extends MatchPlayer> getTeamsConnectedPlayers()
        Retrieves a set of players who are currently connected to the match.
        Returns:
        A set containing instances of MatchPlayer representing connected players.
      • getTeamsAlivePlayers

        Set<? extends MatchPlayer> getTeamsAlivePlayers()
        Retrieves a set of players who are currently alive in the match.
        Returns:
        A set containing instances of MatchPlayer representing players who are alive.
      • getState

        default MatchState getState()
        Retrieves the current state of the match, derived from its current phase. This method provides a convenient way to access the state directly from the phase.
        Returns:
        The state of the match, inferred from its current phase.
Last updated about 5 hours ago
My Cart (0 items)

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy
This site uses cookies to personalize content, enhance your experience. By continuing, you agree to our cookie use. Learn more