Entities

Untitled

Oct 2nd, 2017
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. command /rank [<offline player>]:
  2. permission: chat.rank
  3. permission message: &cYou do not have the required permissions to execute this command.
  4. trigger:
  5. if arg-1 is not set:
  6. send "&cIncorrect usage format, /rank <player>"
  7. else if arg-1 is set:
  8. open chest with 5 rows named "&8Rank Selection &8(&n%arg-1%)" to player
  9. 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
  10. format slot 22 of player with paper named "&bRanks" to be unstealable
  11. 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"]
  12. 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"]
  13. 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"]
  14. 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"]
  15. 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"]
  16. 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