Jump to content

I need help with permission message! x3


Ramina__

Recommended Posts

So when i did the permission message it wont work and shows the default one ;-;

 

#Made by: Ramina__

#DON'T  USE!
command /rank [<offline player>] [<text>]:
    permission: core.rank
    permission message: "&fUnknown command. Type "/help" for help."
    usage: &4&lVelvetSurv>> &r&c/grant [player].
    trigger:
        if arg-1 is not set:
            send "&4&lVelvetSurv>> &cSpecify A Player"
        else:
            loop all players:
                if loop-player has permission "core.rank":
                    send "&4&lVelvetSurv>> &c%player% &cHas Used /Rank" to loop-player
            open chest with 6 rows named "&7Ranks: &a%arg-1%" to player
            wait 1 tick
            format slot 0 of player with red dye named "&7[&0Ow&7n&fer&7]" with lore "&7Grant &a%arg-1% &7[&0Ow&7n&fer&7] &7rank." to run [make player execute command "systemgrant %arg-1% Owner"]
            format slot 9 of player with red dye named "&7[&cCo&7-&0Ow&7n&fer&7]" with lore "&7Grant &a%arg-1% &7[&cCo&7-&0Ow&7n&fer&7] &7rank." to run [make player execute command "systemgrant %arg-1% Co-Owner"]
            format slot 10 of player with yellow dye named "&l&4&k1&c&lADMINSr&4&l&k1" with lore "&7Grant &a%arg-1% &l&4&k1&c&lADMINSr&4&l&k1 &7rank." to run [make player execute command "systemgrant %arg-1% Admin.Sr"]
            format slot 1 of player with yellow dye named "&l&4&k1&c&lADMIN&4&l&k1" with lore "&7Grant &a%arg-1% &l&4&k1&c&lADMIN&4&l&k1 &7rank." to run [make player execute command "systemgrant %arg-1% Admin"] 
            format slot 11 of player with light blue dye named "&f[&bModerator.Sr&f]" with lore "&7Grant &a%arg-1% &f[&bModerator.Sr&f] &7rank." to run [make player execute command "systemgrant %arg-1% Mod.Sr"]
            format slot 2 of player with light blue dye named "&f[&bModerator&f]" with lore "&7Grant &a%arg-1% &f[&bModerator&f] &7rank." to run [make player execute command "systemgrant %arg-1% Mod"]            
            format slot 3 of player with blue dye named "&7[&9Helper&7]" with lore "&7Grant &a%arg-1% &7[&9Helper&7] &7rank." to run [make player execute command "systemgrant %arg-1% Helper"]
            format slot 12 of player with blue dye named "&7[&9Helper.Sr&7]" with lore "&7Grant &a%arg-1% &7[&9Helper.Sr&7] &7 rank." to run [make player execute command "systemgrant %arg-1% Helper.Sr"]       
            format slot 4 of player with purple dye named "&5[&dBuilder&5]" with lore "&7Grant &a%arg-1% &5[&dBuilder&5] &7rank." to run [make player execute command "systemgrant %arg-1% Builder"]
            format slot 13 of player with purple dye named "&5[&dBuilder.Sr&5]" with lore "&7Grant &a%arg-1% &5[&dBuilder.Sr&5] &7rank ." to run [make player execute command "systemgrant %arg-1% Builder.Sr"]
            format slot 26 of player with red dye named "&4[&cDumbass++&4]" with lore "&7Grant &a%arg-1% &4[&cDumbass++&4] &7rank." to run [make player execute command "systemgrant %arg-1% Dumbass++"]
            format slot 25 of player with red dye named "&4[&cDumbass+++&4]" with lore "&7Grant &a%arg-1% &4[&cDumbass+++&4] &7rank." to run [make player execute command "systemgrant %arg-1% Dumbass+++"]            
            format slot 7 of player with grey dye named "&7&l[Member]" with lore "&7Grant &a%arg-1% &7&l[Member] &7rank." to run [make player execute command "systemgrant %arg-1% Default"]  
            format slot 8 of player with black dye named "&4[&cWARNED&4]" with lore "&7Grant &a%arg-1% &4[&cWARNED&4] &7rank." to run [make player execute command "systemgrant %arg-1% Warned"]
            format slot 24 of player with red dye named "&4[&cDumbass.Dum&4]" with lore "&7Grant &a%arg-1% &4[&cDumbass.Dum&4] &7 rank." to run [make player execute command "systemgrant %arg-1% Dumbass.dum"]
            format slot 53 of player with barrier named "&c&lCancel" to close
            format slot 18 of player with red dye named "&f[&b&lOwner&f]" with lore "&7Grant &a%arg-1% &f[&b&lOwner&f] &7rank." to run [make player execute command "systemgrant %arg-1% Owner-Blue"]
            format slot 19 of player with lime dye named "&a[VIP]" with lore "&7Grant &a%arg-1% &a[VIP] &7rank." to run [make player execute command "systemgrant %arg-1% Vip"]
            format slot 20 of player with green dye named "&a[VIP&6+&a]" with lore "&7Grant &a%arg-1% &a[VIP&6+&a] &7rank." to run [make player execute command "systemgrant %arg-1% Vip+"]
            format slot 21 of player with cyan dye named "&b[MVP]" with lore "&7Grant &a%arg-1% &b[MVP] &7rank." to run [make player execute command "systemgrant %arg-1% Mvp"]
            format slot 22 of player with red dye named "&b[MVP&4+&b]" with lore "&7Grant &a%arg-1% &b[MVP&4+&b] &7rank." to run [make player execute command "systemgrant %arg-1% Mvp+"]->[send "&4&lVelvetSurv>> &cNow you are &b[MVP&c+&b]&c Do /rankcolor To see all the awesome rank colors that come with &b[MVP&c+&b]" to arg-1]    
            format slot 23 of player with orange dye named "&6[MVP&4++&6]" with lore "&7Grant &a%arg-1% &6[MVP&c++&6] &7rank." to run [make player execute command "systemgrant %arg-1% Mvp++"]->[send "&4&lVelvetSurv>> &cNow you are &6[MVP&c++&6]&c Do /rankcolor To see all the awesome rank colors that come with &6[MVP&c++&6]" to arg-1]
            format slot 5 of player with blue dye named "&b[&3&lStaff&b]" with lore "&7Grant &a%arg-1% &b[&3&lStaff&b] &7rank." to run [make player execute command "systemgrant %arg-1% Staff"]
            format slot 14 of player with blue dye named "&b[&3&lStaff+&b]" with lore "&7Grant &a%arg-1% &b[&3&lStaff+&b] &7rank." to run [make player execute command "systemgrant %arg-1% Staff+"]
            format slot 45 of player with red dye named "&6[&4YOU&fTUBE&6]" with lore "&7grant &a%arg-1% &6[&4YOU&fTUBE&6] &7rank." to run [make player execute command "systemgrant %arg-1% Youtuber"]
            format slot 46 of player with orange dye named "&6&k1&6God&6&k1&r&6Suffix" with lore "&7grant &a%arg-1% &6&k1&r&6God&r&6&k1&r&6Suffix &7rank." to run [make player execute command "systemgrant %arg-1% GodSuffix"]
            format slot 36 of player with orange dye named "&6&k1&6God&6&k1&r&6Prefix" with lore "&7grant &a%arg-1% &6&k1&r&6God&r&6&k1&r&6Prefix &7rank." to run [make player execute command "systemgrant %arg-1% GodPrefix"]
            format slot 37 of player with yellow dye named "&6&k1&6OG&6&k1" with lore "&7grant &a%arg-1% &6&k1&6OG&6&k1 &7rank." to run [make player execute command "systemgrant %arg-1% OG"]  
            format slot 47 of player with light grey dye named "&k1&4M&fo&4o&fs&4h&fr&4o&fo&4m&k1" with lore "&7Grant &a%arg-1% &k1&4M&fo&4o&fs&4h&fr&4o&fo&4m&k1 &7rank." to run [make player execute command "systemgrant %arg-1% Mooshroom"]
            format slot 38 of player with pink dye named "&d[&5<3&d]" with lore "&7Grant &a%arg-1% &d[&5<3&d] &7rank." to run [make player execute command "systemgrant %arg-1% <3"]
            format slot 17 of player with red dye named "&4[&c&lRetired&r&4]" with lore "&7Grant &a%arg-1% &4[&c&lRetired&r&4] &7rank." to run [make player execute command "systemgrant %arg-1% Retired"]
            format slot 52 of player with blue dye named "&9[Bri&ft&4ish]" with lore "&7Grant &a%arg-1% &9[Bri&ft&4ish] &7rank." to run [make player execute command "systemgrant %arg-1% British"]
            format slot 44 of player with orange dye named "&0[Ge&4rm&6an]" with lore "&7Grant &a%arg-1% &0[Ge&4rm&6an] &7rank." to run [make player execute command "systemgrant %arg-1% German"]
            format slot 43 of player with red dye named "&4[Au&fss&9ie]" with lore "&7Grant &a%arg-1% &4[Au&fss&9ie] &7rank." to run [make player execute command "systemgrant %arg-1% Aussie"]
            format slot 48 of player with purple dye named "<##9400D3>[<##4B0082>L<##0000FF>G<##00FF00>B<##FFFF00>T<##FF7F00>Q<##FF0000>]" with lore "&7Grant &a%arg-1% <##9400D3>[<##4B0082>L<##0000FF>G<##00FF00>B<##FFFF00>T<##FF7F00>Q<##FF0000>] &7rank." to run [make player execute command "systemgrant %arg-1% Lgbtq"]
            format slot 39 of player with purple dye named "&4[<##9400D3>S<##4B0082>P<##0000FF>E<##00FF00>C<##FFFF00>I<##FF7F00>A<##FF0000>L&4]" with lore "&7Grant &a%arg-1% &4[<##9400D3>S<##4B0082>P<##0000FF>E<##00FF00>C<##FFFF00>I<##FF7F00>A<##FF0000>L&4] &7rank." to run [make player execute command "systemgrant %arg-1% Special"]
            format slot 16 of player with black dye named "&4[&cFired&4]" with lore "&7Grant &a%arg-1% &4[&cFired&4] &7rank." to run [make player execute command "systemgrant %arg-1% Fired"]
            format slot 15 of player with red dye named "&4[&c&lRACIST&4]" with lore "&7Grant &a%arg-1% &4[&c&lRACIST&4]&7 Rank." to run [make player execute command "systemgrant %arg-1% Racist"]
            format slot 6 of player with orange dye named "&6[&eChild&6]" with lore "&7Grant &a%arg-1% &6[&eChild&6]&7 Rank." to run [make player execute command "/systemgrant %arg-1% Child"]
            format gui slot 27,28,29,30,31,32,33,34,35,40,41,42,50,51 and 49 of player with gray glass pane named "&0&l" to close:

command /systemgrant [<offline player>] [<text>]:
    permission: core.grant
    permission message: &cYou cannot access our rank system.
    trigger:
        if arg-1 is not set:
            send "&cPlease specify a player."
        else:
            open chest with 3 rows named "&7Ranks: &a%arg-1%" to player
            wait 1 tick
            format slot 0 of player with green wool named "&a2h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a2 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 2h "" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l2&c Hours." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 2&c Hours." to player] 
            format slot 1 of player with green wool named "&a4h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a4 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 4h "" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l4&c Hours." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 4&c Hours." to player]    
            format slot 2 of player with green wool named "&a8h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a8 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 8h"" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l8&c Hours." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 8&c Hours." to player] 
            format slot 3 of player with green wool named "&a12h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a12 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 12h "" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l12&c Hours." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 12&c Hours." to player]   
            format slot 4 of player with green wool named "&a16h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a16 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 16h "" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l16&c Hours." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 16&c Hours." to player]  
            format slot 5 of player with green wool named "&a18h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a18 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 18h "" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l18&c Hours.." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 18&c Hours." to player]             
            format slot 6 of player with green wool named "&a24h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a24 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 24h "" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l24&c Hours." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 24&c Hours." to player]       
            format slot 7 of player with green wool named "&a48h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a48 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 48h "" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l48&c Hours." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 48&c Hours." to player] 
            format slot 8 of player with green wool named "&aForever" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &aforever" to close then run [make console execute command "lp user %arg-1% parent set %arg-2%"]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &4&lForever." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lForever." to player] 
            format slot 26 of player with green wool named "&aAdd" with lore "&7Add &a%arg-2% &7to &b%arg-1%" to close then run [make console execute command "lp user %arg-1% parent add %arg-2%"]->[send "&eRank &8» &7Promoted &b%arg-1% &7to &a%arg-2%." to arg-1]->[send "&4&lVelvetSurv>> &cAdded &4&l%arg-2%&c Rank To &4&l%arg-1% &4&lForever." to player] 

Link to comment
Share on other sites

On 8/22/2021 at 9:19 AM, nolando09 said:

So when i did the permission message it wont work and shows the default one ;-;

 

#Made by: Ramina__

#DON'T  USE!
command /rank [<offline player>] [<text>]:
    permission: core.rank
    permission message: "&fUnknown command. Type "/help" for help."
    usage: &4&lVelvetSurv>> &r&c/grant [player].
    trigger:
        if arg-1 is not set:
            send "&4&lVelvetSurv>> &cSpecify A Player"
        else:
            loop all players:
                if loop-player has permission "core.rank":
                    send "&4&lVelvetSurv>> &c%player% &cHas Used /Rank" to loop-player
            open chest with 6 rows named "&7Ranks: &a%arg-1%" to player
            wait 1 tick
            format slot 0 of player with red dye named "&7[&0Ow&7n&fer&7]" with lore "&7Grant &a%arg-1% &7[&0Ow&7n&fer&7] &7rank." to run [make player execute command "systemgrant %arg-1% Owner"]
            format slot 9 of player with red dye named "&7[&cCo&7-&0Ow&7n&fer&7]" with lore "&7Grant &a%arg-1% &7[&cCo&7-&0Ow&7n&fer&7] &7rank." to run [make player execute command "systemgrant %arg-1% Co-Owner"]
            format slot 10 of player with yellow dye named "&l&4&k1&c&lADMINSr&4&l&k1" with lore "&7Grant &a%arg-1% &l&4&k1&c&lADMINSr&4&l&k1 &7rank." to run [make player execute command "systemgrant %arg-1% Admin.Sr"]
            format slot 1 of player with yellow dye named "&l&4&k1&c&lADMIN&4&l&k1" with lore "&7Grant &a%arg-1% &l&4&k1&c&lADMIN&4&l&k1 &7rank." to run [make player execute command "systemgrant %arg-1% Admin"] 
            format slot 11 of player with light blue dye named "&f[&bModerator.Sr&f]" with lore "&7Grant &a%arg-1% &f[&bModerator.Sr&f] &7rank." to run [make player execute command "systemgrant %arg-1% Mod.Sr"]
            format slot 2 of player with light blue dye named "&f[&bModerator&f]" with lore "&7Grant &a%arg-1% &f[&bModerator&f] &7rank." to run [make player execute command "systemgrant %arg-1% Mod"]            
            format slot 3 of player with blue dye named "&7[&9Helper&7]" with lore "&7Grant &a%arg-1% &7[&9Helper&7] &7rank." to run [make player execute command "systemgrant %arg-1% Helper"]
            format slot 12 of player with blue dye named "&7[&9Helper.Sr&7]" with lore "&7Grant &a%arg-1% &7[&9Helper.Sr&7] &7 rank." to run [make player execute command "systemgrant %arg-1% Helper.Sr"]       
            format slot 4 of player with purple dye named "&5[&dBuilder&5]" with lore "&7Grant &a%arg-1% &5[&dBuilder&5] &7rank." to run [make player execute command "systemgrant %arg-1% Builder"]
            format slot 13 of player with purple dye named "&5[&dBuilder.Sr&5]" with lore "&7Grant &a%arg-1% &5[&dBuilder.Sr&5] &7rank ." to run [make player execute command "systemgrant %arg-1% Builder.Sr"]
            format slot 26 of player with red dye named "&4[&cDumbass++&4]" with lore "&7Grant &a%arg-1% &4[&cDumbass++&4] &7rank." to run [make player execute command "systemgrant %arg-1% Dumbass++"]
            format slot 25 of player with red dye named "&4[&cDumbass+++&4]" with lore "&7Grant &a%arg-1% &4[&cDumbass+++&4] &7rank." to run [make player execute command "systemgrant %arg-1% Dumbass+++"]            
            format slot 7 of player with grey dye named "&7&l[Member]" with lore "&7Grant &a%arg-1% &7&l[Member] &7rank." to run [make player execute command "systemgrant %arg-1% Default"]  
            format slot 8 of player with black dye named "&4[&cWARNED&4]" with lore "&7Grant &a%arg-1% &4[&cWARNED&4] &7rank." to run [make player execute command "systemgrant %arg-1% Warned"]
            format slot 24 of player with red dye named "&4[&cDumbass.Dum&4]" with lore "&7Grant &a%arg-1% &4[&cDumbass.Dum&4] &7 rank." to run [make player execute command "systemgrant %arg-1% Dumbass.dum"]
            format slot 53 of player with barrier named "&c&lCancel" to close
            format slot 18 of player with red dye named "&f[&b&lOwner&f]" with lore "&7Grant &a%arg-1% &f[&b&lOwner&f] &7rank." to run [make player execute command "systemgrant %arg-1% Owner-Blue"]
            format slot 19 of player with lime dye named "&a[VIP]" with lore "&7Grant &a%arg-1% &a[VIP] &7rank." to run [make player execute command "systemgrant %arg-1% Vip"]
            format slot 20 of player with green dye named "&a[VIP&6+&a]" with lore "&7Grant &a%arg-1% &a[VIP&6+&a] &7rank." to run [make player execute command "systemgrant %arg-1% Vip+"]
            format slot 21 of player with cyan dye named "&b[MVP]" with lore "&7Grant &a%arg-1% &b[MVP] &7rank." to run [make player execute command "systemgrant %arg-1% Mvp"]
            format slot 22 of player with red dye named "&b[MVP&4+&b]" with lore "&7Grant &a%arg-1% &b[MVP&4+&b] &7rank." to run [make player execute command "systemgrant %arg-1% Mvp+"]->[send "&4&lVelvetSurv>> &cNow you are &b[MVP&c+&b]&c Do /rankcolor To see all the awesome rank colors that come with &b[MVP&c+&b]" to arg-1]    
            format slot 23 of player with orange dye named "&6[MVP&4++&6]" with lore "&7Grant &a%arg-1% &6[MVP&c++&6] &7rank." to run [make player execute command "systemgrant %arg-1% Mvp++"]->[send "&4&lVelvetSurv>> &cNow you are &6[MVP&c++&6]&c Do /rankcolor To see all the awesome rank colors that come with &6[MVP&c++&6]" to arg-1]
            format slot 5 of player with blue dye named "&b[&3&lStaff&b]" with lore "&7Grant &a%arg-1% &b[&3&lStaff&b] &7rank." to run [make player execute command "systemgrant %arg-1% Staff"]
            format slot 14 of player with blue dye named "&b[&3&lStaff+&b]" with lore "&7Grant &a%arg-1% &b[&3&lStaff+&b] &7rank." to run [make player execute command "systemgrant %arg-1% Staff+"]
            format slot 45 of player with red dye named "&6[&4YOU&fTUBE&6]" with lore "&7grant &a%arg-1% &6[&4YOU&fTUBE&6] &7rank." to run [make player execute command "systemgrant %arg-1% Youtuber"]
            format slot 46 of player with orange dye named "&6&k1&6God&6&k1&r&6Suffix" with lore "&7grant &a%arg-1% &6&k1&r&6God&r&6&k1&r&6Suffix &7rank." to run [make player execute command "systemgrant %arg-1% GodSuffix"]
            format slot 36 of player with orange dye named "&6&k1&6God&6&k1&r&6Prefix" with lore "&7grant &a%arg-1% &6&k1&r&6God&r&6&k1&r&6Prefix &7rank." to run [make player execute command "systemgrant %arg-1% GodPrefix"]
            format slot 37 of player with yellow dye named "&6&k1&6OG&6&k1" with lore "&7grant &a%arg-1% &6&k1&6OG&6&k1 &7rank." to run [make player execute command "systemgrant %arg-1% OG"]  
            format slot 47 of player with light grey dye named "&k1&4M&fo&4o&fs&4h&fr&4o&fo&4m&k1" with lore "&7Grant &a%arg-1% &k1&4M&fo&4o&fs&4h&fr&4o&fo&4m&k1 &7rank." to run [make player execute command "systemgrant %arg-1% Mooshroom"]
            format slot 38 of player with pink dye named "&d[&5<3&d]" with lore "&7Grant &a%arg-1% &d[&5<3&d] &7rank." to run [make player execute command "systemgrant %arg-1% <3"]
            format slot 17 of player with red dye named "&4[&c&lRetired&r&4]" with lore "&7Grant &a%arg-1% &4[&c&lRetired&r&4] &7rank." to run [make player execute command "systemgrant %arg-1% Retired"]
            format slot 52 of player with blue dye named "&9[Bri&ft&4ish]" with lore "&7Grant &a%arg-1% &9[Bri&ft&4ish] &7rank." to run [make player execute command "systemgrant %arg-1% British"]
            format slot 44 of player with orange dye named "&0[Ge&4rm&6an]" with lore "&7Grant &a%arg-1% &0[Ge&4rm&6an] &7rank." to run [make player execute command "systemgrant %arg-1% German"]
            format slot 43 of player with red dye named "&4[Au&fss&9ie]" with lore "&7Grant &a%arg-1% &4[Au&fss&9ie] &7rank." to run [make player execute command "systemgrant %arg-1% Aussie"]
            format slot 48 of player with purple dye named "<##9400D3>[<##4B0082>L<##0000FF>G<##00FF00>B<##FFFF00>T<##FF7F00>Q<##FF0000>]" with lore "&7Grant &a%arg-1% <##9400D3>[<##4B0082>L<##0000FF>G<##00FF00>B<##FFFF00>T<##FF7F00>Q<##FF0000>] &7rank." to run [make player execute command "systemgrant %arg-1% Lgbtq"]
            format slot 39 of player with purple dye named "&4[<##9400D3>S<##4B0082>P<##0000FF>E<##00FF00>C<##FFFF00>I<##FF7F00>A<##FF0000>L&4]" with lore "&7Grant &a%arg-1% &4[<##9400D3>S<##4B0082>P<##0000FF>E<##00FF00>C<##FFFF00>I<##FF7F00>A<##FF0000>L&4] &7rank." to run [make player execute command "systemgrant %arg-1% Special"]
            format slot 16 of player with black dye named "&4[&cFired&4]" with lore "&7Grant &a%arg-1% &4[&cFired&4] &7rank." to run [make player execute command "systemgrant %arg-1% Fired"]
            format slot 15 of player with red dye named "&4[&c&lRACIST&4]" with lore "&7Grant &a%arg-1% &4[&c&lRACIST&4]&7 Rank." to run [make player execute command "systemgrant %arg-1% Racist"]
            format slot 6 of player with orange dye named "&6[&eChild&6]" with lore "&7Grant &a%arg-1% &6[&eChild&6]&7 Rank." to run [make player execute command "/systemgrant %arg-1% Child"]
            format gui slot 27,28,29,30,31,32,33,34,35,40,41,42,50,51 and 49 of player with gray glass pane named "&0&l" to close:

command /systemgrant [<offline player>] [<text>]:
    permission: core.grant
    permission message: &cYou cannot access our rank system.
    trigger:
        if arg-1 is not set:
            send "&cPlease specify a player."
        else:
            open chest with 3 rows named "&7Ranks: &a%arg-1%" to player
            wait 1 tick
            format slot 0 of player with green wool named "&a2h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a2 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 2h "" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l2&c Hours." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 2&c Hours." to player] 
            format slot 1 of player with green wool named "&a4h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a4 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 4h "" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l4&c Hours." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 4&c Hours." to player]    
            format slot 2 of player with green wool named "&a8h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a8 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 8h"" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l8&c Hours." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 8&c Hours." to player] 
            format slot 3 of player with green wool named "&a12h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a12 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 12h "" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l12&c Hours." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 12&c Hours." to player]   
            format slot 4 of player with green wool named "&a16h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a16 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 16h "" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l16&c Hours." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 16&c Hours." to player]  
            format slot 5 of player with green wool named "&a18h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a18 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 18h "" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l18&c Hours.." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 18&c Hours." to player]             
            format slot 6 of player with green wool named "&a24h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a24 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 24h "" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l24&c Hours." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 24&c Hours." to player]       
            format slot 7 of player with green wool named "&a48h" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &a48 hours" to close then run [make console execute command "lp user %arg-1% parent addtemp %arg-2% 48h "" "]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &cFor &4&l48&c Hours." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lFor 48&c Hours." to player] 
            format slot 8 of player with green wool named "&aForever" with lore "&7Grant &a%arg-1% &b%arg-2% &7for &aforever" to close then run [make console execute command "lp user %arg-1% parent set %arg-2%"]->[send "&4&lVelvetSurv>> &cYour Rank Has Changed To &4&l%arg-2% &4&lForever." to arg-1]->[send "&4&lVelvetSurv>> &cChanged &4&l%arg-1%&c's rank to &4&l%arg-2% &4&lForever." to player] 
            format slot 26 of player with green wool named "&aAdd" with lore "&7Add &a%arg-2% &7to &b%arg-1%" to close then run [make console execute command "lp user %arg-1% parent add %arg-2%"]->[send "&eRank &8» &7Promoted &b%arg-1% &7to &a%arg-2%." to arg-1]->[send "&4&lVelvetSurv>> &cAdded &4&l%arg-2%&c Rank To &4&l%arg-1% &4&lForever." to player] 

eww skquery. switch to skript-gui or vanilla guis, please.

Developer

 

Joined Minecraft in 2010 on PC

Joined Minehut in August 2016

1 year Skript experience

2 months Java experience

5 months Javascript experience

 

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...