Mojira Archive
MC-30955

Chat message too long when using /tellraw command

Long commands run from a click event are truncated, causing the command to fail.

Steps to Reproduce:
1.type following command in a command block:

/tellraw @a {"text":"Press to give ","color":"blue","extra":[{"text":"Click","clickEvent":{"action":"run_command","value":"/effect @a 1 30 4"}},{"text":"sec","color":"red","clickEvent":{"action":"run_command","value":"/give @a iron_sword 1 0 {ench:[{id:32,lvl:3}],display:{Name:Blade of Glory,Lore:[Hello this is Lore,This is a good weapon,I'm trying to find if there is a limit on the length of a command]}}"}}]}

2. power command block
3. click the red word "sec" in the chat.

This produces the error:

Data tag parsing failed: Unbalanced brackets:
{ench:[{id:32,lvl:3}],display:{Name:Blade of Glory,Lore:[Hello this is Lore,