TAB icon indicating copy to clipboard operation
TAB copied to clipboard

[Velocity] [MiniMessage] hex-colors displaying as legacy colors

Open SeaOrangejuice opened this issue 1 year ago • 7 comments

Server version

velocity-3.3.0-SNAPSHOT-358

TAB version

4.1.2

Describe the bug

The same is <#f4b8e4></#f4b8e4>, but the color display is inconsistent. The color is normal after removing <italic ></italic.> 1 2

Expected behavior

I want it to display properly.

Steps to reproduce

Add <talic></italic>

Additional info

I tried writing on another plugin with the same function and found that it does not have this problem.

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

SeaOrangejuice avatar Feb 13 '24 21:02 SeaOrangejuice

I am unable to copypaste the text from your screenshot. Why don't you just use &o?

NEZNAMY avatar Feb 13 '24 21:02 NEZNAMY

Because minimassage is more readable. If I want to write a long sentence, minimassage can better adjust the file.

SeaOrangejuice avatar Feb 13 '24 21:02 SeaOrangejuice

header-footer: enabled: true header:

  • <#f4b8e4></#f4b8e4>
  • <#ca9ee6>Kaleidos☁</#ca9ee6>
  • <#f4b8e4>🗡 ⛏ 🪓</#f4b8e4> footer:
  • ''
  • "在线玩家: %online%"
  • ''
  • <#f4b8e4>© YSBB and SOOJCRAFT</#f4b8e4>

SeaOrangejuice avatar Feb 13 '24 21:02 SeaOrangejuice

Works fine for me.

  header:
  - "<#f4b8e4>Text 1</#f4b8e4>"
  - "<#f4b8e4><italic>Text 2</italic></#f4b8e4>"

image

NEZNAMY avatar Feb 14 '24 16:02 NEZNAMY

I tried, but it still didn't work. https://github.com/NEZNAMY/TAB/assets/116551329/f1c831e1-188b-4bb5-a2ad-b45fe2553b73

SeaOrangejuice avatar Feb 14 '24 16:02 SeaOrangejuice

Are you using vanilla client? If not, try it. Also try latest build from actions, I did fix some RGB related issue on velocity with minimessage there.

NEZNAMY avatar Feb 14 '24 16:02 NEZNAMY

Thank you very much. When I use latest build from actions, it works.

SeaOrangejuice avatar Feb 14 '24 16:02 SeaOrangejuice