getTeam

public BBUTeam getTeam(BBUTeamColor colour)

Retrieve a team based on colour

Return

BBUTeam

Parameters

colour

colour of the team


public BBUTeam getTeam(BBUPlayer bbuPlayer)

Retrieve a team from a player within it

Return

BBUTeam

Parameters

bbuPlayer

player inside the team


@Nullable()
public @Nullable() BBUTeam getTeam(Player player)

Retrieve a team from a bukkit player within it

Return

BBUTeam

Parameters

player

player inside the team


public BBUTeam getTeam(Block beacon)

Retrieve a team from the beacon position

Return

BBUTeam

Parameters

beacon

Beacon block