Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /systemgrant [<offline player>] [<text>]:
- permission: core.grant
- permission message: &cYou cannot access our rank system.
- trigger:
- if arg-1 is not set:
- send "&cPlease specify a player."
- else:
- open chest with 3 rows named "&7Ranks: &a%arg-1%" to player
- wait 1 tick
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- format slot 0 of player with red glass to be unstealable
- format slot 1 of player with white glass to be unstealable
- format slot 2 of player with red glass to be unstealable
- format slot 3 of player with white glass to be unstealable
- format slot 4 of player with red glass to be unstealable
- format slot 5 of player with white glass to be unstealable
- format slot 6 of player with red glass to be unstealable
- format slot 7 of player with white glass to be unstealable
- format slot 8 of player with red glass to be unstealable
- format slot 9 of player with white glass to be unstealable
- format slot 17 of player with white glass to be unstealable
- format slot 18 of player with red glass to be unstealable
- format slot 19 of player with white glass to be unstealable
- format slot 20 of player with red glass to be unstealable
- format slot 21 of player with white glass to be unstealable
- format slot 22 of player with red glass to be unstealable
- format slot 23 of player with white glass to be unstealable
- format slot 24 of player with red glass to be unstealable
- format slot 25 of player with white glass to be unstealable
- format slot 26 of player with red glass to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement