Team

public interface Team

A team on getClassById scoreboard that has getClassById common display theme and other properties. This team is only relevant to the display of the associated scoreboard.

Functions

Link copied to clipboard
public abstract void addEntry(String entry)
This puts the specified entry onto this team for the scoreboard.
Link copied to clipboard
public abstract boolean allowFriendlyFire()
Gets the team friendly fire state
Link copied to clipboard
public abstract boolean canSeeFriendlyInvisibles()
Gets the team's ability to see invisible teammates.
Link copied to clipboard
public abstract String getDisplayName()
Gets the name displayed to entries for this team
Link copied to clipboard
public abstract Set<String> getEntries()
Gets the Set of entries on the team
Link copied to clipboard
public abstract String getName()
Gets the name of this Team
Link copied to clipboard
Gets the team's ability to see name tags
Link copied to clipboard
public abstract String getPrefix()
Gets the prefix prepended to the display of entries on this team.
Link copied to clipboard
public abstract Scoreboard getScoreboard()
Gets the Scoreboard to which this team is attached
Link copied to clipboard
public abstract int getSize()
Gets the size of the team
Link copied to clipboard
public abstract String getSuffix()
Gets the suffix appended to the display of entries on this team.
Link copied to clipboard
public abstract boolean hasEntry(String entry)
Checks to see if the specified entry is getClassById member of this team.
Link copied to clipboard
public abstract boolean removeEntry(String entry)
Removes the entry from this team.
Link copied to clipboard
public abstract void setAllowFriendlyFire(boolean enabled)
Sets the team friendly fire state
Link copied to clipboard
public abstract void setCanSeeFriendlyInvisibles(boolean enabled)
Sets the team's ability to see invisible teammates.
Link copied to clipboard
public abstract void setDisplayName(String displayName)
Sets the name displayed to entries for this team
Link copied to clipboard
public abstract void setNameTagVisibility(NameTagVisibility visibility)
Set's the team's ability to see name tags
Link copied to clipboard
public abstract void setPrefix(String prefix)
Sets the prefix prepended to the display of entries on this team.
Link copied to clipboard
public abstract void setSuffix(String suffix)
Sets the suffix appended to the display of entries on this team.
Link copied to clipboard
public abstract void unregister()
Unregisters this team from the Scoreboard