mojira.dev
MC-87848

JSON text format does not work when text commands (/title, /tellraw) are ran.

If you input json into a command block or in the chat via a command, for example:

/title @a title {"text":"GAME OVER",color:dark_red,bold:true}

The game will send the output as follows:

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

I am aware this is a repeat of an older report, but it'd be nice to have working json strings and text commands.

Linked issues

Attachments

Comments 5

user-f2760

You require quotes around all json keys and values
tellraw @a {"text":"hi"}

This has been reported a lot of times, please search before submitting a issue
MC-83460

Josh Jaggernauth

Even if you do this, it won't work, even in the new snapshot

Warren Liddell

Then your doing it wrong. I run multiple tellraws an title commands on my xerver and they all work fine. You need to do some research around to see changes

user-f2760

Like I said, all keys and their values, color, text, extra, selector, clickEvent are all examples of JSON keys

Warren Liddell

I was referring to josh. I had problems myself initially with thinking it was broken, just hadnt found much at the start of snaps to point me in the right direction. Now there is a lot of info an help around that can be accessed

Josh Jaggernauth

(Unassigned)

Unconfirmed

command-line, redstone

Minecraft 15w35e, Minecraft 15w36c

Retrieved