NEZNAMY / TAB

"That" TAB plugin.
Apache License 2.0
905 stars 246 forks source link

Nametag name not supporting RGB colors #1262

Closed Elikill58 closed 8 months ago

Elikill58 commented 8 months ago

Server version

Paper 1.20.4

TAB version

4.1.2

Describe the bug

When using hex color code in tag prefix, the color is well showed for text in prefix but it's formatted as basic color for the player name: image

Expected behavior

Be the same hex color for the prefix content AND the player name

Steps to reproduce

  1. Use this config:
    _DEFAULT_:
    tagprefix: '&#ff0000ccc'
  2. Join
  3. Check your name with F3 or with another account and you will see the two colors

Additional info

Discovered with others plugins, then tested without any other plugin. Check using Laby mod and vanilla launcher

Checklist

NEZNAMY commented 8 months ago

Sounds like a limitation to me, specifically name itself not supporting RGB codes.

Elikill58 commented 8 months ago

Thanks for fast answer. Some others server seems to have this type of feature : image

Do you have ideas about how they do?

NEZNAMY commented 8 months ago

Yes, literally read the page I sent you.

Elikill58 commented 8 months ago

With something like unlimite nametag ?

NEZNAMY commented 8 months ago

Yes.

Elikill58 commented 8 months ago

Yes.

It's generating armor stand to make it works ? (and not text display for 1.20+?)

NEZNAMY commented 8 months ago

The wiki page says it creates armor stands and that's exactly what it does.

Elikill58 commented 8 months ago

Ok, can I make a suggestion to use TextDisplay for newer version? To prevent PVP issue or something

NEZNAMY commented 8 months ago

No, feature requests are closed. There is no PvP issue, plugin uses armor stand marker flag, which makes the hitbox zero.

Elikill58 commented 8 months ago

Oh yes, I forgot what you said in one of your last release message. I will see if I can propose a pull request for this.