Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.90 KB | None | 0 0
  1. command /systemgrant [<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 10 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]
  11. format slot 11 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]
  12. format slot 12 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]
  13. format slot 13 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]
  14. format slot 14 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]
  15. format slot 15 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]
  16. format slot 16 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]
  17. format slot 0 of player with red glass to be unstealable
  18. format slot 1 of player with white glass to be unstealable
  19. format slot 2 of player with red glass to be unstealable
  20. format slot 3 of player with white glass to be unstealable
  21. format slot 4 of player with red glass to be unstealable
  22. format slot 5 of player with white glass to be unstealable
  23. format slot 6 of player with red glass to be unstealable
  24. format slot 7 of player with white glass to be unstealable
  25. format slot 8 of player with red glass to be unstealable
  26. format slot 9 of player with white glass to be unstealable
  27. format slot 17 of player with white glass to be unstealable
  28. format slot 18 of player with red glass to be unstealable
  29. format slot 19 of player with white glass to be unstealable
  30. format slot 20 of player with red glass to be unstealable
  31. format slot 21 of player with white glass to be unstealable
  32. format slot 22 of player with red glass to be unstealable
  33. format slot 23 of player with white glass to be unstealable
  34. format slot 24 of player with red glass to be unstealable
  35. format slot 25 of player with white glass to be unstealable
  36. format slot 26 of player with red glass to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement