
Multiple Prefixes
Closed this issue ยท 9 comments
So I have prefixes assigned by groups on a single track, with 8 groups, and their prefixes ranging from 1 to 8. I have a feature on my server "titles" which uses LuckPerms to add a prefix on top of the user's group prefix and to replace it. But when I add this, it just adds on. So if they were [Member] then bought [King] title the end result would be '[Member] [King] user: chat' which isn't what I want, solely the [King] title. I am using "highest" as the option for prefix stacking. Here is my config, and .yml file for the User and Group. I tried to include as much info as possible, if more is needed let me know. Thanks for the great plugin!
If you're using "highest", then only one value will be used.
Perhaps the extra prefix is being added by your chat plugin?
I'm using Towny chat, and it's fairly clear to me that it's not causing the problem but rather that LuckPerms is reading two of my prefixes, sorry for the late reply but please don't keep this issue closed.
My towny configuration for chat is:
global: '{permprefix}&7{modplayername} {towntag}:' and I can't see how this would add a second prefix unless I'm using the wrong towny chat+LuckPerms placeholder. Appreciate the help,
Luc
Actually no, this is a Towny bug.
{permprefix}
will include both the players own prefix, and the prefix of their primary group. Nothing to do with LuckPerms.
I suggest you switch to a chat formatting plugin which works. There's a list of suggestions here:
https://github.com/lucko/LuckPerms/wiki/Prefixes,-Suffixes-&-Meta#displaying-prefixes-and-suffixes
still an on-going issue with latest townychat version & this, if anyone is still tracking this issue