Doubles Prefix Bug !
Marrr999 opened this issue · 9 comments
Description
Double Prefix Problem !
When I chat on the server, the chat displays something like: [MVP+][MVP+]Rennmaa :
Reproduction Steps
Dont Know
Expected Behaviour
I only want to use 1 prefix instead of 2 prefixes ! For example :
[MVP+]Rennmaa :
Server Details
Paper MC 1.16.5
LuckPerms Version
v5.4.9
Logs and Configs
Extra Details
Hi there!
This is actually not a mistake on LuckPerms' side. If you don't believe me, you can check that with /lp user <yourname> info
. Your prefix there will show only once. The second prefix is added due to the following reason:
➢ As described inside your essentials config file (chat section), using {DISPLAYNAME}
and {PREFIX}
together in your chat format while 'add-prefix-suffix'
is not set to false will result in double prefixes. This is because {DISPLAYNAME}
equals to prefix+name
, adding another {PREFFIX}
in front of it will result in prefix + prefix + name
.
You have two options to fix this.
Either:
1.) Find the setting called 'add-prefix-suffix'
in your essentials config and remove the # in front of it and make sure it's set to false
or
2.) Remove the {PREFIX} placeholder from your chat format since displayname already contains the prefix.
Keep in mind that LuckPerms will never force prefixes into your chat since it's not a chat plugin.
Hope this helps you.
Edit: I just had a look at your config for essentials, didn't see it there before. It appears the chat format is not consistent with the picture you provided (the first part [1002*]), so maybe you have another chat plugin? The principle would be the same though unless you configured meta-stacking in your LuckPerms config?
This might be faster/more convenient to discussed on discord, feel free to stop by here https://discord.gg/luckperms
Yea I saw that afterwards, that's why I asked if you configured meta-stacking in your LuckPerms config.
Sorry for my slow brain. Could you please show us how you are stacking prefixes in LuckPerms?
Thats the output when Im write CMDs "/lp user Rennmaa info
And you can see when I type chat , My name changed to like that , I hope you can help to solve this
I'm going to close this, as it isn't a LuckPerms issue. You can see that the prefix is configured correctly within LP as confirmed by the user info command.
Your issue is with your chat plugin, maybe show /plugins
so we can see what plugins you are using that may affect the chat.
Also it would be much easier if you joined our Discord to resolve the problem.