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

Server has a different character limit to single-player command blocks.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.9.4
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      When using version 1.9 and in a server entering more than 31181 characters into a command block and clicking done crashes the game. Single player works perfect otherwise with it's limit being 39000 characters.
    • Confirmation Status:
      Unconfirmed

      Description

      I have an issue that when I put a command inside a command block that's 39000 characters long, the game crashes. More specifically it crashes when I click done.

      COMMAND USED :

      http://hastebin.com/fodoteqihe.css

      Here's an image of the error client side.
      https://i.gyazo.com/395ab55239d05d85679fd54e820a5778.gif

      Here's a still image of the same error but as a still image in case you want to read it,
      https://i.gyazo.com/7b086b4f67c6b5aa16765720d903e2a8.png

      If you'd like to try it for yourself on your server to see it's the same then you can make a command here. https://bimbimma.com/minecraftmurals/ I used the default in this example.

      Here's the server side error log

      ^21:50:56 [Error] io.netty.handler.codec.EncoderException: String too big (was 33684 bytes encoded, max 32767)
      21:50:56 [Info] PLAYERNAME lost connection: Disconnected
      21:50:56 [Info] PLAYERNAME left the game.^

      Here is the error log on a vanilla server with no client mods or server plugins.

      ^22:09:02 [Info] Starting minecraft server version 1.9.4
      22:09:02 [Info] Loading properties
      22:09:02 [Info] Default game type: CREATIVE
      22:09:02 [Info] Generating keypair
      22:09:03 [Info] Starting Minecraft server on *:25565
      22:09:03 [Info] Using epoll channel type
      22:09:03 [Info] Preparing level "world"
      22:09:03 [Info] Preparing start region for level 0
      22:09:04 [Info] Preparing spawn area: 21%
      22:09:05 [Info] Preparing spawn area: 80%
      22:09:06 [Info] Done (3.144s)! For help, type "help" or "?"
      22:09:07 [Info] UUID of player flyinggoatman is fa4d50af-afc9-4bbe-8578-054035e64c39
      22:09:07 [Info] flyinggoatman[/XX.XX.XXX.XX:XXXXX] logged in with entity id 287 at (-89.31567197349298, 69.0, 216.89652576529346)
      22:09:07 [Info] flyinggoatman joined the game
      22:09:13 [Error] io.netty.handler.codec.EncoderException: String too big (was 33684 bytes encoded, max 32767)
      22:09:13 [Info] flyinggoatman lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
      22:09:13 [Info] flyinggoatman left the game
      22:09:27 [Info] UUID of player flyinggoatman is fa4d50af-afc9-4bbe-8578-054035e64c39
      22:09:27 [Info] flyinggoatman[/XX.XX.XXX.XX:XXXXX] logged in with entity id 288 at (-89.16557651581064, 69.0, 216.96753748257746)
      22:09:27 [Info] flyinggoatman joined the game^

      Something is added to the command when it runs on the server. I'd like to know what the changes are but commandBlockOutput dose not show the full command but just the parts of it.

      The limit for single-player is 39000. the limit for servers is 31181 though. Any ideas would be much aprecu

        Attachments

        1. 12.gif
          12.gif
          729 kB
        2. 12.png
          12.png
          108 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              flyinggoatman Thomas Kirk Gautier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: