mojira.dev
MC-129866

Bossbar names can't use JSON components

The official wiki says that bossbar names can be defined by JSON components.

However, it does not work, it only displays the raw string like

{color:#333333}{"text":"Bossbar","bold":true}{color}

if I do /bossbar set foo:bar name "{\"text\":\"Bossbar\",\"bold\":true}"

Comments 2

Your command is incorrect. This is the correct one:

/bossbar set foo:bar name {"text":"Bossbar","bold":true}
/bossbar set foo:bar name {"text":"Bossbar","bold":true}

The extra quotes aren't needed.

Yanis48

(Unassigned)

Unconfirmed

Minecraft 18w20c

Retrieved