Team

constructor(teamName: String, maxPlayers: Int, color: ChatFormatting)(source)

Constructs a new team with specified parameters.

Parameters

teamName

The name of the team

maxPlayers

The maximum number of players allowed in the team

color

The color formatting for the team's name