<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:25:49 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-10880] Comma or other symbol after @ selector does not work with command blocks</title>
                <link>https://bugs.mojang.com/browse/MC-10880</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;@p and @a won&apos;t list usernames&lt;/p&gt;

&lt;p&gt;What I expected to happen was...:&lt;/p&gt;

&lt;p&gt;Command Block: /say @p, You are not allowed to access this area!&lt;/p&gt;

&lt;p&gt;What actually happened was...:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;@&amp;#93;&lt;/span&gt; @p, you are not allowed to access this area!&lt;/p&gt;

&lt;p&gt;Steps to Reproduce:&lt;br/&gt;
1. Get a command block (/give username 137)&lt;br/&gt;
2. Type in the command block /say @p, somat here&lt;br/&gt;
3. Power with redstone&lt;/p&gt;

&lt;p&gt;Result:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;@&amp;#93;&lt;/span&gt; @p, somat here&lt;/p&gt;</description>
                <environment>Windows XP, JRE7&lt;br/&gt;
Windows 10, JRE8</environment>
        <key id="24861">MC-10880</key>
            <summary>Comma or other symbol after @ selector does not work with command blocks</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="-1">Unassigned</assignee>
                                    <reporter username="bradleygizzi">Bradley Paul Gizzi</reporter>
                        <labels>
                            <label>selector</label>
                    </labels>
                <created>Sun, 3 Mar 2013 14:31:26 +0100</created>
                <updated>Thu, 16 Nov 2017 20:09:53 +0100</updated>
                            <resolved>Thu, 16 Nov 2017 20:09:53 +0100</resolved>
                                    <version>Snapshot 13w09a</version>
                    <version>Snapshot 13w09b</version>
                    <version>Snapshot 13w09c</version>
                    <version>Snapshot 13w10a</version>
                    <version>Minecraft 1.5</version>
                    <version>Snapshot 13w11a</version>
                    <version>Minecraft 1.7.4</version>
                    <version>Minecraft 14w05b</version>
                    <version>Minecraft 14w08a</version>
                    <version>Minecraft 14w18a</version>
                    <version>Minecraft 14w21b</version>
                    <version>Minecraft 1.8</version>
                    <version>Minecraft 1.8.1-pre3</version>
                    <version>Minecraft 1.8.8</version>
                    <version>Minecraft 15w38a</version>
                    <version>Minecraft 1.10.2</version>
                    <version>Minecraft 16w35a</version>
                    <version>Minecraft 16w42a</version>
                    <version>Minecraft 16w43a</version>
                    <version>Minecraft 1.12.2</version>
                                    <fixVersion>Minecraft 17w46a</fixVersion>
                                                        <votes>9</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="250090" author="bradleygizzi" created="Wed, 16 Sep 2015 21:44:20 +0200"  >&lt;p&gt;Updated this, been 2 years nearly since it was reported, minor issue but would be nice to have fixed.&lt;/p&gt;</comment>
                            <comment id="205438" author="dinnerbone" created="Sat, 25 Oct 2014 17:51:22 +0200"  >&lt;p&gt;This may be fixed later when we use my Brigadier command library, but no promises so I&apos;m going to leave it open until it actually is fixed &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/smile.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="205404" author="the.modificator" created="Sat, 25 Oct 2014 16:39:34 +0200"  >&lt;p&gt;I&apos;d like to add that &lt;tt&gt;/say Test, @p[]!&lt;/tt&gt; does also not work (as discussed above). However, I&apos;d still vote to close this ticket because whenever someone wants to accomplish something like this, he/she can easily use &lt;tt&gt;/tellraw&lt;/tt&gt; now. So there is no need for changing the current behavior.&lt;/p&gt;</comment>
                            <comment id="205362" author="galaxy_2alex" created="Sat, 25 Oct 2014 15:31:45 +0200"  >&lt;p&gt;Reopened, thanks,&lt;/p&gt;</comment>
                            <comment id="205355" author="the.modificator" created="Sat, 25 Oct 2014 15:21:13 +0200"  >&lt;p&gt;Well, yeah: &lt;tt&gt;/say @p is there. Hello, @p! @p, What&apos;s up?&lt;/tt&gt; will still result in the chat line &lt;tt&gt;The.Modificator is there. Hello, @p! @p, what&apos;s up?&lt;/tt&gt;, so the behavior is not changed.&lt;/p&gt;

&lt;p&gt;However, since the command &lt;a href=&quot;http://minecraft.gamepedia.com/Commands#tellraw&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;/tellraw&lt;/tt&gt;&lt;/a&gt; was introduced a few versions ago, there is a wordaround for this now.&lt;/p&gt;</comment>
                            <comment id="205318" author="galaxy_2alex" created="Sat, 25 Oct 2014 14:35:15 +0200"  >&lt;p&gt;Is this still a concern in the &lt;em&gt;current Minecraft version&lt;/em&gt; &lt;b&gt;1.8.1 Prerelease 3&lt;/b&gt; / Launcher version &lt;b&gt;1.5.3&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="175125" author="trazlander" created="Thu, 17 Jul 2014 01:18:26 +0200"  >&lt;p&gt;I guess this might not get fixed now that you can do most of this with /tellraw and JSON&lt;/p&gt;</comment>
                            <comment id="162552" author="marcono1234" created="Tue, 10 Jun 2014 21:08:01 +0200"  >&lt;p&gt;Confirmed for 14w21b&lt;/p&gt;</comment>
                            <comment id="153834" author="qmagnet" created="Wed, 30 Apr 2014 16:06:43 +0200"  >&lt;p&gt;Confirmed for 14w18a but you should be using tellraw now&lt;/p&gt;</comment>
                            <comment id="142678" author="garyclosse" created="Sun, 23 Feb 2014 19:31:43 +0100"  >&lt;p&gt;Confirmed for 08a&lt;/p&gt;</comment>
                            <comment id="103110" author="wolfiemario" created="Sat, 14 Sep 2013 03:43:04 +0200"  >&lt;p&gt;Has this been abandoned?&lt;/p&gt;

&lt;p&gt;I can confirm this bug for 13w37b. Can somebody please update the Affects Versions tag? It happens whether you use @p or @p[].&lt;/p&gt;</comment>
                            <comment id="49631" author="bradleygizzi" created="Mon, 4 Mar 2013 18:38:34 +0100"  >&lt;p&gt;So your implementing this as a bugfix? Cool, never thought you&apos;d fix this as it is the comma. @p, hi&lt;br/&gt;
Do some tests and you&apos;ll see.&lt;br/&gt;
Could you not just replace every @p or make it work at least? Because using it like this: /say @p , Hi &lt;br/&gt;
Just doesnt look good.&lt;/p&gt;

&lt;p&gt;P.S. I didn&apos;t mark private. I marked it as public. A mod must of marked private.&lt;/p&gt;</comment>
                            <comment id="49565" author="dinnerbone" created="Mon, 4 Mar 2013 14:41:35 +0100"  >&lt;p&gt;We&apos;ll still allow @p as it does now, where it&apos;s the entire word. It would probably need @p[] as you suggested for detection within a word.&lt;/p&gt;</comment>
                            <comment id="49563" author="the.modificator" created="Mon, 4 Mar 2013 14:39:01 +0100"  >&lt;p&gt;Sounds great! So should map makers start using &lt;tt&gt;@p[]&lt;/tt&gt; in their maps instead of only &lt;tt&gt;@p&lt;/tt&gt; from now on? (Just asking to ensure forward-compatibility.)&lt;/p&gt;</comment>
                            <comment id="49560" author="dinnerbone" created="Mon, 4 Mar 2013 14:28:54 +0100"  >&lt;p&gt;Yes it would, and that&apos;s what we will try to do.&lt;/p&gt;</comment>
                            <comment id="49558" author="the.modificator" created="Mon, 4 Mar 2013 14:25:22 +0100"  >&lt;p&gt;Wouldn&apos;t the syntax &lt;tt&gt;@p[]&lt;/tt&gt; be easily parsable as tokens? I&apos;m thinking about something like this (in &lt;a href=&quot;http://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;EBNF&lt;/a&gt;):&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;chat_line = { player_selector | other_character };
player_selector = &lt;span class=&quot;code-quote&quot;&gt;&quot;@&quot;&lt;/span&gt; (player_selector_type) &lt;span class=&quot;code-quote&quot;&gt;&quot;[&quot;&lt;/span&gt; [ player_selector_options ] &lt;span class=&quot;code-quote&quot;&gt;&quot;]&quot;&lt;/span&gt;;
player_selector_type = &lt;span class=&quot;code-quote&quot;&gt;&quot;a&quot;&lt;/span&gt; | &lt;span class=&quot;code-quote&quot;&gt;&quot;p&quot;&lt;/span&gt; | &lt;span class=&quot;code-quote&quot;&gt;&quot;r&quot;&lt;/span&gt;
player_selector_options = player_selector_option [ { &lt;span class=&quot;code-quote&quot;&gt;&quot;,&quot;&lt;/span&gt; player_selector_option } ];
player_selector_option = (&lt;span class=&quot;code-quote&quot;&gt;&quot;r&quot;&lt;/span&gt; | &lt;span class=&quot;code-quote&quot;&gt;&quot;m&quot;&lt;/span&gt; | ...) &lt;span class=&quot;code-quote&quot;&gt;&quot;=&quot;&lt;/span&gt; ...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;tt&gt;other_character&lt;/tt&gt; would have to be set to some kind of fallback. And what I wrote for &lt;tt&gt;player_selector_option&lt;/tt&gt; is just a sketch.&lt;/p&gt;


&lt;p&gt;&amp;#8211;&lt;/p&gt;

&lt;p&gt;I just edited the EBNF. This is what the EBNF looked like before my edit:&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;chat_line = { player_selector | other_character };
player_selector = &lt;span class=&quot;code-quote&quot;&gt;&quot;@&quot;&lt;/span&gt; (&lt;span class=&quot;code-quote&quot;&gt;&quot;a&quot;&lt;/span&gt; | &lt;span class=&quot;code-quote&quot;&gt;&quot;p&quot;&lt;/span&gt; | &lt;span class=&quot;code-quote&quot;&gt;&quot;r&quot;&lt;/span&gt;) &lt;span class=&quot;code-quote&quot;&gt;&quot;[&quot;&lt;/span&gt; [ player_selector_options ] &lt;span class=&quot;code-quote&quot;&gt;&quot;]&quot;&lt;/span&gt;;
player_selector_options = player_selector_option [ { &lt;span class=&quot;code-quote&quot;&gt;&quot;,&quot;&lt;/span&gt; player_selector_option } ];
player_selector_option = (&lt;span class=&quot;code-quote&quot;&gt;&quot;r&quot;&lt;/span&gt; | &lt;span class=&quot;code-quote&quot;&gt;&quot;m&quot;&lt;/span&gt; | ...) &lt;span class=&quot;code-quote&quot;&gt;&quot;=&quot;&lt;/span&gt; ...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="49553" author="dinnerbone" created="Mon, 4 Mar 2013 13:47:44 +0100"  >&lt;p&gt;Will have to fix after 1.5 as the player selector should use a token based system, and not regex. Too scary to do too close to 1.5!&lt;/p&gt;</comment>
                            <comment id="49551" author="firehunterx" created="Mon, 4 Mar 2013 13:45:46 +0100"  >&lt;p&gt;If punctuation is added after the @p or @a without a space between, the function of @p is ignored and it is not recognized as a console action. This is very frequently seen with chat bots and other text-based things that involve changing outputs.&lt;/p&gt;
</comment>
                            <comment id="49542" author="the.modificator" created="Mon, 4 Mar 2013 12:00:35 +0100"  >&lt;p&gt;IMO a good resolution for this would be allowing this syntax:&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;say Well done, @p[]!&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Using such a character sequence pretty much ensures that those characters should be interpreted as a placeholder, not part of a normal chat line.&lt;/p&gt;

&lt;p&gt;Just doing a normal search-and-replace for just &quot;@p&quot; won&apos;t work as it breaks &quot;normal&quot; chat lines like this:&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;say @carl_d: Please bring some food. @peter_h: Please bring the arrows!&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This would then output: &quot;@carl_d: Please bring some food. The.Modificatoreter_h: Please bring the arrows!&quot; The character sequence &quot;@p[]&quot; shouldn&apos;t appear in normal chat though. (Except for very fancy smileys.)&lt;/p&gt;</comment>
                            <comment id="49536" author="the.modificator" created="Mon, 4 Mar 2013 11:14:41 +0100"  >&lt;p&gt;I think the problem is caused by the comma after @p. I did a similar thing with an exclamation mark like this:&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;say Well done, @p!&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This will output: &quot;Well done, @p!&quot;&lt;/p&gt;


&lt;p&gt;It only worked when I added a space after @p like this:&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;say Well done, @p !&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This will output: &quot;Well done, The.Modificator !&quot;&lt;/p&gt;


&lt;p&gt;EDIT: Just tested it with the comma. Same behavior here.&lt;/p&gt;</comment>
                            <comment id="49533" author="jeb" created="Mon, 4 Mar 2013 10:29:05 +0100"  >&lt;p&gt;@p is case sensitive, maybe that&apos;s the problem?&lt;/p&gt;</comment>
                            <comment id="49368" author="bljat" created="Sun, 3 Mar 2013 15:48:06 +0100"  >&lt;p&gt;Please do not mark issues as private, unless your bug report is a security issue containing information that may compromise your server/client.&lt;/p&gt;</comment>
                            <comment id="49354" author="kumasasa" created="Sun, 3 Mar 2013 14:40:32 +0100"  >&lt;p&gt;Cannot reproduce.&lt;br/&gt;
@p is replaced by player name&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="23659">MC-9895</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="23662">MC-9898</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="26780">MC-12049</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="37065">MC-18653</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="23250" name="2013-03-03_14.39.46.png" size="255448" author="kumasasa" created="Sun, 3 Mar 2013 14:40:32 +0100"/>
                            <attachment id="23251" name="2013-03-03_14.39.47.png" size="173690" author="kumasasa" created="Sun, 3 Mar 2013 14:40:32 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 18 Mar 2013 23:51:00 +0100</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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0httb:</customfieldvalue>

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