3

COMMAND BLOCK HELP

Mr Meep's Avatar Mr Meep6/5/18 5:05 pm
3 emeralds 323 6
6/5/2018 11:07 pm
AgentShieldjj's Avatar AgentShieldjj
How do I make text appear in chat like numerous adventure maps I have seen?
I don't have much experience with Command Blocks, I generally only use them for doing /spawnpoint and /tp commands. Thanks!
Posted by Mr Meep's Avatar
Mr Meep
Level 1 : New Crafter
0

Create an account or sign in to comment.

6

1
06/05/2018 11:07 pm
Level 33 : Artisan Creeper Hugger
AgentShieldjj
AgentShieldjj's Avatar
The tellraw is What I would suggest, You can change the color make it bold or whatever.
you can do underlined and more, You can also change the color, of the text.


tellraw @a {"text":"","extra":[{"text":"Cats","color":"blue","bold":"true"}]}

to change the text, change Cats


to change the color, change blue


to change the bold change bold to underline or italic

if you don't want any bold or anything like that just do this command


tellraw @a ["",{"text":"Cats","color":"blue"}]

if you only want this to go to a certain player change the @a (all players) to @p (nearest player), @r (random player) or the player's Username.

If you need any more information, plz message me https://www.planetminecraft.com/member/agentshield233/

Also plz Subscribe to my YouTube Channel
https://www.youtube.com/channel/UCzGlXpInjjHEhC1tnHkzxVw
3
06/05/2018 7:15 pm
Level 29 : Expert Engineer
SUPERIONtheKnight
SUPERIONtheKnight's Avatar
It is done with the /tellraw command. If you just want to display text without any additional colors/etc, then the following command is all you need.
/tellraw <selector> "Put text here and keep the quotes"
If you want to add colors/italics/etc, you must use strict JSON syntax. What that basically means is that you need to put "" around the key parts. Here's a few links to help explain JSON: Link1, Link2.

For example the following will not work because it isn't strict JSON.
text:hi there
The following will work because it is strict JSON.
"text":"hi there"
Here's an example command you can use that will work.
/tellraw @s [{"text":"hi there!"}]
To add more info, you can separate the key parts with commas.
/tellraw @s [{"text":"The Blood Moon Rises Once Again...","color":"red"}]
I recommend reading this link as it will tell you about all the extra things you can add to your tellraw command. I also recommend using a JSON checker if you aren't sure about whether your JSON is valid.

I hope this helps! :)
~SUPERIONtheKnight
1
06/05/2018 5:40 pm
Level 52 : Grandmaster Dragonborn
luigi_vampa
luigi_vampa's Avatar
I stopped using command blocks after finding the Denizen plugin. With the fully featured scripting language it adds I found no further use for them!




Definitely worth a look if you want to go down an adventure map path.
1
06/05/2018 6:05 pm
Level 1 : New Crafter
Mr Meep
Mr Meep's Avatar
Thanks, but that doesn't help that much, as I don't plan on downloading plugins/mods soon. So you know the command?
2
06/05/2018 6:35 pm
Level 52 : Grandmaster Dragonborn
luigi_vampa
luigi_vampa's Avatar
The chat command is /say isn't it?
1
06/05/2018 9:36 pm
Level 1 : New Crafter
Mr Meep
Mr Meep's Avatar
Hmm.. Okay. I will try this. Thank you!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome