Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /grant [<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 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- format slot 22 of player with barrier named "&c&lCancel" to close
- 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 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- on place of wither skeleton skull:
- cancel event
- command /grant2 [<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 "&e&lChoose a Rank" to player
- wait 1 tick
- format slot 0 of player with red wool named "&4Owner" with lore "&7&m----------------------------------" and "&eClick to grant &c%arg-1% ðe &4Owner" and "&erank." and "&7&m----------------------------------" to be unstealable
- format slot 1 of player with light blue wool named "&cManager" with lore "&7&m----------------------------------" and "&eClick to grant &c%arg-1% ðe &cManager" and "&erank." and "&7&m----------------------------------" to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement