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

&r sets to '<reset>' instead of resetting. #125

Open
Zatiejo opened this issue Dec 25, 2023 · 0 comments
Open

&r sets to '<reset>' instead of resetting. #125

Zatiejo opened this issue Dec 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Zatiejo
Copy link

Zatiejo commented Dec 25, 2023

Color Code '&r' sets to '<.reset.>' instead of resetting any color code values previous from it.
Originally, there was a noticable issue with players nicknames affecting their chat messages from the formatting of their nicks. (such as bold nicknames occurring from the nickname using the bold color code '&l'.) I tried just adding the '&r' after the displayname placeholder, but it just say's <.reset.>. (Can find this in screenshots)
Also tried to let users just add it to the end of their usernames to perhaps see if it works there instead. Nope.

To "Reproduce"
Steps to reproduce the behavior:

  1. Added the '&r' color code to message format in config OR to a nickname itself
  2. reload plugin
  3. type in chat to find formatting not working, and just says "<.reset.>" wherever it was originally placed in the config.

This isn't really a major bug, just a weird one. There's no error logs or whatever. (I'm sure it's easy to fix, and probably can be done within the plugins configs itself, I just haven't been able to find out how)

Expected behavior
I just expected this to just reset any chat formatting to be removed. It's weird since the color codes are fine, but the format codes don't. Color codes (both hex and legacy color codes work. The formats do too, but not the reset color code.)

Screenshots
Here's what happened when trying to add the '&r' to reset in the message formatting option in the config file.
image_2023-12-25_000230466

Here's what happened when trying to add '&r' in the nickname itself.
image_2023-12-25_000351400

Here's all of my plugins:
image

Software:

  • Server Implementation: Paper
  • Minecraft Version 1.20.1
  • Java Version 16
  • Plugin Version 3.1.1

Additional context
Yet again, as stated before, there are no error logs. No "plugin is overriding ..." So, I'm not sure why this is. Perhaps a Vault issue? Yet, Vault is installed on its latest version.

@Zatiejo Zatiejo added the bug Something isn't working label Dec 25, 2023
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

1 participant