KKallas Posted December 20, 2019 Share Posted December 20, 2019 on join: if {chatcolor.%player%} is not set: set {chatcolor.%player%} to "&f" on chat: cancel event broadcast "%player's display name% &e»&r %{chatcolor.%player%}%%message%" command /color [<text>]: aliases: /c trigger: if arg-1 is not set: send "&8&l[&6&lColor&8&l] &6/color &1Blue, &2Green, &3DarkAqua, &4Red, &5Purple, &6Gold, &7Grey, &8DarkGrey, &9LightBlue, &aLightGreen, &bAqua, &cLightRed, &dLightPurple, &eYellow, &fWhite, &6B(old),I(talic) at end to change" to player if arg-1 is "Blue": set {chatcolor.%player%} to "&1" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "Green": set {chatcolor.%player%} to "&2" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "DarkAqua": set {chatcolor.%player%} to "&3" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "Red": set {chatcolor.%player%} to "&4" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "Purple": set {chatcolor.%player%} to "&5" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "Gold": set {chatcolor.%player%} to "&6" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "Grey": set {chatcolor.%player%} to "&7" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "DarkGrey": set {chatcolor.%player%} to "&8" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "LightBlue": set {chatcolor.%player%} to "&9" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "LightGreen": set {chatcolor.%player%} to "&a" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "Aqua": set {chatcolor.%player%} to "&b" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "LightRed": set {chatcolor.%player%} to "&c" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "LightPurple": set {chatcolor.%player%} to "&d" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "Yellow": set {chatcolor.%player%} to "&e" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "White": set {chatcolor.%player%} to "&f" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "BlueB": set {chatcolor.%player%} to "&1&l" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "GreenB": set {chatcolor.%player%} to "&2&l" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "DarkAquaB": set {chatcolor.%player%} to "&3&l" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "RedB": set {chatcolor.%player%} to "&4&l" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "PurpleB": set {chatcolor.%player%} to "&5&l" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "GoldB": set {chatcolor.%player%} to "&6&l" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "GreyB": set {chatcolor.%player%} to "&7&l" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "DarkGreyB": set {chatcolor.%player%} to "&8&l" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "LightBlueB": set {chatcolor.%player%} to "&9&l" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "LightGreenB": set {chatcolor.%player%} to "&a&l" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "AquaB": set {chatcolor.%player%} to "&b&l" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "LightRedB": set {chatcolor.%player%} to "&c&l" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "LightPurpleB": set {chatcolor.%player%} to "&d&l" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "YellowB": set {chatcolor.%player%} to "&e&l" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "WhiteB": set {chatcolor.%player%} to "&f&l" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "BlueI": set {chatcolor.%player%} to "&1&o" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "GreenI": set {chatcolor.%player%} to "&2&o" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "DarkAquaI": set {chatcolor.%player%} to "&3&o" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "RedI": set {chatcolor.%player%} to "&4&o" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "PurpleI": set {chatcolor.%player%} to "&5&o" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "GoldI": set {chatcolor.%player%} to "&6&o" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "GreyI": set {chatcolor.%player%} to "&7&o" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "DarkGreyI": set {chatcolor.%player%} to "&8&o" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "LightBlueI": set {chatcolor.%player%} to "&9&o" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "LightGreenI": set {chatcolor.%player%} to "&a&o" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "AquaI": set {chatcolor.%player%} to "&b&o" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "LightRedI": set {chatcolor.%player%} to "&c&o" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "LightPurpleI": set {chatcolor.%player%} to "&d&o" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "YellowI": set {chatcolor.%player%} to "&e&o" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player if arg-1 is "WhiteI": set {chatcolor.%player%} to "&f&o" send "&8&l[&6&lColor&8&l] &6Color succesfully changed!" to player Prefixes don't work, why? Link to comment Share on other sites More sharing options...
HyperFlame Posted December 27, 2019 Share Posted December 27, 2019 Hello KKallas! Please note that I assumed when you said "prefixes" that you mean group prefixes, as in prefixes that are part of a permissions plugin. After testing your skript on my server I ran into no issues with changing my chat color as well as keeping my group prefix. I used your skript as well as Luck Perms to test it. If you would like further assistance could you please provide me with your permissions plugin as well as other another possible plugins that you suspect may be preventing your prefix from showing such as plugins that alter chat. Thanks! Link to comment Share on other sites More sharing options...
zKoro Posted December 28, 2019 Share Posted December 28, 2019 (edited) Do you mean the prefix before "Colour successfully changed?" Try making an option for it Options: colorPrefix: "&8&l[&6&lColor&8&l]" # Then add it in to your code by doing the following: send "{@colorPrefix} Yada yada yada" Edited December 28, 2019 by Koroonotchii ⮞ Junior Mod (01/04/2020) - Resigned ⮜ ⮞ Discord » Koronotchi#0001 ⮜⮞ Minecraft Username » Koronotchi ⮜ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now