I can't use my tellraw command with multiple {text:"_"} segments [duplicate]

I can't use my tellraw command with multiple {text:"_"} segments [duplicate] - Brown Steel Letter B Wall Decor

I want to know what's wrong with this command:

/tellraw @p {text:"You have joined ",color:white,extra:[{text:"Breakfast Baker!",color:green,bold:true,{text:"Breakfast Baker is a 5-player game, where you have to bake breakfast for a judge, ",color:white,bold:false,{text:"Villager Ramsay, ",color:orange,{text:"and if you have the best breakfast, you ",color:white,bold:false,{text:"WIN!",color:gold,bold:true}}}}}]}

It says

invalid json: expected name at line 1 column 92

I don't know what's wrong... it's supposed to say

"You have joined Breakfast Baker! Breakfast Baker is a 5-player game, where you have to bake breakfast for a judge, Villager Ramsay, and if you have the best breakfast, you WIN!"

With different colors, bold and other flair. Can anyone help?



Best Answer

I found this JSON Creator for Minecraft commands, and after having a bit of a play with it, the issue is being caused by the use of the command

extra:[...

The issue is that this section isn't terminated correctly, causing it to throw the error.

Instead, this command can be built in muliptle {text:...} sections, like so:

/tellraw @p ["",{"text":"You have joined ","color":"white"},{"text":"Breakfast Baker! ","color":"green","bold":true},{"text":"Breakfast Baker is a 5-player game, where you have to bake breakfast for a judge, ","color":"white","bold":false},{"text":"Villager Ramsay, ","color":"yellow"},{"text":"and if you have the best breakfast, you ","color":"white"},{"text":"WIN!","color":"gold","bold":true}]

Resulting in:

Minecraft /tellraw




Pictures about "I can't use my tellraw command with multiple {text:"_"} segments [duplicate]"

I can't use my tellraw command with multiple {text:"_"} segments [duplicate] - Crop hacker silhouette typing on computer keyboard while hacking system
I can't use my tellraw command with multiple {text:"_"} segments [duplicate] - Woman with Smudge on Face Holding Cellphone
I can't use my tellraw command with multiple {text:"_"} segments [duplicate] - I Can and I Will Text On Green Background



How do you use the command Tellraw?

How to Enter the Command
  • Open the Chat Window. The easiest way to run a command in Minecraft is within the chat window.
  • Type the Command. In this example, we will send a private message to the player called DigMinecraft with the following command: /tellraw DigMinecraft {"text":"Herobrine joined the game","color":"yellow"}


  • How do you start a new line in Minecraft Tellraw?

    While typing a /tellraw command, once you want the line to be skipped there, use \\n (backslash+n).

    How do I use the bedrock version of Tellraw?

    JavaScript Object Notation (JSON) is a lightweight data-interchange format. In Minecraft, JSON format is used to store the following data: Text in written books, signs, custom names and the /tellraw , /title , /bossbar , /scoreboard and /team commands.



    Nas - I Can (Official HD Video)




    More answers regarding i can't use my tellraw command with multiple {text:"_"} segments [duplicate]

    Answer 2

    color:green,bold:true, { text:"Breakfast Baker

    You are opening an object with a curly bracket but did not give it a name before it. That issue is repeated at other points in the command.

    If you were intending to use it as another record within the extra list, then you need to close the previous record completely first (by applying a closing curly bracket):

    color:green,bold:true } , { text:"Breakfast Baker

    Fixed command, applying needed closing curly brackets and removing extra closing brackets at the end:

    /tellraw @p {text:"You have joined ",color:white,extra:[{text:"Breakfast Baker!",color:green,bold:true},{text:"Breakfast Baker is a 5-player game, where you have to bake breakfast for a judge, ",color:white,bold:false},{text:"Villager Ramsay, ",color:orange},{text:"and if you have the best breakfast, you ",color:white,bold:false},{text:"WIN!",color:gold,bold:true}]}
    

    For 1.9's strict JSON requirement:

    tellraw @p {"text":"You have joined ","color":"white","extra":[{"text":"Breakfast Baker!","color":"green","bold":true},{"text":"Breakfast Baker is a 5-player game, where you have to bake breakfast for a judge, ","color":"white","bold":false},{"text":"Villager Ramsay, ","color":"orange"},{"text":"and if you have the best breakfast, you ","color":"white","bold":false},{"text":"WIN!","color":"gold","bold":true}]}
    

    Answer 3

    I got it (: it's

    /tellraw @p ["",{"text":"You have joined "},{"text":"Breakfast Baker","color":"green","bold":true},{"text":", a game where you bake breakfast for a judge, ","color":"none","bold":false},{"text":"Villager Ramsay, ","color":"red"},{"text":"and whoever has the best breakfast ","color":"none"},{"text":"WINS!","color":"gold","bold":true}] 
    

    for anyone who is coming on the page to know what's wrong. What's wrong was I forgot to put the } after a text segment so it looked like this: {text:"the text" and no }, so I just fixed it.

    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: cottonbro, Anete Lusina, MART PRODUCTION, Tima Miroshnichenko