Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /setrank [<offline player>]:
- aliases: /srk , /sr
- permission: system.rank
- permission message: &1SetRank> &7No Permission
- trigger:
- if arg-1 is not set:
- send "&e/rank <player> &7- Give users ranks &e[&dStaff&7:&dDonator&7:&dYT&e]"
- send "&e/setrank <player> &7- Give users ranks &e[&dStaff&7:&dDonator&7:&dYT&e]"
- else:
- open chest with 1 rows named "&cSetRank Menu" to player
- wait 4 tick
- format slot 0 of player with paper named "&3&lStaff Ranks" to run [make player execute command "SetRank1 %arg-1%"]
- format slot 1 of player with Red Stained Glass Pane named "&3&lClose" to close
- format slot 2 of player with Blue Stained Glass Pane named "&3&lClose" to close
- format slot 3 of player with Yellow Stained Glass Pane named "&3&lClose" to close
- format slot 4 of player with Green Stained Glass Pane named "&3&lClose" to close
- format slot 5 of player with Cyan Stained Glass Pane named "&3&lClose" to close
- format slot 6 of player with Brown Stained Glass Pane named "&3&lClose" to close
- format slot 7 of player with White Stained Glass Pane named "&3&lClose" to close
- format slot 8 of player with paper named "&3&lDonators/YT/Members Ranks" to run [make player execute command "SetRank2 %arg-1%"]
- command /SetRank1 [<offline player>]:
- aliases: /SR1 , /sk1
- permission: system.rank
- permission message: &1SetRank> &7No Permission
- trigger:
- if arg-1 is not set:
- send "&4"
- else:
- open chest with 6 rows named "&cStaff Ranks" to player
- wait 4 tick
- format slot 0 of player with paper named "&3&lBack" to run [make player execute command "setrank %arg-1%"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- command /SetRank2 [<offline player>]:
- aliases: /SR2 , /sk2
- permission: system.rank
- permission message: &1SetRank> &7No Permission
- trigger:
- if arg-1 is not set:
- send "&4"
- else:
- open chest with 6 rows named "&cOther ranks" to player
- wait 4 tick
- format slot 0 of player with paper named "&3&lBack" to run [make player execute command "setrank %arg-1%"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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