2

My server is version 1.16.1 and I'm trying to run the command:

/tellraw @a ["",{"text":"Co-op >","color":"aqua"},{"text":" [PIG","color":"light_purple"},{"text":"+++","color":"aqua"},{"text":"]","color":"light_purple"},{"text":" Technoblade","color":"light_purple"},{"text":": I have come down from the land of potato gods."}]

Every time I run it it says

Invalid chat component: Unterminated string at line 1 column 245 path $[6].text

I don't know what any of this means.

2

Your command is too long to fit in the chat. The chat only supports up to 255 characters per command.

Pasting it into the chat, only the first 255 characters are recorded. This is what is pasted in:

/tellraw @a ["",{"text":"Co-op >","color":"aqua"},{"text":" [PIG","color":"light_purple"},{"text":"+++","color":"aqua"},{"text":"]","color":"light_purple"},{"text":" Technoblade","color":"light_purple"},{"text":": I have come down from the land of potato g

As you can see, it stops at the "g" at the very end. The g is the 255th character, and everything else doesn't make it in, including the closing brackets to finish the JSON text, resulting in an error when the system reaches the end of text when it expected closing quotes.

If you put the command into a command block, it runs just fine: Screenshot

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.