Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-30955

Chat message too long when using /tellraw command

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Works As Intended
    • Affects Version/s: Minecraft 13w37a, Minecraft 13w37b, Minecraft 13w39b, Minecraft 13w41a, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 13w47a, Minecraft 13w47b, Minecraft 13w47c, Minecraft 1.7.4, Minecraft 14w02b, Minecraft 14w02c, Minecraft 14w03b, Minecraft 14w04a, Minecraft 14w04b, Minecraft 14w05b, Minecraft 14w06a, Minecraft 14w06b, Minecraft 14w07a, Minecraft 14w08a, Minecraft 14w21b, Minecraft 14w25b, Minecraft 14w26b, Minecraft 14w26c, Minecraft 14w30c, Minecraft 14w31a, Minecraft 1.8-pre1, Minecraft 1.8-pre2, Minecraft 1.8.3, Minecraft 1.8.8, Minecraft 15w44b, Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w51b, Minecraft 16w06a
    • Fix Version/s: None
    • Environment:
      Mac OS X 10.8.4
    • Confirmation Status:
      Confirmed
    • Game Mode:
      Creative

      Description

      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,
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              searge [Mojang] Searge (Michael Stoyke)
              Reporter:
              skinny121 Ben Lewis
              Votes:
              50 Vote for this issue
              Watchers:
              17 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: