dzwdz / chat_heads

Mozilla Public License 2.0
57 stars 35 forks source link

Chat heads don't show when using TAB's tab suffix #50

Open ghost opened 1 year ago

ghost commented 1 year ago

Hello! I recently switched to using EssentialsX's nickname system, which just changes the Player Display Name. Luckily I didn't have many issues with this. I'm also using the plugin TAB to have a cool looking Tab menu. Luckily, chat heads still seems to work if I don't mess with it from here: image

But unfortunately, when I add a TAB suffix (in my case, to show the real username in parentheses), then nothing shows up: image

Here's how my groups.yml config looks incase that's any help: image

ghost commented 1 year ago

Actually I'll just send me entire TAB config folder incase that's easier. TAB.zip

Fourmisain commented 1 year ago

Hm... so I'm not entirely sure, but I think "displayname" is what's shown in the chat messages while "customtabname" is what's shown in the tab list, plus the prefixes/suffixes. The reason why chat heads aren't working is probably the same as with HaoNick, where setting a "customtabname" actually changes the player's profile name and the message name "Ben" does not match with the player name "Ben (BenIsLegit)".

Can you try adding an alias "Ben -> Ben (BenIsLegit)" and see if that fixes the issue?

Fourmisain commented 1 year ago

Wait, brackets and spaces inside profile names are invalid and Chat Heads thus removes them before comparing, so I think an alias of "Ben -> BenBenIsLegit" should work?

ghost commented 1 year ago

Ahh I see. The alias didn't seem to work, but I think I'll just leave the TAB without the username suffix since some of my friends are using Chat Heads and probably don't wanna setup all the aliases. That's alright tho. Thank you for the solution though!

Fourmisain commented 1 year ago

It's not a solution if nothing has been fixed, right? I wonder why the alias didn't work. I might try the plugin out some time (after porting tons of mods to 1.20) and see if there's anything we can do, though from the looks of it it seems to be able to change every name to whatever it wants, so I don't have high hopes.

Fyoncle commented 3 months ago

Hello! I recently switched to using EssentialsX's nickname system, which just changes the Player Display Name. Luckily I didn't have many issues with this. I'm also using the plugin TAB to have a cool looking Tab menu. Luckily, chat heads still seems to work if I don't mess with it from here: image

But unfortunately, when I add a TAB suffix (in my case, to show the real username in parentheses), then nothing shows up: image

Here's how my groups.yml config looks incase that's any help: image

Hey ghost, what shader is in this screenshot? lol