Team Name (Expression) — skPackets

Addon: skPackets · Category: Expression · Since: 1.0.0

Syntax

(fake|packet) team name of %packets%

Description

The scoreboard identifier of the team. Changing it recreates the team for viewers when sent. Send the team packet to apply changes to viewers.

Examples

command /red-squad-name:
    trigger:
        set {_team} to a new packet team:
            name: "demo"
        set packet team name of {_team} to "red"
        send packet {_team} to player
command /red-squad-name-fake:
    trigger:
        set {_team} to a new fake team:
            name: "demo"
        set fake team name of {_team} to "red"
        send packet {_team} to player

View source