• Register
Welcome to Minecraft Help - Questions & Answers

Here you can ask Minecraft related questions or help other players by answering their questions.
Community driven website maintained by Minecraft Servers - A list with thousands of playable servers for Minecraft.

We recommend Mojangs new official bug tracker, letting them know about errors, will help speed up development to close bugs. Visit at Minecraft Bug Tracker
  • Minecraft Skins
  • Minecraft Stats
  • Why does my clickEvent in my tellraw throw n error?

    +1 vote

    So I have a command tellraw @p [{"text":"Cinimatic camera","color":"green","clickEvent":{"action":"run_command","value":"/tellraw @p [{\"text\":\"ON  \",\"color\":\"green\",\"bold\":true,\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/replaceitem entity @p armor.head carved_pumpkin\"}},{\"text\":\"OFF\",\"color\":\"dark_red\",\"bold\":true,\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/replaceitem entity @p armor.head air\"}}]"}}]

    And when I use it in a command block to make a settings menu it throws the following error:

    Invalid chat component: Unterminated string at line 1 column 244 path $[1].clickEvent.value ...ekkraw @p [{"text":"OFF","color":"dark_red","bold":true,"clickEvent":{"action":"run_command","value":"/replaceite<--[HERE]

    What is causing this error? and can someone show me the correct command?

    asked Sep 14, 2019 in Gameplay by anonymous

    Your answer

    Your name to display (optional):
    Privacy: Your email address will only be used for sending these notifications.
    Anti-spam verification:
    To avoid this verification in future, please log in or register.