Talk:Commands

From Minecraft Wiki
Jump to: navigation, search
Talk Archive

Tellraw command not working.[edit source]

Please Update The Json Provided. The Command is Not Working Properly Thank You--112.198.75.145 03:35, 21 February 2016 (UTC). --112.198.75.145 03:35, 21 February 2016 (UTC)

Fixed. Skylinerw (talk) 03:44, 21 February 2016 (UTC)

operator level[edit source]

A recent edit to the page was made, where different operator levels were noted for each command in the commands summary table. I couldn't find anything on the wiki about operator levels. If this is a thing, maybe it should be on this page, and on the Operator page. – Sealbudsman talk/contr 19:59, 3 April 2016 (UTC)

Apparently it is used on servers to allow some operators to have more permissions, see User talk:Cat7373#Op Level?. KnightMiner t/c 22:56, 3 April 2016 (UTC)

Behavior of /particle with colorable particles[edit source]

The usage of /particle suggests that the xd, yd and zd parameters when applied to a colorable particle (eg reddust) and a count of 0 specify an RGB color offset from the default color. The problem here is that it is not offset, but rather uses specific cases. The game applies the default value to each color channel only if the entered value is exactly zero. This means that even at 0.0000001 on xd, the reddust particle is black. This of course makes no visible difference to the other currently applicable particles (mobSpell and mobSpellAmbient) as their default values are all zero anyway. Not sure how to incorporate this info into the existing paragraph. –Preceding unsigned comment was added by Techy4198 (talkcontribs) at 19:14, 20 July 2016 (UTC). Please sign your posts with ~~~~

Did some testing and made it more correct, hopefully clearly enough. Thanks, good catch! – Sealbudsman talk/contr 03:50, 22 July 2016 (UTC)

Commands in single player mode?[edit source]

Hi i have tried th give command in my singleplayer world now, only trouble is, that it responds by saing that it cannot find a player by that name, even thoug I am typing in my own username? What am I doing wrong?

What command? PC or PE? – Sealbudsman talk/contr 11:43, 30 August 2016 (UTC)
Try using the right capitals/lowercase in your name, see if that works. – Sealbudsman talk/contr 11:47, 30 August 2016 (UTC)
Also try typing just the first letter of your name and then TAB. Or just use @p. —munin · Grid Book and Quill.png Grid Stone Pickaxe.png · 16:14, 30 August 2016 (UTC)

PE 0.16.0 commands[edit source]

There are three commands in 0.16.0 that aren't in PC: /clearfixedinv, /setfixedinvslot and /wsserver. Do we know what these do? – Sealbudsman talk/contr 16:42, 30 August 2016 (UTC)

The /setfixedinvslot command is in Education Edition, described here, though doesn't necessarily mean it's the same implementation. Unfortunately that's all I myself can offer as I don't have PE. Skylinerw (talk) 17:03, 30 August 2016 (UTC)
Sorry for replying so late, but wsserver stands for web socket server and is used to connect to a server via web sockets to receive automated command messages. Basically it's a way for the devs to send commands to a client to test stuff remotely rather than having to do it manually. There is another command, /closewebsocket, that's used solely by the automation server to terminate sending/receiving messages via web socket. Jocopa3 (talk) 02:44, 28 October 2016 (UTC)
Nice; I've included that info on the page, since it's still a current command that shows up, might as well explain what it does, even if it is developer only. – Sealbudsman talk/contr 03:57, 28 October 2016 (UTC)

Need some help[edit source]

How /title works? Is hard--72.50.82.222 22:59, 1 December 2016 (UTC)

It really
 Doesn't work--72.50.82.222 23:09, 1 December 2016 (UTC)

... grammar exists... Boorider7 (talk) 23:57, 21 December 2016 (UTC)

New PE command: /connect[edit source]

Pocket Edition 1.0.0 added a /connect <serverURI: string> command. Unfortunately, I know nothing about playing on a server and I'm not on Reddit (yet?), so that's all I know about it. Would somebody else be willing to write it up? — Auldrick (talk) 04:03, 14 January 2017 (UTC)

I added it as an alias to the /wsserver command, because they have the same syntax. In retrospect, I should have verified that with Jocopa3 first. It was a complete guess. – Sealbudsman talk/contr 04:11, 14 January 2017 (UTC)

/function[edit source]

Needs /function command (added in 1.12-pre1). – Nixinova Grid Book and Quill.png Grid Diamond Pickaxe.png Grid Map.png • 04:32, 11 May 2017 (UTC)

I see you redirected the "function" page to here because of this /function command. Do you also think the whole function system should be listed here (I'm assuming not)? If not, I don't think the "function" page should redirect to here. --Pepijn (talk) 16:50, 11 May 2017 (UTC)
Especially since the only remotely relevant information in this article contains a link back to Function, which brings them right back here. In situations like this you should create the Function article, or at least a stub, or you could just let the link in this page be a redlink until somebody else creates the article. I will check into having the redirect page deleted. – Auldrick (talk · contribs) 19:29, 11 May 2017 (UTC)
Can't we just edit the existing page and remove the redirect? --Pepijn (talk) 21:04, 11 May 2017 (UTC)
What would be the point of that? It would just show the user a completely blank page (which I don't think is even allowed by the Wiki software, let alone the Wiki rules). No, it's perfectly fine to let your link be a redlink; it's a normal and expected thing in a hypertext document where so many pages link to so many others. – Auldrick (talk · contribs) 21:09, 11 May 2017 (UTC)

Commands#Data_tags needs update.[edit source]

as it was changed in 1.12. The Byte Array type is not unavailable to commands anymore... 58.128.2.108 11:12, 23 May 2017 (UTC)

You can specify the type of a list by including a prefix. For example, [I;16777215] specifies a TAG_Int_Array, whereas [16777215] specifies a TAG_List, which often doesn't work as a substitute. Similarly, B or L prefixes can be used for TAG_Byte_Array and TAG_Long_Array.
- Andrio Celos (talk) 15:31, 13 August 2017 (UTC)

Long Page[edit source]

I think the list of commands should be converted to {{LoadPage}}s because the page is long. Dentedharp90041tc 13:00, 8 July 2017 (UTC)


 Support And move all commands to Commands/kill, Commands/give, etc, and then have {{LoadPage|(Commands)/kill}}, etc. Nixinova Grid Book and Quill.png Grid Diamond Pickaxe.png Grid Map.png 19:13, 8 July 2017 (UTC)
I agree that the page is rather long, but how would we deal with links, such as from {{cmd}}? An empty section header with another link to click for the actual content is not very user-friendly, but making links go directly to the subpages loses context. -- Orthotopetalk 19:25, 8 July 2017 (UTC)
Can't we just change the {{cmd}} template to link to commands/give instead of commands#give? Nixinova Grid Book and Quill.png Grid Diamond Pickaxe.png Grid Map.png 20:38, 8 July 2017 (UTC)
We could change load page to automatically show when its section is targeted, so hash links would still show the content, albeit with a slight delay. Potentially less of a delay than loading the entire page though, so it might be a net win. MajrTalk
Contribs
02:33, 9 July 2017 (UTC)
I replaced all the cross-platform commands with {{LoadPage}}. -134,000 bytes. Should load way faster. Nixinova Grid Book and Quill.png Grid Diamond Pickaxe.png Grid Map.png 02:35, 9 July 2017 (UTC)
Not really. About half a second difference on my desktop on an uncached page, not including generation time, which is only relevant to editors. The real difference will be on slow devices without much RAM (which I can't measure). MajrTalk
Contribs
02:44, 9 July 2017 (UTC)
Well, even if it doesnt load faster, it is still wayyyyyy for user-friendly, and when I can be bothered to do the Education Edition, scrolling down the page will be a lot less annoying. -Nixinova Grid Book and Quill.png Grid Diamond Pickaxe.png Grid Map.png 02:50, 9 July 2017 (UTC)
I disagree. Viewing more than one command, and especially comparing them is quite a bit more difficult. They might as well be entirely separate pages. The whole page acts as a pseudo TOC now, whereas before you could just scroll around to view nearby commands. The only real issue before was having to scroll back to the top to get to the TOC if you wanted to find another command, which would've been better solved by making the TOC always visible. Another potentially better option for reducing the page length would've been to split up the "List of commands" section to its own page, reducing both page sizes, while keeping the commands together.
I also don't agree with you making such a major change without anyone actually agreeing to it, other than the topic creator themselves. MajrTalk
Contribs
11:45, 22 July 2017 (UTC)
I don't like the LoadPage approach as well, but having all the commands on the same page is not a good approach either I think. The German wiki for example only has general usage on the Commands page, and all the commands split up to own articles, with an own navbox. The advantage is that you can go into detail even more while not having to care about the page becoming too long. | violine1101(Talk) 12:00, 22 July 2017 (UTC)
I agree with the TOC to have a fixed position. For the LoadPage, I kinda agree with that, but is there any way to make the LoadPage uncollapsed? It seems like the discussion was about the page size, not the long page scrolling. I also thought of separating the List of commands, Education Edition, and Removed commands sections onto their own subpages, not the every single commands. – ItsPlantseed|⟩ 13:04, 22 July 2017 (UTC)


The page wasn't very big though, it's 49KB now, and was 97KB before, which is nothing really. Text compresses really well. MajrTalk
Contribs
00:07, 23 July 2017 (UTC)
Now, It's very hard to update "Commands" page on Chinese Minecraft Wiki for Chinese Minecraft Wiki users. So many sub-pages to open.SteveZihang zh.Patroller Book and Quill.png 03:57, 31 August 2017 (UTC)
I think it is a really bad idea to use LoadPage on this page. It is not friendly to other-language Minecraft Wikis at all.SteveZihang zh.Patroller Book and Quill.png 04:03, 31 August 2017 (UTC)

Education Edition[edit source]

If in Education Edition there are commands, then should be {{exclusive|java|pocket|education}} ? (sfme) — RDmitriyS (talk) 13:25, 8 July 2017 (UTC)

I was late for a minute... — RDmitriyS (talk) 13:34, 8 July 2017 (UTC)
Alright, but that was a good question, since Education Edition always equals to Pocket Edition, shouldn't we add {{{education}}} to all the exclusive page for PE? For instance Nether Reactor, this page is exclusive to PE but also available on EDU since it has the same codebase. – ItsPlantseed|⟩ 13:45, 8 July 2017 (UTC)

 Support Dentedharp90041tc 02:46, 9 July 2017 (UTC)

Command Radius[edit source]

Does the radius target selector argument use euclidean distance or taxicab distance? --MCweb 19:11, 7 August 2017 (UTC)

Command Syntax[edit source]

An official post by Dinnerbone was made awhile ago regarding some major changes in 1.13 (upcoming): https://www.reddit.com/user/Dinnerbone/comments/6l6e3d/a_completely_incomplete_super_early_preview_of/ In this post, a certain syntax is used for commands (literals, arguments, optional, required, etc). Which is different from what this wiki is currently using. Normally I wouldn't think of this as a big issue, but one of the additions in 1.13 is an ingame command UI display the syntax of commands, which is gonna use DB's syntax. To be consistent with the game, I think we should switch to this new syntax. I'm only not certain WHEN to do this: Now? The first snapshot including it? Or only when 1.13 if officially out? I personally vote for now since I don't see a reason for DB to change this syntax anymore. --Pepijn (talk) 20:34, 11 August 2017 (UTC)

To be consistent with the game, I think the command syntax on this wiki should be updated to the new form. I think that we should be working on a fast method (like a bot) to update all of the command formats that aren't being messed with as of now, but aim to have all the commands changed at 1.13 release. Due to the nature of the update command syntax could change at any time during the snapshot cycle, so updating the syntax of every command on a page other than 1.13 might be a waste until the update is officially released. -- OSX (talk) 20:43, 11 August 2017 (UTC)
I second this --FVbico (talk) 22:40, 11 August 2017 (UTC+1:00)
Based on the style guide, the information may not be included until it is at least in a snapshot, and should not replace the old information until its fully released. Typically with large changes like this (Trading is an example), once a snapshot is released I created a subpage with the new information, and once its released I move much of the old information to a subpage, to prevent from overly cluttering the history. Check out that article for an example. KnightMiner t/c 03:04, 12 August 2017 (UTC)

About /tickingarea[edit source]

I am an anonymous user from Chinese Minecraft Wiki.

Could you please add the descripsion of /tickingarea123.15.129.9 04:52, 19 August 2017 (UTC)

Why not getitemdata command page?[edit source]

–Preceding unsigned comment was added by 180.190.51.135 (talk) at 06:22, 6 September 2017‎ (UTC). Please sign your posts with ~~~~

Each command does not have enough information to have its own page, so we combine them into one page about commands in general. The BlobsPaper.png 03:55, 7 September 2017 (UTC)