Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /rank [<offline player>]:
- permission: chat.rank
- permission message: &cYou do not have the required permissions to execute this command.
- trigger:
- if arg-1 is not set:
- send "&cIncorrect usage format, /rank <player>"
- else if arg-1 is set:
- open chest with 5 rows named "&8Rank Selection &8(&n%arg-1%)" to player
- format slot 4 of player with arg-1's skull named "&bModifying %arg-1%" with lore "||&rIn this GUI you can modify||&r%arg-1%'s rank.||||&bCurrent Rank||&r &r● &r%{shortrank.%arg-1's uuid%}%" to be unstealable
- format slot 22 of player with paper named "&bRanks" to be unstealable
- format slot 29 of player with book named "&4Owner" with lore "||&rClick to change %arg-1%'s rank||&rto owner." to close then run [make player execute "pex user %arg-1% group set Owner"]
- format slot 30 of player with book named "&9Dev" with lore "||&rClick to change %arg-1%'s rank||&rto developer." to close then run [make player execute "pex user %arg-1% group set Dev"]
- format slot 31 of player with book named "&cAdmin" with lore "||&rClick to change %arg-1%'s rank||&rto administrator." to close then run [make player execute "pex user %arg-1% group set Admin"]
- format slot 32 of player with book named "&5Mod" with lore "||&rClick to change %arg-1%'s rank||&rto moderator." to close then run [make player execute "pex user %arg-1% group set Mod"]
- format slot 33 of player with book named "&dTrial Mod" with lore "||&rClick to change %arg-1%'s rank||&rto trial moderator." to close then run [make player execute "pex user %arg-1% group set TMod"]
- format slot 40 of player with book named "&7User" with lore "||&rClick to change %arg-1%'s rank||&rto user." to close then run [make player execute "pex user %arg-1% group set Default"]
Add Comment
Please, Sign In to add comment