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

RCON output has newlines removed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.4.7, Minecraft 1.5, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 1.7.4, Minecraft 14w06b, Minecraft 14w18b, Minecraft 14w28a, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.1, Minecraft 1.8.3, Minecraft 1.10.2, Minecraft 1.11.2, Minecraft 1.12, Minecraft 1.12.2, Minecraft 1.13-pre5, Minecraft 1.13.1, Minecraft 1.13.2, 1.15.2, 1.17, 1.18.2, 1.19.4
    • Confirmed
    • Networking
    • Low
    • Platform

      When executing rcon commands, the response is all in one string with no newline characters, even when the command yields several lines of text when executed on the console.

      Bukkit returns the newlines, but vanilla Minecraft does not, making the server response much harder to parse.
      Suggest either null-splitting or \n-splitting the lines.

      Code analysis can be found by isXander in this comment.

            Unassigned Unassigned
            dx dx
            Votes:
            42 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              CHK: