mojira.dev
MC-93254

Color in text prompt using commands

This is a bug where you can insert colors into the user's text prompt with command blocks (namely using /tellraw).

Example:

/tellraw @a {"text":"Click","color":"blue","clickEvent":{"action":"suggest_command","value":"\u00a7bChat was replaced with colored text"}}

Note that, when the message is sent, you will be kicked for "illegal characters in chat" or similar on servers, and the singleplayer game will freeze (which is MC-79818)

Linked issues

Attachments

Comments

Steve Smith

Confirmed for 15w47c

Steve Smith

And wow that was craziest bug I've ever seen!

Patrick McCarthy

Wow. When I clicked the chat action command, it filled my chat bar with specifically white text. Then I entered the text (tried to) and crashed the world saying that it had "Illegal characters in chat" This is quite incredible! How did you come across this bug anyway?

Patrick McCarthy

Also can you explain why when I closed out of the error it brought me to the server menu? Might be the single player server "rerouting" I'm not sure. (Like being kicked out of a server)

Asteraoth

@unknown, cause by MC-45602.

Patrick McCarthy

I guess that explains that part (you know the not reported bug part haha). Thanks

j_p_smith

Confirmed in 1.16.1.

ampolive

Can confirm in 1.17.1.

Jarl-Penguin

It seems like this was fixed in 1.19.1-rc1.

Wundero

(Unassigned)

Confirmed

Platform

Low

Commands

Minecraft 1.8.8, Minecraft 15w47c, Minecraft 1.10.2, Minecraft 16w36a, Minecraft 16w43a, ..., 1.14.4, 1.15 Pre-release 1, 1.16.1, 20w46a, 1.17.1

1.19.1 Release Candidate 1

Retrieved