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

Long command block text crash

XMLWordPrintable

    • Confirmed
    • Creative

      After using command blocks for a very long /tellraw command I was disconnect from server when playing on singleplayer then after pressing cancel get sent to the multiplayer screen?

      What I expected to happen was...:
      The command would run (I heard commands could be infinitely long) or in the previous output box in command blocks it would say "Command Too Long"

      What actually happened was...:
      I was sent to a screen that said "Disconnected by server, Chat message too long" and after pressing cancel got sent to the multiplayer screen even though i was playing on a singleplayer world.

      Steps to Reproduce:
      1. In a singleplayer world, put this command into a command block(Or another long comand)

      /tellraw @a {"text":"<Bartender> What can i do for you?","color":"white","bold":"false","italic":"false","underlined":"false","strikethrough":"false","obfuscated":"false","extra":[{"text":"[Buy drink]","color":"green","bold":"false","italic":"false","underlined":"false","strikethrough":"false","obfuscated":"false","clickEvent":{"action":"run_command","value":"/tellraw @p {text:\"<Bartender> Sure, there you go\"}"},"hoverEvent":{"action":"show_text","value":"Can i get a drink?"}},{"text":" [Nothing]","color":"red","bold":"false","italic":"false","underlined":"false","strikethrough":"false","obfuscated":"false","clickEvent":{"action":"run_command","value":"/tellraw @a {\"text\":\"<Bartender> So your new here?\",\"color\":\"white\",\"bold\":\"false\",\"italic\":\"false\",\"underlined\":\"false\",\"strikethrough\":\"false\",\"obfuscated\":\"false\",\"extra\":[{\"text\":\"[Yes] \",\"color\":\"green\",\"bold\":\"false\",\"italic\":\"false\",\"underlined\":\"false\",\"strikethrough\":\"false\",\"obfuscated\":\"false\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tellraw @p {text:\\\"<Bartender> Nice, you should check out the docks\\\"}\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"I just came for a visit\"}},{\"text\":\"[No]\",\"color\":\"red\",\"bold\":\"false\",\"italic\":\"false\",\"underlined\":\"false\",\"strikethrough\":\"false\",\"obfuscated\":\"false\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tellraw @p {text:\\\"<Villager> I've never seen you before\\\"}\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"No i just came for a drink\"}}]}"},"hoverEvent":{"action":"show_text","value":"I don't need anything"}}]}
      

      2. Click on Nothing and you sould be disconnected
      3. click "Back to Title Screen" and you should end up in the multiplay screen

      Thank you for your help

            Unassigned Unassigned
            RicketyBread RicketyBread
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: