Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /rank [<offline player>] [<text>]:
- permission: command.rank
- permission message: &cYou don't have permission to execute this command!
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- if arg-2 is "owner":
- set {displayrank.%arg-1's uuid%} to "&rOwner"
- set {rank.%arg-1's uuid%} to "&7[&4Owner&7] &4"
- set {staffuser.%arg-1's uuid%} to true
- set tab list name of arg-1 to "%{rank.%arg-1's uuid%}%%arg-1%"
- message "&7[&c&l*&7] Set rank of &r%arg-1% &7to &rOwner" to player
- message "&7[&c&l*&7] Rank updated to &rOwner" to arg-1
- else if arg-2 is "manager":
- set {displayrank.%arg-1's uuid%} to "&rManager"
- set {rank.%arg-1's uuid%} to "&7[&4Manager&7] &4"
- set {staffuser.%arg-1's uuid%} to true
- set tab list name of arg-1 to "%{rank.%arg-1's uuid%}%%arg-1%"
- message "&7[&c&l*&7] Set rank of &r%arg-1% &7to &rManager" to player
- message "&7[&c&l*&7] Rank updated to &rManager" to arg-1
- else if arg-2 is "admin":
- set {displayrank.%arg-1's uuid%} to "&rAdmin"
- set {rank.%arg-1's uuid%} to "&7[&cAdmin&7] &c"
- set {staffuser.%arg-1's uuid%} to true
- set tab list name of arg-1 to "%{rank.%arg-1's uuid%}%%arg-1%"
- message "&7[&c&l*&7] Set rank of &r%arg-1% &7to &rAdmin" to player
- message "&7[&c&l*&7] Rank updated to &rAdmin" to arg-1
- else if arg-2 is "mod+":
- set {displayrank.%arg-1's uuid%} to "&rMod Plus"
- set {rank.%arg-1's uuid%} to "&7[&3Mod+&7] &3"
- set {staffuser.%arg-1's uuid%} to true
- set tab list name of arg-1 to "%{rank.%arg-1's uuid%}%%arg-1%"
- message "&7[&c&l*&7] Set rank of &r%arg-1% &7to &rMod Plus" to player
- message "&7[&c&l*&7] Rank updated to &rMod Plus" to arg-1
- else if arg-2 is "mod":
- set {displayrank.%arg-1's uuid%} to "&rMod"
- set {rank.%arg-1's uuid%} to "&7[&5Mod&7] &5"
- set {staffuser.%arg-1's uuid%} to true
- set tab list name of arg-1 to "%{rank.%arg-1's uuid%}%%arg-1%"
- message "&7[&c&l*&7] Set rank of &r%arg-1% &7to &rMod" to player
- message "&7[&c&l*&7] Rank updated to &rMod" to arg-1
- else if arg-2 is "tmod":
- set {displayrank.%arg-1's uuid%} to "&rTrial Mod"
- set {rank.%arg-1's uuid%} to "&7[&dTrial-Mod&7] &d"
- set {staffuser.%arg-1's uuid%} to true
- set tab list name of arg-1 to "%{rank.%arg-1's uuid%}%%arg-1%"
- message "&7[&c&l*&7] Set rank of &r%arg-1% &7to &rTrial ModMod" to player
- message "&7[&c&l*&7] Rank updated to &rTrial Mod" to arg-1
- else:
- message "&cIncorrect Usage Format: <Required> [Optional]"
- message "&cIncorrect usage, &n/rank <player> [rank]"
- else:
- message "&cIncorrect Usage Format: <Required> [Optional]"
- message "&cIncorrect usage, &n/rank <player> [rank]"
- on chat:
- cancel event
- set tab list name of player to "%{rank.%player's uuid%}%%player%"
- broadcast "&7(%{level.%player's uuid%}%&7) %{rank.%player's uuid%}%%player% &7%message%"
- command /is:
- trigger:
- open chest with 3 rows named "&8Island Menu" to player
- format slot 10 of player with page named "&cIsland Creation" with lore "||&rCreate your own island.||&rAlso works as a method of||&rtransporting to your island." to close then run [make player execute "island"]
- format slot 11 of player with page named "&cIsland Settings" with lore "||&rChange your island||&rsettings." to close then run [make player execute "island settings"]
- format slot 12 of player with page named "&cIsland Reset" with lore "||&rRemove and start your||&risland over again." to close then run [make player execute "island reset"]
- format slot 13 of player with empty map named "&cIsland Lock" with lore "||&rLock your island from||&rother players." to close then run [make player execute "island lock"]
- format slot 14 of player with page named "&cIsland Top" with lore "||&rView the top island." to close then run [make player execute "island top"]
- format slot 15 of player with page named "&cIsland Challenges" with lore "||&rView all the island||&rchallenges." to close then run [make player execute "island challenges"]
- format slot 16 of player with page named "&cTeam Menu" with lore "||&rView the team menu||&rAdd, remove and chat||&rto your island members." to close then run [make player execute "team"]
- command /team:
- trigger:
- open chest with 3 rows named "&8Team Menu" to player
- format slot 11 of player with page named "&cInvite Members" with lore "||&rInvite members to join||&ryou on your island." to close then run [execute player command "/island invite"]
- format slot 12 of player with page named "&cAccept Members" with lore "||&rAccept members to join||&ryou on your island." to close then run [execute player command "/island accept"]
- format slot 13 of player with empty map named "&cTeam" with lore "" to close then run [execute player command "/island team"]
- format slot 14 of player with page named "&cTeam Chat" with lore "||&rCommunicate with your||&risland team." to close then run [execute player command "/island teamchat"]
- format slot 15 of player with page named "&cGo back" with lore "&||&rReturn to the island menu" to run [make player execute command "/is"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement