mojira.dev
MC-86773

Tellraw not working even with the right syntax and json formatting... Am i doing something wrong?

On 1.9 snapshot i was playing with those command blocks and their options.
I created some kind of contraption (involving command blocks of course) and used this tellraw command:

tellraw @a
{text:"Lock 5 has been",color:blue,extra:[{text:"Disabled!",color:green,bold:true}]}

Every time i use a tellraw command in 1.9, i get this error (or similar, only the column value changes from 2 to 3)

[12:48:45]
Invalid json: malformed JSON at line 1 column 3

What am I doing wrong?? ;'(

EDIT:Fixed, didn't put quotation marks in JSON syntax

Linked issues

Comments 3

Lars

You have to put all tags in quotes ("text":"hi")
For example:

/tellraw @a [{"text":"Lock has been ","color":"blue"},{"text":"Disabled!","color":"green","bold":"true"}]
SnipUndercover

Thank you. I didn't know.

user-f2760

SnipUndercover

(Unassigned)

Unconfirmed

Minecraft 15w33c, Minecraft 15w34a

Retrieved