1

What's Wrong With This Command?

avrona •10/9/16 6:59 am
•
734
•
10/11/2016 5:57 am
/tellraw @p {"text":"YOU RECEIVED: ","color":"dark_blue","bold":trutellraw @p ["",e},{"text":"130 EMERALDS","color":"dark_green","bold":true},{"text":" AND ","color":"dark_blue","bold":true},{"text":"1 XP","color":"dark_aqua","bold":true}]

The error is:

[11:54] Invalid json: malformed JSON at line 1 column 54

So what's wrong with it and what's the correct command?
Posted by
avrona
Level 40 : Master Explorer
37

  Have something to say?

Join • Sign in

8

avrona
• 10/11/2016 5:57 am
• Level 40 : Master Explorer
By?
1
Malitha
• 10/11/2016 5:18 am
• Level 51 : Grandmaster Batman
im so confused o-o
1
anonpmc1231742
• 10/10/2016 4:50 pm
• Level 1 : New Miner
[deleted]
1
avrona
• 10/10/2016 10:42 am
• Level 40 : Master Explorer
So anyone know what's wrong with those two commands?
1
avrona
• 10/09/2016 9:40 am
• Level 40 : Master Explorer
Also, what's wrong with this command?

/execute @a{lm=1, score_l1c_min=1} ~ ~ ~ /give @p cake
1
avrona
• 10/09/2016 8:14 am
• Level 40 : Master Explorer
I added the new command back into the main command, but it is still wrong:

/give @p sign 1 0 {BlockEntityTag:{Text1:"{\"text\":\"Finish\",\"color\":\"dark_red\",\"bold\":true,\"clickEvent\":{\"action\":\"run_command\",\"value\":\"scoreboard players add @p Emeralds 130\"}}",Text2:"{\"bold\":true,\"clickEvent\":{\"action\":\"run_command\",\"value\":\"xp 1 @p\"}}",Text3:"{\"bold\":true,\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tellraw @p [\\"\\",{\\"text\\":\\"YOU RECEIVED\\",\\"color\\":\\"dark_blue\\",\\"bold\\":true},{\\"text\\":\\" 130 EMERALDS\\",\\"color\\":\\"dark_green\\",\\"bold\\":true},{\\"text\\":\\" AND\\",\\"color\\":\\"dark_blue\\",\\"bold\\":true},{\\"text\\":\\" 1 XP\\",\\"color\\":\\"dark_aqua\\",\\"bold\\":true}]\"}}",Text4:"{\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tp @p -6 5 -1166\"}}"},display:{Name:"Custom Sign"}}
1
matriushka
• 10/09/2016 7:54 am
• Level 1 : New Collective
The correct would be
/tellraw @p ["",{"text":"YOU RECEIVED","color":"dark_blue","bold":true},{"text":" 130 EMERALDS","color":"dark_green","bold":true},{"text":" AND","color":"dark_blue","bold":true},{"text":" 1 XP","color":"dark_aqua","bold":true}]

You had a mistake after first "bold" ("bold":trutetellraw @p...)

hm. Dusk was first.
1
DuskMarine
• 10/09/2016 7:45 am
• Level 1 : New Miner
I'm not exactly 100% familliar with json scripting, but I think the error is:"bold":trutellraw
You haven't properly closed the table and embedded the next function into the last argument. It should probably look something along the lines of

/tellraw @p {"text":"YOU RECEIVED: ","color":"dark_blue","bold":true} /tellraw @p ["",e},{"text":"130 EMERALDS","color":"dark_green","bold":true},{"text":" AND ","color":"dark_blue","bold":true},{"text":"1 XP","color":"dark_aqua","bold":true}]

But again, I'm not entirely sure.
1

Welcome