Table of Contents

Interface ITeam

Namespace
Obsidian.API
Assembly
Obsidian.API.dll
public interface ITeam

Properties

CollisionRule

CollisionRule CollisionRule { get; set; }

Property Value

CollisionRule

Color

TeamColor Color { get; set; }

Property Value

TeamColor

DisplayName

ChatMessage DisplayName { get; set; }

Property Value

ChatMessage

Entities

HashSet<string> Entities { get; }

Property Value

HashSet<string>

Name

string Name { get; }

Property Value

string

NameTagVisibility

NameTagVisibility NameTagVisibility { get; set; }

Property Value

NameTagVisibility

Prefix

ChatMessage Prefix { get; set; }

Property Value

ChatMessage

Suffix

ChatMessage Suffix { get; set; }

Property Value

ChatMessage

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

Task<int>

Returns the amount of entities added to the team.

DeleteAsync()

Deletes the team

Task DeleteAsync()

Returns

Task

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

Task<int>

Returns the amount of entities removed from the team.

UpdateAsync()

Updates the team for all the players on the server

Task UpdateAsync()

Returns

Task