Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /setrank <offline player> <integer>:
- permission: set.rank
- trigger:
- set {rank::%arg 1's uuid%} to arg 2
- command /chatcolor <text>:
- permission: set.color
- trigger:
- if arg 1 is "Red":
- set {chatcolor::%player's uuid%} to "&4"
- if arg 1 is "Pink":
- set {chatcolor::%player's uuid%} to "&c"
- if arg 1 is "Gold":
- set {chatcolor::%player's uuid%} to "&6"
- if arg 1 is "Yellow":
- set {chatcolor::%player's uuid%} to "&e"
- if arg 1 is "Green":
- set {chatcolor::%player's uuid%} to "&2"
- if arg 1 is "Light Green":
- set {chatcolor::%player's uuid%} to "&a"
- if arg 1 is "Aqua":
- set {chatcolor::%player's uuid%} to "&b"
- if arg 1 is "Cyan":
- set {chatcolor::%player's uuid%} to "&3"
- if arg 1 is "Blue":
- set {chatcolor::%player's uuid%} to "&9"
- if arg 1 is "Light Purple":
- set {chatcolor::%player's uuid%} to "&d"
- if arg 1 is "White":
- set {chatcolor::%player's uuid%} to "&f"
- if arg 1 is "Gray":
- set {chatcolor::%player's uuid%} to "&7"
- if arg 1 is "Dark Gray":
- set {chatcolor::%player's uuid%} to "&8"
- if arg 1 is "Black":
- set {chatcolor::%player's uuid%} to "&0"
- if arg 1 is "Off":
- set {chatcolor::%player's uuid%} to ""
- command /nick <text> [<integer>]:
- permission: set.nick
- trigger:
- if {rank::%player's uuid%} is above 2:
- if arg 2 is between 0 and 4:
- set {nicked::%player's uuid%} to true
- set {nicked::rank::%player's uuid%} to arg 2
- set {nicked::name::%player's uuid%} to arg 1
- send "You have been nicked as &a%{nicked::name::%player's uuid%}%"
- if arg 1 is "off":
- set {nicked::%player's uuid%} to false
- set {nicked::rank::%player's uuid%} to 10000
- send "%{nicked::%player's uuid%}%"
- on chat:
- cancel event
- if {muted::%player's uuid%} is true:
- else:
- if {nicked::%player's uuid%} is false:
- if {rank::%player's uuid%} is 0:
- broadcast "&8[&3Default&8] &a%player%: %{chatcolor::%player's uuid%}%%message%"
- if {rank::%player's uuid%} is 1:
- broadcast "&8[&3VIP&8] &a%player%: &f%{chatcolor::%player's uuid%}%%message%"
- if {rank::%player's uuid%} is 2:
- broadcast "&8[&3Legend&8] &a%player%: &f%{chatcolor::%player's uuid%}%%message%"
- if {rank::%player's uuid%} is 3:
- broadcast "&8[&3God&8] &a%player%: &f%{chatcolor::%player's uuid%}%%message%"
- if {rank::%player's uuid%} is 4:
- broadcast "&8[&3Mythical&8] &a%player%: &f%{chatcolor::%player's uuid%}%%message%"
- if {rank::%player's uuid%} is 5:
- broadcast "&8[&1Helper&8] &a%player%: &f%{chatcolor::%player's uuid%}%%message%"
- if {rank::%player's uuid%} is 6:
- broadcast "&8[&3Jr. Mod&8] &a%player%: &f%{chatcolor::%player's uuid%}%%message%"
- if {rank::%player's uuid%} is 7:
- broadcast "&8[Mod&8] &a%player%: &f%{chatcolor::%player's uuid%}%%message%"
- if {rank::%player's uuid%} is 8:
- broadcast "&8[Sr. Mod&8] &a%player%: &f%{chatcolor::%player's uuid%}%%message%"
- if {rank::%player's uuid%} is 9:
- broadcast "&8[&cAdmin&8] &a%player%: &f%{chatcolor::%player's uuid%}%%message%"
- if {rank::%player's uuid%} is 10:
- broadcast "&8[&3Builder&8] &a%player%: &f%{chatcolor::%player's uuid%}%%message%"
- if {rank::%player's uuid%} is 11:
- broadcast "&8[&3Head-Builder&8] &a%player%: &f%{chatcolor::%player's uuid%}%%message%"
- if {rank::%player's uuid%} is 12:
- broadcast "&8[&cDeveloper&8] &a%player%: &f%{chatcolor::%player's uuid%}%%message%"
- if {rank::%player's uuid%} is 13:
- broadcast "&8[&cOwner&8] &a%player%: &b%{chatcolor::%player's uuid%}%%message%"
- if {nicked::%player's uuid%} is true:
- if {nicked::rank::%player's uuid%} is 0:
- broadcast "&8[&3Default&8] &a%{nicked::name::%player's uuid%}%: &7%message%"
- if {nicked::rank::%player's uuid%} is 1:
- broadcast "&8[&3VIP&8] &a%{nicked::name::%player's uuid%}%: &f%{chatcolor::%player's uuid%}%%message%"
- if {nicked::rank::%player's uuid%} is 2:
- broadcast "&8[&3Legend&8] &a%{nicked::name::%player's uuid%}%: &f%{chatcolor::%player's uuid%}%%message%"
- if {nicked::rank::%player's uuid%} is 3:
- broadcast "&8[&3God&8] &a%{nicked::name::%player's uuid%}%: &f%{chatcolor::%player's uuid%}%%message%"
- if {nicked::rank::%player's uuid%} is 4:
- broadcast "&8[&3Mythical&8] &a%{nicked::name::%player's uuid%}%: &f%{chatcolor::%player's uuid%}%%message%"
- on join:
- if {rank::%player's uuid%} is not set:
- set {rank::%player's uuid%} to 0
- if {nicked::%player's uuid%} is not set:
- set {nicked::%player's uuid%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement