Interface TeamInfo<P,M>


public interface TeamInfo<P,M>
Read-only snapshot for a team in a game session.
  • Method Details

    • getId

      String getId()
      Returns:
      stable team identifier (used in commands and configs).
    • getDisplayName

      String getDisplayName()
      Returns:
      display name for UI and messages.
    • getIcon

      M getIcon()
      Returns:
      icon material for menus.
    • getMaxPlayers

      int getMaxPlayers()
      Returns:
      maximum players allowed in the team.
    • getPlayerCount

      int getPlayerCount()
      Returns:
      current number of players in the team.
    • getPlayers

      List<P> getPlayers()
      Returns:
      online players currently assigned to this team.
    • isFull

      boolean isFull()
      Returns:
      true if the team is full.