ITeam interface
public interface ITeam
In Obsidian.API.
Properties
CollisionRule CollisionRule { get; set; }TeamColor Color { get; set; }ChatMessage DisplayName { get; set; }HashSet<string> Entities { get; }string Name { get; }NameTagVisibility NameTagVisibility { get; set; }ChatMessage Prefix { get; set; }ChatMessage Suffix { get; set; }Methods
AddEntities(string[])
int AddEntities(params string[] entities);Adds entities to the team.
Parameters
entities- Identifiers for the entities in this team. For players, this is their username; for other entities, it is their UUID.
Returns
Returns the amount of entities added to the team.
Delete()
void Delete();Deletes the team
RemoveEntities(string[])
int RemoveEntities(params string[] entities);Removes entities to the team.
Parameters
entities- Identifiers for the entities in this team. For players, this is their username; for other entities, it is their UUID.
Returns
Returns the amount of entities removed from the team.
Update()
void Update();Updates the team for all the players on the server