Packages com.phoenixplugins.phoenixduels.api 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 Details

    • 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 invalid input: '&' 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 10 days ago
My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping