Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on login:
- if {cc1.%player%} is not set:
- set {cc1.%player%} to "<white>"
- on chat:
- set {_a} to message
- if {cc1.%player%} is not "<white>":
- set message to "<%{cc1.%player%}%>%{_a}%"
- else:
- set message to "%message%"
- command /setcc [<color>]:
- permission: chatcolor.use
- trigger:
- close player's inventory
- set {cc1.%player%} to arg 1
- send "&7[&cReflex&7] &7You set your chat color to: <%arg 1%>%arg 1%&7."
- command /chatcolor:
- permission: chatcolor.use
- permission message: &7[&cReflex&7] &7This is a &cDonator Perk&7!
- trigger:
- open chest with 2 rows named "&c&lChat Color" to player
- format slot 0 of player with blue stained glass named "&1Dark Blue" to run [execute player command "/setcc Blue"]
- format slot 1 of player with green stained glass named "&2Dark Green" to run [execute player command "/setcc Green"]
- format slot 2 of player with cyan stained glass named "&3Cyan" to run [execute player command "/setcc Cyan"]
- format slot 3 of player with red stained glass named "&4Red" to run [execute player command "/setcc Red"]
- format slot 4 of player with purple stained glass named "&5Purple" to run [execute player command "/setcc Purple"]
- format slot 5 of player with orange stained glass named "&6Orange" to run [execute player command "/setcc Orange"]
- format slot 6 of player with black stained glass named "&8Dark Gray" to run [execute player command "/setcc Dark Grey"]
- format slot 7 of player with purple stained glass named "&9Indigo" to run [execute player command "/setcc Indigo"]
- format slot 8 of player with light green glass named "&aGreen" to run [execute player command "/setcc Light Green"]
- format slot 11 of player with light blue glass named "&bAqua" to run [execute player command "/setcc light aqua"]
- format slot 12 of player with pink stained glass named "&cPink" to run [execute player command "/setcc Pink"]
- format slot 13 of player with magenta stained glass named "&dMagenta" to run [execute player command "/setcc Magenta"]
- format slot 14 of player with yellow stained glass named "&eYellow" to run [execute player command "/setcc Yellow"]
- format slot 15 of player with white stained glass named "&fWhite" to run [execute player command "/setcc White"]
- format slot 17 of player with compass named "&7&lDisable" to run [execute player command "/setcc gray"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement