<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:20:55 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-9391] Command Block Arguments Length</title>
                <link>https://bugs.mojang.com/browse/MC-9391</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;I created the team &apos;lobby&apos; for a game I am making.&lt;br/&gt;
I typed in this command in a command block:&lt;br/&gt;
/scoreboard teams join lobby @p[-1103,52,450,2]&lt;br/&gt;
I expected this command to add a person who is at the coordinates -1103 52 450 and in a range of 2 to the team lobby.&lt;br/&gt;
I activated this command block and the server kicked everybody on it.&lt;br/&gt;
The screenshot attached shows what showed up on everybody&apos;s screen when we were kicked.&lt;br/&gt;
We then could not join and that screen kept on showing up every time we tried to join the server.&lt;br/&gt;
I looked in the server log and it added &quot;@p[-1103,52,450,2]&quot; to the team lobby.&lt;br/&gt;
I deleted the scoreboard.dat and we could join again.&lt;br/&gt;
I ran the command block again and the same thing happened.&lt;br/&gt;
I then tried with the command:&lt;br/&gt;
/scoreboard teams join lobby @p[-1103,52,450] &lt;br/&gt;
This time it added the person closest to those coordinates as I expected.&lt;br/&gt;
This seems to occur every time the @p and all its arguments total up to more than 16 characters and there is no person at the specified location and other then that, it works as intended.&lt;br/&gt;
Even using:&lt;br/&gt;
@p[x=-1103,y=52,z=450,r=2] does not work it only increases the number on the screen when we get kicked from 18 to 26.&lt;br/&gt;
The same happens with:&lt;br/&gt;
/scoreboard teams join lobby @a[c=1,x=-1103,y=52,z=450,r=2]&lt;/p&gt;</description>
                <environment>Windows 8 Server</environment>
        <key id="22983">MC-9391</key>
            <summary>Command Block Arguments Length</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="dinnerbone">[Mojang] Nathan Adams</assignee>
                                    <reporter username="addgame">Adam</reporter>
                        <labels>
                            <label>crash</label>
                            <label>multiplayer</label>
                    </labels>
                <created>Fri, 8 Feb 2013 04:15:31 +0100</created>
                <updated>Mon, 18 Feb 2013 13:33:21 +0100</updated>
                            <resolved>Mon, 18 Feb 2013 13:33:21 +0100</resolved>
                                    <version>Snapshot 13w05b</version>
                    <version>Snapshot 13w06a</version>
                    <version>Snapshot 13w07a</version>
                                    <fixVersion>Snapshot 13w09a</fixVersion>
                                                        <votes>2</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="45853" author="kave" created="Fri, 15 Feb 2013 13:09:31 +0100"  >&lt;p&gt;The error itself is caused because the command adds &quot;@p&lt;span class=&quot;error&quot;&gt;&amp;#91;x=-1103,y=52,z=450,r=2&amp;#93;&lt;/span&gt;&quot; to the player-list of the team and interprets it as a player.&lt;br/&gt;
but since a player&apos;s name is only allowed to have at most 16 characters, it outputs an error.&lt;/p&gt;</comment>
                            <comment id="44561" author="bohunk" created="Fri, 8 Feb 2013 20:30:02 +0100"  >&lt;p&gt;Yea, i have the same problem. It sucks &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/tongue.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="44549" author="6bit" created="Fri, 8 Feb 2013 19:43:37 +0100"  >&lt;p&gt;not the same but another way&lt;br/&gt;
/scoreboard teams join lobby @a[c=1x=-1103,y=52,z=450,r=2]&lt;/p&gt;</comment>
                            <comment id="44484" author="6bit" created="Fri, 8 Feb 2013 13:54:24 +0100"  >&lt;p&gt;try to use:&lt;br/&gt;
@p[x=-1103,y=52,z=450,r=2]&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="22998">MC-9400</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="22031">MC-8790</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="21334" name="2013-02-07_21.59.12.png" size="20510" author="addgame" created="Fri, 8 Feb 2013 04:15:31 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Unconfirmed]]></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_10501" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Game Mode</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10305"><![CDATA[Creative]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0jopz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>