Skip to content
home/templates/vip perks system
utilityBeginnermc 1.20.x – 1.21.x32 lines

vip perks system

players with the vip.perks permission get bonus features: keep inventory on death, double daily reward, fly toggle, particle trail.

vanilla Skriptno addons required.
vip-perks.sk32 lines
on death of a player:
    if victim has permission "vip.perks":
        set {vip.inv.%uuid of victim%} to contents of victim's inventory
        set {vip.exp.%uuid of victim%} to victim's experience
        send "&6[VIP] &fYou will keep your inventory on respawn!" to victim

on respawn:
    if {vip.inv.%uuid of player%} is set:
        set contents of player's inventory to {vip.inv.%uuid of player%}
        set player's experience to {vip.exp.%uuid of player%}
        delete {vip.inv.%uuid of player%}
        delete {vip.exp.%uuid of player%}

on join:
    if player has permission "vip.perks":
        send "&6&l[VIP] &r&6Welcome back, %player%!" to player
        # Particle trail loop
        while player is online:
            if player has permission "vip.perks":
                draw 1 of flame at location of player offset by vector(0, 1, 0)
            wait 5 ticks

command /vipfly:
    permission: vip.perks
    trigger:
        if player can fly:
            disable flight mode for player
            send "&7Flight disabled." to player
        else:
            enable flight mode for player
            send "&6[VIP] &fFlight enabled." to player

get it running

vip-perks.sk · 32 lines · vanilla Skript
  1. 1

    copy or download

    grab the .sk file with the buttons up top.

    vip-perks.sk· ready to drop in
  2. 2

    drop it in your scripts folder

    save it exactly here on your server — no typos, just copy the path:

    …/plugins/Skript/scripts/vip-perks.sk
  3. 3

    reload in-game

    run this in chat or console — your script goes live instantly:

    /sk reload vip-perks
that's it — your script is live. hop in-game to try it.
/ related templates

more utility templates

comments