Fake Equipment (Effect) — skPackets

Addon: skPackets · Category: Effect · Since: 1.0.0

Syntax

make fake equipment %equipment slot% of %entities% as %item type% to %players% [with persistent]

Description

Changes the equipment shown on real living entities for chosen viewers without changing inventories. Accepts player's held item or player's helmet. Uses Skript equipment slots, such as main hand and helmet slot. Add 'with persistent' to keep the appearance across equipment updates, tracking changes and reconnects. Each viewer/target/slot stores only one item. Overrides end when a non-player target unloads or dies, or the plugin stops. Without the flag this is a one-time update and replaces the previous persistent override for that slot. Reset restores current real equipment and removes the persistent overrides. Does not change the owner's inventory or first-person held item.

Examples

command /disguise-my-sword:
    trigger:
        make fake equipment main hand of player as diamond sword to all players with persistent
        wait 10 seconds
        reset fake equipment main hand of player for all players
command /copy-my-helmet:
    trigger:
        set {_target} to target entity of player
        if {_target} is not set:
            stop
        make fake equipment helmet slot of {_target} as player's helmet to player

View source