Team Prefix (Expression) — skPackets

Addon: skPackets · Category: Expression · Since: 1.0.0

Syntax

(fake|packet) team prefix of %packets%

Description

The text shown before names of team members. Send the team packet to apply changes to viewers.

Examples

command /red-squad-prefix:
    trigger:
        set {_team} to a new packet team:
            name: "demo"
        set packet team prefix of {_team} to colored "&c[Red] "
        send packet {_team} to player
command /red-squad-prefix-fake:
    trigger:
        set {_team} to a new fake team:
            name: "demo"
        set fake team prefix of {_team} to colored "&c[Red] "
        send packet {_team} to player

View source