I have a custom chat filter using skript and I am trying to use my custom hex code colored prefixes from LuckPerms in the chat message before the users name.
This is the block that I am using to set the players chat formatting.
This is the result I am getting in chat.
This is what it is supposed to look like and displays properly in the tab list.
Plugins I have installed: Skript 2.7.2, skript-gui 1.3, Skellet 2.0.9, DiSky 4.12.0, MorzazSK 1.3, skript-reflect 2.3, SkQuery 4.1.10, SkBee 2.18.4, Vault 1.7.3-b131, and PlaceholderAPI 2.11.4.
code_language.skript:
on chat:
loop all players:
if message contains "%loop-player%":
play sound "entity_experience_orb_pickup" to loop-player
replace all "%loop-player%" in message with "&a%loop-player%%{color::%player's uuid%}%"
set chat format to "%coloured player's prefix% %coloured player's displayname% &8» %{color::%player's uuid%}%%message%"
This is the block that I am using to set the players chat formatting.
This is the result I am getting in chat.
This is what it is supposed to look like and displays properly in the tab list.
Plugins I have installed: Skript 2.7.2, skript-gui 1.3, Skellet 2.0.9, DiSky 4.12.0, MorzazSK 1.3, skript-reflect 2.3, SkQuery 4.1.10, SkBee 2.18.4, Vault 1.7.3-b131, and PlaceholderAPI 2.11.4.