LuckPerms

LuckPerms

41.4k Downloads

Chat formatting problem

Ordwen opened this issue ยท 3 comments

commented

Hello,

I am having a problem with chat formatting. To manage the chat, I use the plugin TownyChat, which is essential to me. I added in the default format {permprefix} so, to display the prefixes.

I have also configured the meta formatting, to display two different prefixes (one representing the player rank and another the Staff rank).

Only one of them is necessarily duplicated, even though I have removed the duplication option.

I leave you below pictures for you to understand, I hope you will help me, thank you very much!

TownyChat config
Meta formatting
Chat exemple

Thanks !

commented

Removing the duplicates: first-only does exactly the opposite of what you want. Re-add it to only have each prefix once without any duplicates.

Also, next time add the images directly into your issue by just drag and drop them here to upload or with ![](url-to-image)

commented

Hello,

Thank you for your reply.
But with or without this option, the result is the same, except that it is the prefix "[Citoyen]" which is duplicated ...

commented

Hello,

The problem was actually TownyChat. I would have taken many hours to understand it, but I was not using the good placeholder. Indeed, I had to use {permuserprefix} and not {permprefix} ... Too bad for me.