Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /grant [<player>] [<text>]:
- permission: admin.grant
- permission message: &cYou cannot access the rank system.
- trigger:
- if arg-1 is not set:
- send "&cPlease specify a player." to player
- else:
- if arg-2 is not set:
- send "&cSpecify what you're granting [Ranks | Prefixes | Suffixes]." to player
- else if arg-2 is "rank" or "ranks":
- open virtual chest inventory with size 3 named "&8Grant a rank to %arg-1%" to player
- format gui slot 0 of player with black wool named "&4&lOwner" to run:
- make player execute command "setrank %arg-1% owner"
- format gui slot 1 of player with red wool named "&c&lAdmin" to run:
- make player execute command "setrank %arg-1% admin"
- format gui slot 2 of player with purple wool named "&5&lMod" to run:
- make player execute command "setrank %arg-1% mod"
- format gui slot 3 of player with pink wool named "&d&lJr. Mod" to run:
- make player execute command "setrank %arg-1% jrmod"
- format gui slot 4 of player with yellow wool named "&e&lHelper" to run:
- make player execute command "setrank %arg-1% helper"
- format gui slot 5 of player with orange wool named "&6&lDev" to run:
- make player execute command "setrank %arg-1% dev"
- format gui slot 6 of player with light blue wool named "&b&lBuilder" to run:
- make player execute command "setrank %arg-1% builder"
- format gui slot 7 of player with red mushroom block named "&cYou&ftuber" to run:
- make player execute command "setrank %arg-1% youtuber"
- format gui slot 8 of player with coal block named "&7Coal" to run:
- make player execute command "setrank %arg-1% coal"
- format gui slot 9 of player with iron block named "&fIron" to run:
- make player execute command "setrank %arg-1% iron"
- format gui slot 10 of player with gold block named "&6Gold" to run:
- make player execute command "setrank %arg-1% gold"
- format gui slot 11 of player with lapis block named "&1Lapis" to run:
- make player execute command "setrank %arg-1% lapis"
- format gui slot 12 of player with redstone block named "&4Redstone" to run:
- make player execute command "setrank %arg-1% redstone"
- format gui slot 13 of player with diamond block named "&bDiamond" to run:
- make player execute command "setrank %arg-1% diamond"
- format gui slot 13 of player with white wool named "&bChat Bypass" to run:
- make player execute command "lp user %arg-1% permission set admin.chatmute.bypass true"
- format gui slot 22 of player with barrier named "&c&lCancel" to close
- else if arg-2 is "prefix" or "prefixes":
- open virtual chest inventory with size 3 named "&8Grant" to player
- format gui slot 0 of player with polished andesite named "&8&lGlitch" to run:
- make player execute command "setprefix %arg-1% '&8&l[&b&kG&7&kl&b&ki&7&kt&b&kc&7&kh '"
- command /setrank [<offline player>] [<text>]:
- permission: admin.setrank
- permission message: &cYou cannot access our rank system.
- trigger:
- if arg-1 is not set:
- send "&cPlease specify a player."
- else:
- open virtual chest with size 1 named "&8Grant %arg-2% rank to %arg-1%" to player
- format gui slot 3 of player with green wool named "&aConfirm" to close:
- make console execute command "/lp user %arg-1% parent set %arg-2%"
- send "&cYou updated %arg-1%'s rank to &e%arg-2%"
- send "&cYour rank has been updated to &e%arg-2%" to arg-1
- format gui slot 5 of player with red wool named "&cCancel" to close
- command /setprefix [<offline player>] [<text>]:
- permission: admin.setprefix
- permission message: &cYou cannot access the rank system.
- trigger:
- if arg-1 is not set:
- send "&cPlease specify a player."
- else:
- open virtual chest with size 1 named "&8Set Prefix to %arg-2% for %arg-1%" to player
- format gui slot 3 of player with green wool named "&aConfirm" to close:
- make console execute command "/lp user %arg-1% meta prefix add %arg-2%"
- send "&cYou updated %arg-1%'s prefix to &e%arg-2%"
- send "&cYour rank has been updated to &e%arg-2%" to arg-1
- format gui slot 5 of player with red wool named "&cCancel" to close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement