Generator /tellraw
Text and colors
Colored text in chat with click and hintLearn more
Write using familiar codes &6 and &l - we'll get the command together with JSON. At the same time, we'll hang up the text and the clue when we set them up: their hands are written with a mistake in the quote, after which the command does nothing in silence.
My game select version
We'll remember in this browser and set up where your version is available. Open link settings are more important than this choice; the Vicki versions do not change.
How to use
- Paste into chat or console
Operator rights are required. From the server console, the command is written without a leading slash.
- Long - in a command block
The chat room has a limit of 256 characters. He's not in the command block, and there's a message hanging on a button or a lever.
- Test the pressure on yourself
The click command is executed on behalf of the player: without rights it will not work, and this is worth seeing before the announcement.
What you need to know about JSON text
- Color resets the style. B &lbold&cred only the first word will be bold - this is how the client itself works, and in JSON this is clearly visible: in the second piece bold simply no.
- Colors in JSON are called words. Not &c, and red; &6 is gold. The complete table of correspondences is in Code directory.
- You can also add your own color: &#FF8800 in the text turns into "color":"#ff8800". Works since 1.16; on older versions the client will show white.
- Clicking does not give rights. run_command executes the command on behalf of the player - if he does not have rights, nothing will happen. For button actions you need a command block or plugin.
- In 1.21.5 the fields were renamed. clickEvent became click_event, and the value inside is now called by action - command or url. The command of someone else's form will be executed and will not do anything.
- Inscription in the middle of the screen - title, subtitle and line above the hotbar with display time - collects Generator/title.
- Bar at the top of the screen with color, divisions and fill - Generator / Bossbar.
The string for the list of servers is collected MOTD generator, and the color flow between letters is gradient generator.
Frequently asked questions
How to write colored text in Minecraft chat?
The /tellraw command with a text component in JSON. Type a line using the usual & codes - the page will collect JSON itself.
Why is /tellraw swearing at my command?
Most often due to the form of the recording, 1.21.5 ClickEvent was renamed "click_event" and changed fields inside. A command of other people's uniforms will do nothing.
How to make clickable text in Minecraft chat?
Ask a piece of text to click on: open the link, execute the command or set it up in the chat room. The clue for setting is there, each piece has its own.
