How to Use the TellRaw Command in Minecraft

by
How to Use the TellRaw Command in Minecraft

Have you ever wished to make Minecraft’s base chat function more visually appealing? Is the default text becoming tedious to read? /tellraw is a Minecraft command that allows administrators to generate customised chat messages. Admins on servers may utilise this to make their conversation more dynamic and engaging, or to add distinctive colours to maps through command block text.

On Java Edition

How to Use the TellRaw Command in Minecraft

1. Launch the conversation. Tap the T key.

2. In chat, type ‘/tellraw’. In the conversation, type /tellraw using your keyboard.

3.Decide who should view the message. After you type /tellraw, you must input a target selector, which determines who sees the message. The following target selections are available:

@p – Delivers the message to the closest player.

@r – Delivers the message to a randomly selected player.

@a – Distributes the message to all players.

@e – Distributes a message to all entities.

@s – Sends the message to yourself or the person carrying out the command.

Username – Sends the message to the player with the specified username. Make careful you type the player’s username rather than the phrase ‘username.’

4. Start typing the command string. Press space and write an opening curly bracket, after typing /tellraw and the destination selector{.

5. Enter the message that you wish to send. After starting the command string, immediately type “text”:”Example Text” after the first {. Replace “sample text” with the message you wish to send.

6. Enter the desired colour. If you wish to colourize your text, type,”color”:”dark blue” immediately after what you put for the text. If you do not select a colour, the text will be white by default. You may choose from a few preset colours or, if you’re using version 1.16 or higher, any hex code for a colour. You can use the following preset colours:

Black

Dark blue

Dark green

Dark aqua

Dark red

Dark purple

Gold

Gray

Dark gray

Blue

Green

Aqua

Red

Light purple

Yellow

White

7. Other formatting should be added. You may make the text bold, italic, underlined, strikethroughed, or obscured if you desire. You may achieve this by inserting the following text exactly after the last syntax you introduced.

Bold – Include “bold”:true.

Italic – Include “italic”:true.

Strikethrough – Add “strikethrough”:true to your code.

Underline – Include “underline”:true.

Obfuscation – Add the attribute “obfuscated”:true. Obfuscating text causes each character to rapidly switch between distinct, largely meaningless characters.

You can utilise numerous formatting choices for your text, or even all of them.

8. Insert a new line. By eliminating the ” at the end of the first line and inserting n exactly after the original message, you may insert a new line of text beneath the original message. Then you may type your second line. It would appear as “text”: “First line\nSecond line”

9. Include a hover event. Hover events are things you may add to a tellraw command to make specific things appear when you move your cursor over the text. You may use one of the hover events mentioned below, but only one hover event may be used per message.

Hover text – Add,”hoverEvent”:”action”:”show text”,”contents”:”Example text” exactly after the last item you wrote to show custom text when you hover over the original message. Replace the text in the sample with the text you wish to display.

Hover item – Add,”hoverEvent”:{“action”:”show item”,”contents”:{“id”:”oak planks”}} exactly after the last thing you wrote to show an item or block when you hover over the original text. You can substitute any other item or block ID for oak planks.

Hover text in 1.15 and lower – If you’re using version 1.15 or lower, add,”hoverEvent”:{“action”:”show text”,”value”:”Example text”}} instead. Replace the text in the sample with the text you wish to display.

10. Include a click event. You may add click events to a tellraw command to do different actions when a player clicks on the message. You may use one of the click events mentioned below, but only one click event may be used per message.

11.Complete the command string. When you’re satisfied with your command, complete it with a closing curly bracket,

12. Type in the command. To input the command into the console, press the Enter key. If everything is done successfully, your personalised text should appear in the conversation.

On Bedrock Edition

1. Launch the conversation. Depending on the device you’re using, you may access the chat in a variety of ways.

Tap the little speech bubble key at the top of your screen in Pocket Edition.

When using a controller or a console edition, press the right arrow or right on the D-pad.

2. In chat, type ‘/tellraw’. In the conversation, type /tellraw using the pop-up keyboard.

3.Decide who should view the message. After you type /tellraw, you must input a target selector, which determines who sees the message. 

4. Start typing the command string. Type an opening curly bracket{, after entering /tellraw and the target selector.

5.Enter the message that you wish to send. Type “rawtext”:[{“text”:”Example text”}] just after the opening curly bracket after starting the command string. Please replace the example text with the message you wish to send.

6. Type in the desired colour. If you wish to colourize your text, copy and paste the symbol in front of the text, then enter the number or letter that corresponds to the colour you desire. It will appear as “rawtext”:[{“text”:”1Example text”}]. If you do not select a colour, the text will be white by default. You can choose from a few predefined colours.

7. Include further formatting. You may make the text bold, italic, or obscured if you wish. You may accomplish this by copying the symbol in front of the text and then entering the letter that corresponds to it. For example, if you wanted to obfuscate your text, it would look like “rawtext”:[{“text”:”§kExample text”}].