Interface ITeam
public interface ITeam
Properties
CollisionRule
CollisionRule CollisionRule { get; set; }
Property Value
Color
TeamColor Color { get; set; }
Property Value
DisplayName
ChatMessage DisplayName { get; set; }
Property Value
Entities
HashSet<string> Entities { get; }
Property Value
Name
string Name { get; }
Property Value
NameTagVisibility
NameTagVisibility NameTagVisibility { get; set; }
Property Value
Prefix
ChatMessage Prefix { get; set; }
Property Value
Suffix
ChatMessage Suffix { get; set; }
Property Value
Methods
AddEntitiesAsync(params string[])
Adds entities to the team.
Task<int> AddEntitiesAsync(params string[] entities)
Parameters
entities
string[]Identifiers for the entities in this team. For players, this is their username; for other entities, it is their UUID.
Returns
DeleteAsync()
Deletes the team
Task DeleteAsync()
Returns
RemoveEntitiesAsync(params string[])
Removes entities to the team.
Task<int> RemoveEntitiesAsync(params string[] entities)
Parameters
entities
string[]Identifiers for the entities in this team. For players, this is their username; for other entities, it is their UUID.
Returns
UpdateAsync()
Updates the team for all the players on the server
Task UpdateAsync()