Jump to content

Grant Skript For LuckPerms


TankSniperD

Recommended Posts

Plugins Required: Skript and TuSKe (Skript Addon)

Enjoy the Skript!

 

 

command /grant [<player>]:
    permission: grant.use
    permission message: &cSeems like you don’t have permission for this.
    trigger:
        open virtual chest inventory with size 4 named "&6Granting for: &e%player arg%" to player
        format gui slot 0 and 1 and 2 and 3 and 4 and 5 and 6 and 7 and 8 of player with gray stained glass pane named ""
        if player has permission "grant.owner":
            format gui slot 9 of player with red wool named "&4Owner" with lore "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&6Rank:&f Owner" and "&6Prefix:&8 (&4Owner&8)" and  "&6Suffix:&7" and "&6Priority:&f 10" and "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&aLeft click to grant &4Owner &ato &7%player arg%" to close then run console command "lp user %player arg% parent set owner"
        else if player does not have permission "grant.owner":
            format gui slot 9 of player with bedrock named "&4Owner" with lore "&6You cannot grant this rank"
        if player has permission "grant.dev":
            format gui slot 10 of player with light blue wool named "&b&lDeveloper" with lore "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&6Rank:&f Developer" and "&6Prefix:&8 (&b&lDeveloper&8)" and  "&6Suffix:&7" and "&6Priority:&f 9" and "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&aLeft click to grant &bDeveloper &ato &7%player arg%" to close then run console command "lp user %player arg% parent set dev"
        else if player does not have permission "grant.dev":
            format gui slot 10 of player with bedrock named "&b&lDeveloper" with lore "&6You cannot grant this rank"
        if player has permission "grant.manager":
            format gui slot 11 of player with orange wool named "&c&lManager" with lore "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&6Rank:&f Manager" and "&6Prefix:&8 (&c&lManager&8)" and  "&6Suffix:&7" and "&6Priority:&f 8" and "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&aLeft click to grant &cManager &ato &7%player arg%" to close then run console command "lp user %player arg% parent set manager"
        else if player does not have permission "grant.manager":
            format gui slot 11 of player with bedrock named "&c&lManager" with lore "&6You cannot grant this rank"
        if player has permission "grant.admin":
            format gui slot 12 of player with red wool named "&cAdmin" with lore "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&6Rank:&f Admin" and "&6Prefix:&8 (&cAdmin&8)" and  "&6Suffix:&7" and "&6Priority:&f 7" and "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&aLeft click to grant &cAdmin &ato &7%player arg%" to close then run console command "lp user %player arg% parent set admin"
        else if player does not have permission "grant.admin":
            format gui slot 12 of player with bedrock named "&cAdmin" with lore "&6You cannot grant this rank"
        if player has permission "grant.mod":
            format gui slot 13 of player with purple wool named "&5Mod" with lore "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&6Rank:&f Mod" and "&6Prefix:&8 (&5Mod&8)" and  "&6Suffix:&7" and "&6Priority:&f 6" and "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&aLeft click to grant &5Mod &ato &7%player arg%" to close then run console command "lp user %player arg% parent set mod"
        else if player does not have permission "grant.mod":
            format gui slot 13 of player with bedrock named "&5Mod" with lore "&6You cannot grant this rank"
        if player has permission "grant.builder":
            format gui slot 14 of player with light blue wool named "&9Builder" with lore "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&6Rank:&f Builder" and "&6Prefix:&8 (&9Builder&8)" and  "&6Suffix:&7" and "&6Priority:&f 5" and "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&aLeft click to grant &9Builder &ato &7%player arg%" to close then run console command "lp user %player arg% parent set builder"
        else if player does not have permission "grant.builder":
            format gui slot 14 of player with bedrock named "&2Builder" with lore "&6You cannot grant this rank"
        if player has permission "grant.trainee":
            format gui slot 15 of player with yellow wool named "&eTrainee" with lore "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&6Rank:&f Trainee" and "&6Prefix:&8 (&eTrainee&8)" and  "&6Suffix:&7" and "&6Priority:&f 4" and "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&aLeft click to grant &eTrainee &ato &7%player arg%" to close then run console command "lp user %player arg% parent set trainee"
        else if player does not have permission "grant.trainee":
            format gui slot 15 of player with bedrock named "&eTrainee" with lore "&6You cannot grant this rank"
        if player has permission "grant.media":
            format gui slot 16 of player with cyan wool named "&bMedia" with lore "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&6Rank:&f Media" and "&6Prefix:&8 (&b&lMedia&8)" and  "&6Suffix:&7" and "&6Priority:&f" and "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&aLeft click to grant &bMedia &ato &7%player arg%" to close then run console command "lp user %player arg% parent set media"
        else if player does not have permission "grant.media":
            format gui slot 16 of player with bedrock named "&6Media" with lore "&6You cannot grant this rank"
        if player has permission "grant.use":
            format gui slot 17 of player with magenta wool named "&dPig&5+" with lore "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&6Rank:&f Pig+" and "&6Prefix:&8 (&dPig&5+&8)" and  "&6Suffix:&7" and "&6Priority:&f" and "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&aLeft click to grant &dPig&5+ &ato &7%player arg%" to close then run console command "lp user %player arg% parent set pig+"
            format gui slot 18 of player with pink wool named "&dPig" with lore "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&6Rank:&f Pig" and "&6Prefix:&8 (&dPig&8)" and  "&6Suffix:&7" and "&6Priority:&f" and "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&aLeft click to grant &dPig &ato &7%player arg%" to close then run console command "lp user %player arg% parent set pig"
            format gui slot 19 of player with cyan wool named "&bMvp&c+" with lore "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&6Rank:&f Mvp+" and "&6Prefix:&8 (&bMvp&c+&8)" and  "&6Suffix:&7" and "&6Priority:&f" and "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&aLeft click to grant &bMvp&c+ &ato &7%player arg%" to close then run console command "lp user %player arg% parent set mvp+"
            format gui slot 20 of player with cyan wool named "&bMvp" with lore "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&6Rank:&f Mvp" and "&6Prefix:&7 [&bMvp&7]" and  "&6Suffix:&7" and "&6Priority:&f" and "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&aLeft click to grant &bMvp &ato &7%player arg%" to close then run console command "lp user %player arg% parent set mvp"
            format gui slot 21 of player with lime wool named "&aVip&6+" with lore "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&6Rank:&f Vip+" and "&6Prefix:&8 (&aVip&6+&8)" and  "&6Suffix:&7" and "&6Priority:&f" and "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&aLeft click to grant &3Overlord &ato &7%player arg%" to close then run console command "lp user %player arg% parent set vip+"
            format gui slot 22 of player with lime wool named "&aVip" with lore "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&6Rank:&f Vip" and "&6Prefix:&7 [&aVip&7]" and  "&6Suffix:&7" and "&6Priority:&f" and "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&aLeft click to grant &aVip &ato &7%player arg%" to close then run console command "lp user %player arg% parent set vip"
            format gui slot 23 of player with white wool named "&fChat Mute Bypass" with lore "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&6Rank:&f " and "&6Prefix:&7 " and  "&6Suffix:&7" and "&6Priority:&f" and "&6&m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" and "&aLeft click to grant &fChat Mute Bypass &ato &7%player arg%" to close then run console command "lp user %player arg% permission set chat.mute.bypass"
 

Skript Developer

 

Joined Minecraft in 2016 on Bedrock Edition

Joined Minecraft in 2020 on Java Edition

Joined Minehut in December 2020

5 years Skript experience

 

 

92230fb7ff1a4800b5018f4e43d0c894.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...