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

"/tellraw" command will not work properly inside a command block after a certain length

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.8
    • None
    • Pavilion Laptop, Latest version of Java, Minecraft 1.8
    • Unconfirmed

      I am currently trying to make a "/tellraw" command that has multiple "/tellraw" commands inside of it:

      /tellraw @a {text:"Click this",clickEvent:{action:run_command,value:"/tellraw @a {text:'This too',clickEvent:{action:run_command,value:'/tellraw @a {text:\"Quit wast\"}'}}"}}
      

      First text displayed: "Click this". When clicked, displays new text: "This too". When clicked, displays new text: "Quit wast".
      Now this works perfectly fine, but as soon as I add another letter to "Quit wast" (because I want it to say 'Quit wasting your time'), it gives me an error message after I click "Click this": "Invalid json: End of input at line 1 column 89". This is the code that gives the error message:

      /tellraw @a {text:"Click this",clickEvent:{action:run_command,value:"/tellraw @a {text:'This too',clickEvent:{action:run_command,value:'/tellraw @a {text:\"Quit wasti\"}'}}"}}
      

      *Note: All I did was add an "i" to "Quit wast". Same result if more is added.
      Thank you!

            Unassigned Unassigned
            Hobo10000000000 Hobo10000000000
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: