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

Json doesn't works very well with commands

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.7.1, Minecraft 14w04b
    • None
    • Unconfirmed

      When you use this command, it doesn't work:

      /tellraw @a {"text": "-", "extra": [{"text": "[Regeln]",color:gold,"clickEvent": {"action": "run_command", "value":"/give @p[score_p=1,score_p_min=1] 387 1 1 {author:\"Marcono1234\",title:\"Regeln\",pages:[\"Sei nett\",\"Sei nett\",\"Sei nett\"]}"}}]}

      And you get this error (see screenshot 2) even all values are right.

      When you type:

      /tellraw @a {"text": "-", "extra": [{"text": "[Regeln]",color:gold,"clickEvent": {"action": "run_command", "value":"/give @p[score_p=1,score_p_min=1] minecraft:written_book 1 1 {author:\"Marcono1234\",title:\"Regeln\",pages:[\"Sei nett\",\"Sei nett\",\"Sei nett\"]}"}}]}

      You get that error (screenshot 1):

        1. Unbenannt.png
          Unbenannt.png
          424 kB
        2. Unbenannt.png
          Unbenannt.png
          767 kB

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: