/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?
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?
8
By?
im so confused o-o
[deleted]
So anyone know what's wrong with those two commands?
Also, what's wrong with this command?
/execute @a{lm=1, score_l1c_min=1} ~ ~ ~ /give @p cake
/execute @a{lm=1, score_l1c_min=1} ~ ~ ~ /give @p cake
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"}}
/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"}}
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.
/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.
I'm not exactly 100% familliar with json scripting, but I think the error is:
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
But again, I'm not entirely sure.
"bold":trutellrawYou 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.
