TAB
TAB copied to clipboard
[Scoreboard] Forced colors when no colors are used
Server version
1.20.2
TAB version
4.1.2
Describe the bug
Colored output preview in parse command not match real output, see screenshots below.
Expected behavior
Steps to reproduce
Type some texts like "Text&&rcText" on tab, you will see.
Additional info
No response
Checklist
- [X] I am running latest version of the plugin
- [X] I have read the wiki to make sure it's not an issue with configuration
- [ ] I ticked all of the boxes without actually reading them
- [X] I have read the Compatibility wiki page and am not trying to run the plugin on an unsupported server version / platform
- [X] I am willing to cooperate to get this issue resolved faster, including providing any additional information requested or testing new builds
I didn't understand your explanation. Sounds like conditions may help with this though.
I didn't understand your explanation. Sounds like conditions may help with this though.
Sorry for my bad english.
My nickname plugin have a placeholder like this:
If the player does not have permission, it will keep the color code like this:
But if I put this placeholder on Tab, it will still get colored:
So I need a way to display only the original text of the placeholder.
Sounds like you want some changes to nickname placeholder code. TAB cannot change code of other plugins. Request this change in your nickname plugin.
so it is no way to just show the text like the 'Raw colors:' in last screenshot? I am not want to change that placeholder code, keep color codes when player don't have permission is what I want.
Maybe somehow with conditions you could build it up, but plugin doesn't offer this directly. What you are asking for is way too specific to your case to be added into the plugin. I don't even understand why would you want players without permission to have raw color codes visible, it would look ugly, no?
This is just an example, not the only case, if some placeholders contain a '&', it will get replaced too, if I just want to display a & or # with some number, what can I do?
You can use a workaround, for example A&&rB
.
You can use a workaround, for example
A&&rB
.
ok, that work for keep the code but still get colored.
lines: - "&7◆&m &7◆" - " #ddffff&l%player%" - " &f◆ Nick: &r%nickname_name%"
Not parsing colors for players without permission is not an available feature.
But you "Colored output" not even match the real output.
Just type some text like "Text&&rcText" will also return a strange output, why dose it become "Text&&ccText"
But you "Colored output" not even match the real output.
Just type some text like "Text&&rcText" will also return a strange output, why dose it become "Text&&ccText"
Will you fix this?
Yes, bugs are being fixed. You just need to accept the fact that I am not dedicating my existence to a free plugin.
I understand. You only give me an emoji and I don't understand what it mean so I just wanted to confirm if you plan to fix this bug. Thanks, and sorry to bother you.
Yes, bug fixing is a provided service.
I have fixed the red color issue in scoreboard. Other than that, I'm not sure what the issue is. Using the &
symbol followed by a color code, but not wanting it to be treated as color code is something people usually don't do. Your case is very specific and must have a decent workaround available. I don't even think other plugins offer this.
It always amazes me how people expect me to fix everything immediately but once I fix it, they have no interest in actually testing the fix.
It always amazes me how people expect me to fix everything immediately but once I fix it, they have no interest in actually testing the fix.
Sorry, I didn't receive notification of your last reply.
I've compiled and tested it now, the issue still exist.
scoreboard:
title: "&6&lTEST"
lines:
- '&fTest&&ra123'
- '&fTest&&rb456'
- '&fTest&&rc789'
Are you sure you have the latest code?
scoreboard: title: "&6&lTEST" lines: - '&fTest&&ra123' - '&fTest&&rb456' - '&fTest&&rc789'
Are you sure you have the latest code?
I just downloaded it, so it should be the latest I guess.
You can download it from github actions and you don't need to compile anything.
You can download it from github actions and you don't need to compile anything.
Oh that works. Thank you so much!
Anything else?
No, that's it, thank you.