Team Entries (Expression) — skPackets

Addon: skPackets · Category: Expression · Since: 1.0.0

Syntax

(fake|packet) team entries of %packets%

Description

The player names or entity UUID strings assigned to the team. Supports set, add, remove and reset. Send the team packet to apply changes to viewers.

Examples

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

View source