<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:14:56 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[MC-7569] RCON output has newlines removed</title>
                <link>https://bugs.mojang.com/browse/MC-7569</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;Bukkit returns the newlines, but vanilla Minecraft does not, making the server response much harder to parse.&lt;br/&gt;
Suggest either null-splitting or \n-splitting the lines.&lt;/p&gt;

&lt;p&gt;Code analysis can be found by &lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=isXander&quot; class=&quot;user-hover&quot; rel=&quot;isXander&quot;&gt;isXander&lt;/a&gt; in &lt;a href=&quot;https://bugs.mojang.com/browse/MC-7569?focusedCommentId=1151787&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1151787&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;this comment&lt;/a&gt;.&lt;/p&gt;</description>
                <environment>Debian GNU/Linux Sta(b)le 6.0&lt;br/&gt;
&lt;a href=&apos;mailto:minecraft@gateway&apos;&gt;minecraft@gateway&lt;/a&gt;:~$ java -version&lt;br/&gt;
java version &amp;quot;1.6.0_26&amp;quot;&lt;br/&gt;
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)&lt;br/&gt;
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)&lt;br/&gt;
&lt;br/&gt;
</environment>
        <key id="20374">MC-7569</key>
            <summary>RCON output has newlines removed</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="4" iconUrl="https://bugs.mojang.com/images/icons/statuses/reopened.png" description="This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.">Reopened</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="dx">dx</reporter>
                        <labels>
                            <label>rcon</label>
                    </labels>
                <created>Wed, 16 Jan 2013 17:56:10 +0100</created>
                <updated>Fri, 27 Oct 2023 08:55:42 +0200</updated>
                                            <version>Minecraft 1.4.7</version>
                    <version>Minecraft 1.5</version>
                    <version>Minecraft 1.6.1</version>
                    <version>Minecraft 1.6.2</version>
                    <version>Minecraft 1.6.4</version>
                    <version>Minecraft 1.7.1</version>
                    <version>Minecraft 1.7.2</version>
                    <version>Minecraft 1.7.4</version>
                    <version>Minecraft 14w06b</version>
                    <version>Minecraft 14w18b</version>
                    <version>Minecraft 14w28a</version>
                    <version>Minecraft 1.8</version>
                    <version>Minecraft 1.8.1-pre3</version>
                    <version>Minecraft 1.8.1</version>
                    <version>Minecraft 1.8.3</version>
                    <version>Minecraft 1.10.2</version>
                    <version>Minecraft 1.11.2</version>
                    <version>Minecraft 1.12</version>
                    <version>Minecraft 1.12.2</version>
                    <version>Minecraft 1.13-pre5</version>
                    <version>Minecraft 1.13.1</version>
                    <version>Minecraft 1.13.2</version>
                    <version>1.15.2</version>
                    <version>1.17</version>
                    <version>1.18.2</version>
                    <version>1.19.4</version>
                                                                        <votes>42</votes>
                                    <watches>22</watches>
                                                                            <comments>
                            <comment id="1256067" author="JIRAUSER741213" created="Wed, 10 May 2023 21:13:40 +0200"  >&lt;p&gt;Can confirm for 1.19.4&lt;/p&gt;</comment>
                            <comment id="1151787" author="JIRAUSER640396" created="Tue, 5 Apr 2022 13:22:42 +0200"  >&lt;p&gt;Can confirm on 1.18.2&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Code analysis&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Based on yarn 1.18.2 mappings&lt;/p&gt;

&lt;p&gt;In the class RconCommandOutput&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; void sendSystemMessage(Text message, UUID sender) {
 &#160; &#160;&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.buffer.append(message.getString());
}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The message is appended to the buffer. Without a line seperator. I suggest simply appending System.lineSeperator() to the buffer on each system message&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; void sendSystemMessage(Text message, UUID sender) {
&#160; &#160;&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.buffer.append(message.getString()).append(&lt;span class=&quot;code-object&quot;&gt;System&lt;/span&gt;.lineSeperator());
} &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Like this!&lt;/p&gt;</comment>
                            <comment id="1025769" author="JIRAUSER658400" created="Mon, 28 Jun 2021 20:57:27 +0200"  >&lt;p&gt;Still an issue on 1.17.&lt;/p&gt;</comment>
                            <comment id="725845" author="JIRAUSER503539" created="Wed, 10 Jun 2020 19:29:28 +0200"  >&lt;p&gt;This remains unfixed as of 1.15.2, but I asked the owner of the &lt;a href=&quot;https://www.curseforge.com/minecraft/mc-mods/rcon-newline-fix&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;RCON newline fix&lt;/a&gt; mod if it could be updated for 1.15.2, and they just uploaded the 1.15.2 version (thanks!), so rcon is once again patched and working properly on my server.&lt;/p&gt;

&lt;p&gt;It would be really nice to get this fixed at some point, though.&#160; I&apos;m pretty sure it&apos;s just a one-line fix somewhere!&lt;/p&gt;</comment>
                            <comment id="644450" author="altus_crefire" created="Sat, 7 Mar 2020 22:27:57 +0100"  >&lt;p&gt;Still a problem as of 1.15.2 on Windows 10&lt;/p&gt;

&lt;p&gt;For example, when sending the command &quot;op&quot; with no accompanying username the following is returned&lt;/p&gt;

&lt;p&gt;&quot;Unknown commandop&amp;lt;&#8211;&lt;span class=&quot;error&quot;&gt;&amp;#91;HERE&amp;#93;&lt;/span&gt;&quot;&lt;/p&gt;

&lt;p&gt;When it should be&lt;/p&gt;

&lt;p&gt;&quot;Unknown command&lt;br/&gt;
 op&amp;lt;--&lt;span class=&quot;error&quot;&gt;&amp;#91;HERE&amp;#93;&lt;/span&gt;&quot;&lt;/p&gt;

&lt;p&gt;This is very troublesome when executing commands that return a large number of lines, that are then &lt;em&gt;not&lt;/em&gt; separated by line-breaks as they would be in game, or in the server console itself&lt;/p&gt;</comment>
                            <comment id="497011" author="cosmocrat" created="Fri, 26 Oct 2018 17:48:15 +0200"  >&lt;p&gt;Confirmed for 1.13.2, can we please fix this???&lt;/p&gt;</comment>
                            <comment id="490314" author="cubicmarauder" created="Sat, 22 Sep 2018 20:53:49 +0200"  >&lt;p&gt;1.13.1 still has this issue.&lt;/p&gt;</comment>
                            <comment id="466460" author="__null" created="Tue, 3 Jul 2018 07:12:40 +0200"  >&lt;p&gt;&lt;sub&gt;&lt;em&gt;Based on Minecraft 1.12.2 decompiled via MCP 9.40&lt;/em&gt;&lt;/sub&gt;&lt;/p&gt;

&lt;p&gt;The class &lt;tt&gt;net.minecraft.network.rcon.RConConsoleSource&lt;/tt&gt; mimics a command sender and records the messages sent to it. The &lt;tt&gt;sendMessage(ITextComponent)&lt;/tt&gt; method in that class, which adds a chat message to the buffer, should add an additional newline.&lt;/p&gt;</comment>
                            <comment id="449259" author="kartoffelx86" created="Thu, 26 Apr 2018 16:26:32 +0200"  >&lt;p&gt;1.12.2 still has that issue&lt;/p&gt;</comment>
                            <comment id="389814" author="seblor" created="Tue, 20 Jun 2017 20:19:15 +0200"  >&lt;p&gt;1.12 Still has missing newline markers.&lt;br/&gt;
I don&apos;t know how to add an affected version though.&lt;/p&gt;</comment>
                            <comment id="353812" author="toasty27" created="Thu, 12 Jan 2017 13:28:42 +0100"  >&lt;p&gt;1.11.2 still has this issue.&lt;/p&gt;

&lt;p&gt;Come on guys, I know this isn&apos;t exactly a major feature, but this is such a stupid simple issue. The client already renders the console properly, so I find it hard to believe this would be a difficult bug to fix.&lt;/p&gt;</comment>
                            <comment id="331258" author="omkelderman" created="Tue, 27 Sep 2016 12:43:54 +0200"  >&lt;p&gt;just tested this with &quot;minecraft_server.1.10.2.jar&quot;, can confirm it is still an issue!&lt;/p&gt;</comment>
                            <comment id="331229" author="galaxy_2alex" created="Tue, 27 Sep 2016 00:26:05 +0200"  >&lt;p&gt;Is this still a concern in the &lt;em&gt;current Minecraft version&lt;/em&gt;? If so, please &lt;em&gt;update the affected versions&lt;/em&gt; in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.&lt;/p&gt;

&lt;p&gt;Keep in mind that the &quot;Resolved&quot;-Status on this ticket just means &quot;Answered&quot;, and that we are waiting for further information on whether this issue still exists or not. It will be reopened as soon as the requested information has been delivered.&lt;/p&gt;
</comment>
                            <comment id="205755" author="galaxy_2alex" created="Sun, 26 Oct 2014 10:15:13 +0100"  >&lt;p&gt;Reopened, thanks.&lt;/p&gt;

&lt;p&gt;@dx: I gave you reporter access, so you can change the ticket as you like.&lt;br/&gt;
@Original Reporter: If you want the ticket back and update it yourself, leave a comment.&lt;/p&gt;</comment>
                            <comment id="205721" author="dx" created="Sun, 26 Oct 2014 02:32:40 +0200"  >&lt;p&gt;1.8.1pre3 server is affected. Launcher is irrelevant.&lt;/p&gt;

&lt;p&gt;Can the title be changed to &quot;RCON output has newlines removed&quot; or similar? Please? Anyone? This title seriously is terrible.&lt;/p&gt;</comment>
                            <comment id="172852" author="omkelderman" created="Thu, 10 Jul 2014 16:04:11 +0200"  >&lt;p&gt;I have just tested this with the latest snapshot currently available (14w28a). Still happening.&lt;/p&gt;</comment>
                            <comment id="172093" author="JIRAUSER71590" created="Wed, 9 Jul 2014 17:46:35 +0200"  >&lt;p&gt;you mean 27b&lt;/p&gt;</comment>
                            <comment id="172066" author="jar_" created="Wed, 9 Jul 2014 16:52:08 +0200"  >&lt;p&gt;Is this still a concern in the &lt;em&gt;current Minecraft version&lt;/em&gt; &lt;b&gt;14w21b&lt;/b&gt; / Launcher version &lt;b&gt;1.4.4&lt;/b&gt; or later? If so, please &lt;em&gt;update the affected versions&lt;/em&gt; in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="155978" author="omkelderman" created="Tue, 6 May 2014 16:48:27 +0200"  >&lt;p&gt;Can confirm this for server version 14w18b (launcher version is irrelevant).&lt;br/&gt;
I don&apos;t think i have permission to edit the affected versions.. At least, i can&apos;t find a button to do so..&lt;/p&gt;</comment>
                            <comment id="138928" author="dx" created="Fri, 7 Feb 2014 22:12:41 +0100"  >&lt;p&gt;I suggest changing the subject to mention that unsplit means &quot;newlines removed&quot;. It wasn&apos;t obvious enough at first sight.&lt;/p&gt;</comment>
                            <comment id="138927" author="dx" created="Fri, 7 Feb 2014 22:09:45 +0100"  >&lt;p&gt;1.7.4 server is affected. Launcher is irrelevant. 14w06b server is affected too.&lt;/p&gt;</comment>
                            <comment id="133425" author="galaxy_2alex" created="Wed, 22 Jan 2014 09:21:28 +0100"  >&lt;p&gt;Is this still a concern in the &lt;em&gt;current Minecraft version&lt;/em&gt; &lt;b&gt;1.7.4&lt;/b&gt; / Launcher version &lt;b&gt;1.3.8&lt;/b&gt; or later? If so, please &lt;em&gt;update the affected versions&lt;/em&gt; in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="122269" author="_epm" created="Wed, 27 Nov 2013 23:35:52 +0100"  >&lt;p&gt;Yes, the 1.7.2 server still returns unsplit strings&lt;/p&gt;</comment>
                            <comment id="121459" author="talven81" created="Tue, 26 Nov 2013 21:58:04 +0100"  >&lt;p&gt;Is this still a concern in the &lt;em&gt;current Minecraft version&lt;/em&gt; &lt;b&gt;1.7.2&lt;/b&gt; / Launcher version &lt;b&gt;1.3.4&lt;/b&gt; ? If so, please &lt;em&gt;update the affected versions&lt;/em&gt; in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="88962" author="_epm" created="Thu, 11 Jul 2013 12:15:43 +0200"  >&lt;p&gt;This is still an issue in 1.6.1 and 1.6.2&lt;/p&gt;</comment>
                            <comment id="55154" author="demmydemon" created="Mon, 18 Mar 2013 20:35:31 +0100"  >&lt;p&gt;Yes, this affects 1.5 as well.  Exactly the same, no changes at all.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                    <customfield id="customfield_12800" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Area</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="12602"><![CDATA[Platform]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 29 May 2015 01:30:00 +0200</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11901" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Category</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11802"><![CDATA[Networking]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12200" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Mojang Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11703"><![CDATA[Low]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0na5b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12201" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>Triaged Time</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 29 Sep 2020 09:16:09 +0200</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>