Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

&k magic text in displayname is forcing whole message to be magic #21

Open
iZeusi opened this issue Dec 16, 2021 · 3 comments
Open

&k magic text in displayname is forcing whole message to be magic #21

iZeusi opened this issue Dec 16, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@iZeusi
Copy link

iZeusi commented Dec 16, 2021

Describe the bug
A user has &k magic text in prefix which is part of displayname.
They use our [i] to display an item, which makes the whole message randomize like &k magic.

To Reproduce
Steps to reproduce the behavior:
Add &k to displayname of user. Quickest way would probably be through Essentials /nickname.
Then display item in chat.

Expected behavior
A clear and concise description of what you expected to happen.
Message should show as normal; &k magic should only be in the prefix of the displayname as it is in normal messages.

Screenshots
If applicable, add screenshots to help explain your problem.
https://gyazo.com/ab79640cc41bdc15f03d110b75f18cc8

Required information
Server version text when using /version command? ____
https://gyazo.com/9ef96076945c6096ac8561e26e5968da
Plugin version when using /version DisplayItem command? ____
https://gyazo.com/407bd5cbfbac20ec0644e14da4e16176

Important to note this was occurring in the two DisplayItem versions previous.

@iZeusi iZeusi added the bug Something isn't working label Dec 16, 2021
@crashdemons
Copy link
Owner

Can you post your plugin config.yml or is it all default?

The config has &r both before the message (when using overridechatformat) and before the item (in the item display config) - which normally should block the formatting from &k... although I think I've noticed this in some testing in the past.

Do you use any chat-formatting plugins (ChatControl, Factions3, EssentialsChat, etc ...) ?

@iZeusi
Copy link
Author

iZeusi commented Dec 17, 2021

Full config:
https://pastebin.com/nKpxbZF4

I do use LuckPerms and EssentialsChat yeah.
Prefix is taken from LuckPerms which is then formatted in EssentialsChat.

Cheers.

@crashdemons
Copy link
Owner

sorry about that, I accidentally clicked

@crashdemons crashdemons mentioned this issue Jun 30, 2022
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants