Minecraft Blogs

Extreme /tellraw Tutorial

  • 25
  • 18
  • 20
avatar KingJake
Level 35 : Artisan Vampire
20
Hi there.
This tutorial will take you through tellraw, which is a very complicated command. It is a raw JSON command, and we will probably get confused at some point. BUT, lets get on. Stick with me even when it is tough.

1) Using /tellraw

Tellraw is a command for command blocks. Do /give <Name> 137 or /give <name> Minecraft:Command_Block as the item id numbers will stop working in 1.8. Note that /tellraw will normally only work on singleplayer (or it doesn't work on my server anyways...).

2) The Simple Command (Base Command)

Well, you kinda already know /tellraw is your base command. But, this is the simple start (ALL /tellraw commands require this at the beginning):
/tellraw @a

3) Lets add some text...

Time to add text! Here is our work:
/tellraw @a {text:"Notch joined the game"}
Yes, you guessed it. We will be making a realistic Notch join message. Feel free to change this text to whatever you like, but all of my examples shall stem from this.



4) That realistic colour!

So, we will have to edit our code so far for this...
tellraw @a {"text":"","extra":[{"text":"Notch joined the game","color":"yellow"}]}
Yes, this is alot more complicated. I understand if you feel like copy and pasting this, so go for it! But, now, I will explain:
tellraw: Command
@a: Everyone online
"text": The Text Variable
"Notch joined the game": The Text
"color": The Color Variable
"yellow": The Color




5) Ok, now we have finished the simple stuff, lets underline it.

Now, we need to make the text underlined so it looks... cool.
We will need to, inside or brackets but at the end, add a comma and then "underlined". This is a boolean variable: It only can return true or false. We will set it to true, so we will add a colon and then, in speech marks, enter true. Ok, lets see if you have got it right:
tellraw @a {"text":"","extra":[{"text":"Notch joined the game","color":"yellow","underlined":"true"}]}




6) Bored. Lets make this... awesome:

Lets add a hover effect, or, in better terms: event. Take note on what we do here, as it will matter for the next part. I will give you our syntax and you can copy it and then I will show you what it does:
tellraw @a {"text":"","extra":[{"text":"Notch joined the game","color":"yellow","underlined":"true","hoverEvent":{"action":"show_text","value":"Is this fake or true!?"}}]}
Ok, lets explain:
"hoverEvent": The Variable. It is always in 'Camel Case'; the first word is lowercase and then all words start with a cap.
{"action":"show_text": What we will be doing.
,"value": Setting it's variable
"Is this fake or true!?: The hoverEvent text.




7) I'm still... alive. Now, lets make this amazing!

Our current syntax is above. We will now add a clickEvent to this. We will put the clickevent before the hoverevent. We will use the same rules. Try to figure it out!
Ok, here's the syntax:
tellraw @a {"text":"","extra":[{"text":"Notch joined the game","color":"yellow","underlined":"true","clickEvent":{"action":"run_command","value":"/say Yep, fake."},"hoverEvent":{"action":"show_text","value":"Is this fake or true!?"}}]}

Yes, we have to use a command in the clickEvent. Therefore, we can do many commands: We could use /tellraw or even /toggledownfall. Awesome, eh.




8) Congratulations!

Well done, you are now a /tellraw master. Feel free to take this further and ask me questions if needed. Feel free to subscribe to me if this helped you lots.
Tags

1 Update Logs

General Updates : 12/21/2016 11:39:15 amDec 21st, 2016

  • Updated cover
  • Improved clarity
  • Fixed some grammatical errors

1
08/25/2018 8:27 pm
Level 2 : Apprentice Miner
Droplet_Wolf
this is the only /tellraw site i use, because its the best!! lmao, good job
1
08/23/2017 3:59 am
Level 2 : Apprentice Miner
Mishik2
is there any way to do this? tellraw @a {"text":"","extra":[{"text":"click this text","color":"aqua","underlined":"true","clickEvent":{"action":"run_command","value":"/say trolololo"},"extra""clickEvent":{"action":"run_command","value":"/kill @a"}"hoverEvent":{"action":"show_text","value":"PRESS THISS"}}]}
1
11/03/2016 4:32 pm
Level 1 : New Crafter
demonic human
thank you, this is the only page that makes sense as to how to make tellraw in minecraft without confusing me.
thank you yet again.
1
07/14/2016 9:30 pm
Level 41 : Master Magical Girl
Lunachuu
So helpful! Thank you! Diamond to you .3.
1
02/04/2016 2:10 pm
Level 1 : New Miner
jelleesed
tellraw @a {text:"[",color:dark_red,extra:{text:"Owner",color:red,extra:[{text:"]",color:dark_red,extra:[{text:"",color:dark_aqua,extra:[{text:"Level9999",color:aqua,extra:{text:"]",color:dark_aqua,extra:[{text:"",color:dark_blue,extra:[{text:"Server",color:blue,extra:{text:"]",color:dark_blue,extra:[{text:"HACKER102:",color:dark_red,bold:true,extra:{text:" well well well this server is not to bad...",color:red,underlined:false,bolf:true}]}]}]}]}]}]}]}]}]}]}

that is a nice command i made with my own mind :D
1
07/14/2017 11:13 am
Level 31 : Artisan Cake
ThisIzDifficult
Your command does not work. :(
1
01/27/2016 8:45 am
Level 1 : New Miner
explodinglink12
nice! now i made a tellraw that sends you to a minigame in a server. tnx!
1
05/19/2015 11:44 pm
Level 1 : New Miner
FDX3
Awesome! 1 Question though, in a map called Planetary Confinement, if you look at the crafting guide in-game, there are block IMAGES up hovering on an item recipe. Where can i get the images and how?
1
04/13/2014 8:54 pm
Level 19 : Journeyman Engineer
Nusrachel
Great tutorial! It's very useful :)

I also found this 'Tellraw Generator': http://ezekielelin.com/minecraft/tellraw/  
for those who might not master /tellraw yet, including me... :\
1
04/14/2015 7:22 pm
Level 2 : Apprentice Explorer
SuperFunnyStuff
I was bored and I entered the code for a website into it, then it totally ruined it and I can't use it anymore :( Nothing will work and I can't even report an issue. Help!!!!
1
04/14/2014 5:09 am
Level 35 : Artisan Vampire
KingJake
Thanks got sharing this,
it looks like an interesting site.
1
04/13/2014 3:19 pm
Level 21 : Expert Zombie
Tintin134
1
04/13/2014 6:12 pm
Level 35 : Artisan Vampire
KingJake
Nope, all my own words. Had to find out some of the info, but got it and wrote it myself.
1
04/14/2014 1:57 pm
Level 21 : Expert Zombie
Tintin134
Wow, it has the exact same Notch command xD
1
04/14/2014 2:02 pm
Level 35 : Artisan Vampire
KingJake
I just noticed that, lol. It is a simple way to start, and is fun.
1
04/13/2014 10:07 am
Level 29 : Expert Blockhead
Nathsem
It's annoying how /tellraw doesn't work with Bukkit. Maybe someone could make a plugin for that?
1
04/13/2014 11:46 am
Level 35 : Artisan Vampire
KingJake
That would just be amazing.
1
04/12/2014 11:26 pm
Level 7 : Apprentice Network
Minecraft_Captain
This was very helpful, thought of putting pictures?
1
04/13/2014 5:08 am
Level 35 : Artisan Vampire
KingJake
I'm sure I could work on that, if you think it could help.
1
04/12/2014 8:07 pm
Level 19 : Journeyman Miner
anonpmc1072506
[deleted]
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome