ChatPatches icon indicating copy to clipboard operation
ChatPatches copied to clipboard

Team color names

Open MarkHarrisMedia opened this issue 1 year ago • 1 comments

I would love if I could somehow, not change the color of player names in the chat??? I really liked how it was when the player names were colored the same color as the team they are on. Is there a way to fix this? Thank you !! - Mark

MarkHarrisMedia avatar Sep 16 '24 04:09 MarkHarrisMedia

if the color is set to white then it shouldn't have any effect, can you send a screenshot and your log?

mrbuilder1961 avatar Sep 16 '24 11:09 mrbuilder1961

I think the issue is that when the player is not loaded, their name color in chat shows up as white. In this image, the player Mat0u6 (my alt) sends a message while being right next to me, and their team color shows up just fine. Then i teleport them a thousand blocks away, and when they send the next message, their color in chat is just plain white, even though they are still in the dark red team image

Mod Version: 211.6.9 (1.21)

Mat0u5 avatar Dec 01 '24 08:12 Mat0u5

hmmm that's super odd, thanks for the ss. could you send your log file from that if there were any errors in it?

mrbuilder1961 avatar Dec 01 '24 16:12 mrbuilder1961

No errors, only odd thing about it is that when the player is far away the message gets logged twice for some reason. The first message at 18:06:43 was while being close to the player and their name showed up with the team color. Then i tp them away, and each of the subsequent messages get logged twice (i only receive one message in chat, not both)

[18:06:43] [Render thread/INFO]:
[CHAT] <{MINECRAFT_USERNAME}> I'm typing this while being close to the player
[18:06:59] [Render thread/INFO]:
[System] [CHAT] Teleported {MINECRAFT_USERNAME} to 1000.500000, 100.000000, 0.500000
[18:07:10] [Render thread/INFO]:
[CHAT] <{MINECRAFT_USERNAME}> And now i am veeery far
[18:07:10] [Render thread/INFO]:
[CHAT] <{MINECRAFT_USERNAME}> And now i am veeery far
[18:07:25] [Render thread/INFO]:
[CHAT] <{MINECRAFT_USERNAME}> and my name shows up as white :(
[18:07:25] [Render thread/INFO]:
[CHAT] <{MINECRAFT_USERNAME}> and my name shows up as white :(

Mat0u5 avatar Dec 01 '24 17:12 Mat0u5

wow that's unexpected, i'll see if i can reproduce this. do you have a separate mod that's replacing the name with {MC_USER} or is that something else? thanks for all the info!

mrbuilder1961 avatar Dec 01 '24 20:12 mrbuilder1961

I don't know what does that tbh, i was using a fresh 1.21 instance on modrinth and i only used chatpatches + dependencies. Might just be modrinth itself formatting the logs somehow, but i'm not sure

Mat0u5 avatar Dec 01 '24 20:12 Mat0u5

okay, thanks for all the info so far, i'll be sure to look into this asap. @MarkHarrisMedia is this the same issue you were experiencing or was it a user error that you figured out?

mrbuilder1961 avatar Dec 03 '24 03:12 mrbuilder1961

also does the server you're on have the voice chat mod installed?

mrbuilder1961 avatar Dec 03 '24 18:12 mrbuilder1961

documented further here!

test this build while waiting for the published release: https://github.com/mrbuilder1961/ChatPatches/actions/runs/12344157887/artifacts/2323779784

mrbuilder1961 avatar Dec 16 '24 14:12 mrbuilder1961