> For the complete documentation index, see [llms.txt](https://docs.easy.gg/scripting/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.easy.gg/scripting/bedwars-scripting/objects/team.md).

# Team

### Parameters

#### name: string

Display name of the team, such as `Red`

#### id: string

Identifier of the team, such as `3`

***

### Functions

#### getInGamePlayers(): [Player](/scripting/bedwars-scripting/objects/player.md)\[]

Returns team members that are actively in game (NOT including spectators).
