PlanetTeamSpeakk/Chattix

Parse luckperm placeholders before parsing formatting

Closed this issue · 2 comments

I am trying to setup prefix formatting using luckperms with the following but the result is that it prints out <color:red> instead of it turning the font red.

<color:%luckperms_group_meta:prefix-color%>%luckperms_prefix%</color>

image

Hmm, I guess that would be a result of placeholders being parsed after the minimessage format.

Fixed in an upcoming version. Certain placeholders will now be parsed before the minimessage format gets parsed. This includes the luckperms group/user meta placeholders, the name placeholder, the old name placeholder and the world placeholder.

P.S. you can of course just include the colour of the prefix of a group in the prefix itself using something like &c&lAdmin.