Advertisement
Alfiebgtbhgh

Untitled

Sep 15th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.77 KB | None | 0 0
  1. command /grant [<offline player>] [<text>]:
  2. permission: core.grant
  3. permission message: &cYou cannot access our rank system.
  4. trigger:
  5. if arg-1 is not set:
  6. send "&cPlease specify a player."
  7. else:
  8. open chest with 3 rows named "&7Ranks: &a%arg-1%" to player
  9. wait 1 tick
  10. format slot 0 of player with red dye named "&4Owner" with lore "&7Grant &a%arg-1% &4Owner &7rank." to run [make player execute command "systemgrant %arg-1% Owner"]
  11. format slot 1 of player with yellow dye named "&eAdmin" with lore "&7Grant &a%arg-1% &eAdmin &7rank." to run [make player execute command "systemgrant %arg-1% Admin"]
  12. format slot 2 of player with green dye named "&2Mod" with lore "&7Grant &a%arg-1% &2Mod &7rank." to run [make player execute command "systemgrant %arg-1% Mod"]
  13. format slot 3 of player with blue dye named "&9Trainee" with lore "&7Grant &a%arg-1% &9Trainee &7rank." to run [make player execute command "systemgrant %arg-1% Trainee"]
  14. format slot 4 of player with cyan dye named "&3Builder" with lore "&7Grant &a%arg-1% &3Builder &7rank." to run [make player execute command "systemgrant %arg-1% Builder"]
  15. format slot 5 of player with purple dye named "&5Dev" with lore "&7Grant &a%arg-1% &5Dev &7rank." to run [make player execute command "systemgrant %arg-1% Dev"]
  16. format slot 6 of player with red dye named "&cYoutuber" with lore "&7Grant &a%arg-1% &cYoutuber &7rank." to run [make player execute command "systemgrant %arg-1% Youtuber"]
  17. format slot 9 of player with light blue dye named "&bMystic" with lore "&7Grant &a%arg-1% &bMystic &7rank." to run [make player execute command "systemgrant %arg-1% Mystic"]
  18. format slot 10 of player with orange dye named "&6Wizard" with lore "&7Grant &a%arg-1% &6Wizard &7rank." to run [make player execute command "systemgrant %arg-1% Wizard"]
  19. format slot 11 of player with light blue dye named "&bSorcerer" with lore "&7Grant &a%arg-1% &bSorcerer &7rank." to run [make player execute command "systemgrant %arg-1% Sorcerer"]
  20. format slot 12 of player with red dye named "&cGoblin" with lore "&7Grant &a%arg-1% &cGoblin &7rank." to run [make player execute command "systemgrant %arg-1% Goblin"]
  21. format slot 13 of player with gray dye named "&7Member" with lore "&7Grant &a%arg-1% &7Member rank." to run [make player execute command "systemgrant %arg-1% Member"]
  22. format slot 14 of player with gray dye named "&7Newbie" with lore "&7Grant &a%arg-1% &7Newbie rank." to run [make player execute command "systemgrant %arg-1% Guest"]
  23. format slot 22 of player with barrier named "&c&lCancel" to close
  24.  
  25. command /systemgrant [<offline player>] [<text>]:
  26. permission: core.grant
  27. permission message: &cYou cannot access our rank system.
  28. trigger:
  29. if arg-1 is not set:
  30. send "&cPlease specify a player."
  31. else:
  32. open chest with 3 rows named "&7Ranks: &a%arg-1%" to player
  33. wait 1 tick
  34. 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 "pex user %arg-1% group set %arg-2% "" 7200"]->[send "&eGrant &8» &7Added &b%arg-2% &7to &a%arg-1% &7group list for &a2 hours&7." to executor]
  35. 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 "pex user %arg-1% group set %arg-2% "" 14400"]->[send "&eGrant &8» &7Added &b%arg-2% &7to &a%arg-1% &7group list for &a4 hours&7." to executor]
  36. 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 "pex user %arg-1% group set %arg-2% "" 28800"]->[send "&eGrant &8» &7Added &b%arg-2% &7to &a%arg-1% &7group list for &a8 hours&7." to executor]
  37. 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 "pex user %arg-1% group set %arg-2% "" 43200"]->[send "&eGrant &8» &7Added &b%arg-2% &7to &a%arg-1% &7group list for &a12 hours&7." to executor]
  38. 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 "pex user %arg-1% group set %arg-2% "" 57600"]->[send "&eGrant &8» &7Added &b%arg-2% &7to &a%arg-1% &7group list for &a16 hours&7." to executor]
  39. 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 "pex user %arg-1% group set %arg-2% "" 64800"]->[send "&eGrant &8» &7Added &b%arg-2% &7to &a%arg-1% &7group list for &a18 hours&7." to executor]
  40. 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 "pex user %arg-1% group set %arg-2% "" 86400"]->[send "&eGrant &8» &7Added &b%arg-2% &7to &a%arg-1% &7group list for &a24 hours&7." to executor]
  41. 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 "pex user %arg-1% group set %arg-2% "" 172800"]->[send "&eGrant &8» &7Added &b%arg-2% &7to &a%arg-1% &7group list for &a48 hours&7." to executor]
  42. 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 "pex user %arg-1% group set %arg-2%"]->[send "&eGrant &8» &7Added &b%arg-2% &7to &a%arg-1% &7group list for &aforever&7." to executor]
  43.  
  44. on place of wither skeleton skull:
  45. cancel event
  46.  
  47. command /grant2 [<offline player>] [<text>]:
  48. permission: core.grant
  49. permission message: &cYou cannot access our rank system.
  50. trigger:
  51. if arg-1 is not set:
  52. send "&cPlease specify a player."
  53. else:
  54. open chest with 3 rows named "&e&lChoose a Rank" to player
  55. wait 1 tick
  56. format slot 0 of player with red wool named "&4Owner" with lore "&7&m----------------------------------" and "&eClick to grant &c%arg-1% &ethe &4Owner" and "&erank." and "&7&m----------------------------------" to be unstealable
  57. format slot 1 of player with light blue wool named "&cManager" with lore "&7&m----------------------------------" and "&eClick to grant &c%arg-1% &ethe &cManager" and "&erank." and "&7&m----------------------------------" to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement