createTeam

open fun createTeam(name: String, maxPlayers: Int, color: ChatFormatting)(source)

Creates a new team with specified parameters.

Parameters

name

The name of the team

maxPlayers

Maximum number of players allowed in the team

color

ChatFormatting color for the team