Advertisement
Guest User

The /setrank script

a guest
Feb 16th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.03 KB | None | 0 0
  1. command /setrank [<offline player>]:
  2. aliases: /srk , /sr
  3. permission: system.rank
  4. permission message: &1SetRank> &7No Permission
  5. trigger:
  6. if arg-1 is not set:
  7. send "&e/rank <player> &7- Give users ranks &e[&dStaff&7:&dDonator&7:&dYT&e]"
  8. send "&e/setrank <player> &7- Give users ranks &e[&dStaff&7:&dDonator&7:&dYT&e]"
  9. else:
  10. open chest with 1 rows named "&cSetRank Menu" to player
  11. wait 4 tick
  12.  
  13. format slot 0 of player with paper named "&3&lStaff Ranks" to run [make player execute command "SetRank1 %arg-1%"]
  14. format slot 1 of player with Red Stained Glass Pane named "&3&lClose" to close
  15. format slot 2 of player with Blue Stained Glass Pane named "&3&lClose" to close
  16. format slot 3 of player with Yellow Stained Glass Pane named "&3&lClose" to close
  17. format slot 4 of player with Green Stained Glass Pane named "&3&lClose" to close
  18. format slot 5 of player with Cyan Stained Glass Pane named "&3&lClose" to close
  19. format slot 6 of player with Brown Stained Glass Pane named "&3&lClose" to close
  20. format slot 7 of player with White Stained Glass Pane named "&3&lClose" to close
  21. format slot 8 of player with paper named "&3&lDonators/YT/Members Ranks" to run [make player execute command "SetRank2 %arg-1%"]
  22. command /SetRank1 [<offline player>]:
  23. aliases: /SR1 , /sk1
  24. permission: system.rank
  25. permission message: &1SetRank> &7No Permission
  26. trigger:
  27. if arg-1 is not set:
  28. send "&4"
  29. else:
  30. open chest with 6 rows named "&cStaff Ranks" to player
  31. wait 4 tick
  32.  
  33. format slot 0 of player with paper named "&3&lBack" to run [make player execute command "setrank %arg-1%"]
  34. format slot 6 of player with book named "&4Owner &rGroup" with lore "&9Rank players to Owner" to close then run [make player execute command "manuadd %arg-1% Owner"]
  35. format slot 5 of player with book named "&4Co-Owner &rGroup" with lore "&9Rank players to Owner" to close then run [make player execute command "manuadd %arg-1% CoOwner"]
  36. format slot 4 of player with book named "&eDeveloper &rGroup" with lore "&9Rank players to Co-Owner." to close then run [make player execute command "manuadd %arg-1% Developer"]
  37. format slot 3 of player with book named "&cAdmin Group" with lore "&9Rank players to Admin." to close then run [make player execute command "manuadd %arg-1% Admin"]
  38. format slot 2 of player with book named "&2Mod &rGroup" with lore "&9Rank players to Mod." to close then run [make player execute command "manuadd %arg-1% Mod"]
  39. format slot 1 of player with book named "&bHelper &rGroup" with lore "&9Rank players to Helper." to close then run [make player execute command "manuadd %arg-1% Helper"]
  40. command /SetRank2 [<offline player>]:
  41. aliases: /SR2 , /sk2
  42. permission: system.rank
  43. permission message: &1SetRank> &7No Permission
  44. trigger:
  45. if arg-1 is not set:
  46. send "&4"
  47. else:
  48. open chest with 6 rows named "&cOther ranks" to player
  49. wait 4 tick
  50. format slot 0 of player with paper named "&3&lBack" to run [make player execute command "setrank %arg-1%"]
  51. format slot 1 of player with book named "&8Default &rGroup" with lore "&9Rank players to Default." to close then run [make player execute command "manuadd %arg-1% Default"]
  52. format slot 2 of player with book named "&aVIP &rGroup" with lore "&9Rank players to VIP." to close then run [make player execute command "manuadd %arg-1% VIP"]
  53. format slot 3 of player with book named "&5Legend &rGroup" with lore "&9Rank players to Legend." to close then run [make player execute command "manuadd %arg-1% Legend"]
  54. format slot 4 of player with book named "&6God &rGroup" with lore "&9Rank players to God." to close then run [make player execute command "manuadd %arg-1% God"]
  55. format slot 5 of player with book named "&4You&rtuber Group" with lore "&9Rank players to Youtuber." to close then run [make player execute command "manuadd %arg-1% Youtuber"]
  56. format slot 6 of player with book named "&bSkyBlockGod &rGroup" with lore "&9Rank players to SkyBlockGod." to close then run [make player execute command "manuadd %arg-1% SkyBlockGod"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement