Talk:Commands/Archive 3

Proper uses for the not function in target selectors
Does anyone have some sort of complete list of valid uses for the not function for the target selectors? It doesn't seem to ever work for any selectors that use numbers, such as @a[score_test=!1], as far as I can tell, but it does work with team names and player names, such as for @a[name=!name], @a[team=!RedRobins], or @e[type=!Player]

Is it completely restricted to selectors that aren't numbers? Kavukamaritalk 06:28, 2 January 2015 (UTC)
 * It's only available for string-based parameters, being limited to those you've listed. Skylinerw (talk) 14:36, 2 January 2015 (UTC)

Not accurate /kill description
The wiki page says the following about the kill command :

"On success, inflicts 1000 ((heart) × 500) void damage to targets "

To test that, I gave myself Health Boost 255 and healed myself completely, so I had 1044 hp, or 522 hearts (I checked it with the scoreboard), then used the /kill command.

Instead of putting me to 44hp, I died instantly.

This is what sould be expected from a "kill" command, but isn't what the page says.

I also noticed that /kill ignore absorbtion hearts, putting you at 0 normal heart without removing any of them (wich kills you anyway).

Tested on 1.8.1 in SinglePlayer. --77.205.214.83 21:12, 14 January 2015 (UTC)


 * Looks like this was changed in 1.6; instead of 1000 damage, it now does Float.MAX_VALUE, roughly 3.4 x 1038. -- Orthotopetalk 20:59, 14 January 2015 (UTC)

Achievement info
Just wondering when the "take" option was added to achievement. I'm in 1.7.10 and "/achievement give" is the only option. Was expecting to find it in the history section at least. WildBluntHickok (talk) 14:27, 19 January 2015 (UTC)

So you're playing in 1.7, and asking when the take option was added. I'm gonna go with "1.8" SuperStarWars237 (talk) 16:34, 6 July 2015 (UTC)

Inputting multiple commands at once.
Hi, so I have been playing around with the fill and set block commands to make relatively complex structures (like houses and castles) that can be made entirely by typing commands and so can be shared with friends and easily recreated in different worlds. However, this gets really laborious when they start to get complicated because every command has to be entered separately - this takes loads of time and has too much room for error in my liking. Is there a way to copy and paste a whole load of commands at once? Is there a notation I can use to separate them? or is there a mod that allows you to do this? Please let me know - I am bored to death of "ctrl c, open text, ctrl v, enter, ....." repeat til you're sick :(

Thank you!!! –Preceding unsigned comment was added by DragonzFriend (talk • contribs) at 16:36, 26 January 2015 (UTC). Please sign your posts with


 * Pressing and  while in chat allows to scroll the chat’s input history, including commands, and these can be sent/run again with . In other words, press  then  to repeat last text written in chat.
 * Running multiple commands at once requires multiple command blocks synced to a redstone circuit, or a bunch of other players, as long as they and you run the commands simultaneously.
 * Please sign your comments with . LauraFi added the “Preceding unsigned comment...” message using a template called AutoUnsigned. I may explain it later.
 * I’m Nick the Red37, f.k.a. Naista2002  16:53, 26 January 2015 (UTC)


 * thanks for your answer but I guess I wasn't very clear before, I was meaning that I want to copy and paste MULTIPLE DIFFERENT written commands from OUTSIDE minecraft (e.g. a text file) into ANY minecraft world and the issue I'm having at the moment is that this all has to be done one command at a time, which takes a long time when there are 50+ commands. I want to paste and enter them all in one go - do you want me to give an example?
 * Sorry for not signing before,
 * DragonzFriend (talk) 17:00, 26 January 2015 (UTC)
 * I don’t think it is possible in Minecraft at all. And, it is generally better to indent comments on talk pages. — I’m Nick the Red37, f.k.a. Naista2002  17:04, 26 January 2015 (UTC)


 * Ok :( thanks for your help :( DragonzFriend (talk) 17:06, 26 January 2015 (UTC)

Give Command May Not Work as Described
I'd make an edit on the main page myself, but I'm pretty bad with server commands and I wanted to make sure I was correct about this. The "Give" command's "item" parameter says it must be a valid item ID or block ID and gives the example "256" or "minecraft:iron_shovel". Is the former example still valid? In the past I could use give and use the numerical item ID, but now Minecraft seems to not accept numbers and require minecraft:iron_shovel instead. Alex3me0 (talk) 18:44, 20 February 2015 (UTC)


 * the former example is outdated, I've updated the page appropriately. – KnightMiner  (t·c) 18:52, 20 February 2015 (UTC)

Redo Table
The table is very bulky, missing command-block information, and poorly formatted. Here's an idea on how to change it:

Combine Op Only and Multiplayer Only into Restrictions. Combine Blocks, Players, Entities, and World into Alters.

Restrictions column:

Operator Multiplayer No command blocks

If some of these restrictions don't apply for a command, use only the rows for the relevant restrictions. If none of these apply, type None.

Colors:


 * None - White with black text
 * Operator - Cyan with cyan text
 * Multiplayer - Magenta with magenta text
 * No command blocks - Yellow with yellow text
 * Operator and Multiplayer - Blue with blue text
 * Operator and No command blocks - Green with green text
 * Multiplayer and No command blocks - Red with red text
 * Operator, Multiplayer, and No command blocks - Black with white text

Of course, the cell color should be lighter than the text itself except for white and black cells.

Alters:

Blocks Players Entities World

Only include the relevant ones. If it doesn't alter any blocks, write None.

Colors:


 * White if None
 * Orange if Blocks
 * Magenta if Players
 * Light blue if Entities
 * Yellow if World
 * Lime if Blocks and Players
 * Pink if Blocks and Entities
 * Gray if Blocks and World
 * Light gray if Players and Entities
 * Cyan if Players and World
 * Purple if Entities and World
 * Blue if Blocks, Players, and Entities
 * Brown if Blocks, Players, and World
 * Green if Blocks, Entities, and World
 * Red if Players, Entities, and World
 * Black if Blocks, Players, Entities, and World

Wool colors (go figure) and same text color rules as Restrictions. 108.216.23.232 00:10, 28 March 2015 (UTC)


 * The table is a summary, it does not need to list command block restrictions as there are exceptions to the rule of "if multiplayer, no command blocks".
 * Combining restrictions might make sense, though having two columns state a little text compared to a lot of text in a single column is not needed – KnightMiner  t/c 02:47, 28 March 2015 (UTC)


 * The problem with combining things into a single column is that it makes it impossible to quickly sort by any one trait so that you quickly get all the commands which affect, say, Players, to the top of the table. That's mostly what i use the table for, personally. &mdash;munin &middot; Grid_Book_and_Quill.png Grid_Stone_Pickaxe.png &middot; 15:33, 28 March 2015 (UTC)

What about changing everything to Yes and No and adding Command Blocks? 108.216.29.126 21:26, 2 June 2015 (UTC)

Help with /clear command
Is it possible to do a clear command which clear an item without NBT tag, but will not clear the item with certain NBT tag? For example - it clears the bow without custom name, but it does not clear a bow with a certain custom name? 118.136.88.117 03:58, 15 April 2015 (UTC)


 * No, you would have to do a normal /clear command and give them back the bow. 73.184.106.177 00:35, 2 July 2015 (UTC)

/solid
When was /solid removed? 108.216.29.126 21:24, 2 June 2015 (UTC)
 * I'll put it on my todo list to investigate -- unless you want to use the launcher and figure it out before I do. – Sealbudsman (Aaron) SealbudsmanFace.png t/c 22:25, 2 June 2015 (UTC)
 * Just checking in: perusing the forums, it seemed to be available during Alpha Survival Singleplayer test, and not during Alpha Survival Multiplayer test, so sometime between July and November 2010. I'm sure I can nail it down a bit better than that though. – Sealbudsman (Aaron) SealbudsmanFace.png t/c 16:41, 3 June 2015 (UTC)


 * Also, what /solid does is not mentioned anywhere in the article. I found the description in the classic server README file, though: "Switches between placing normal and placing unbreakable stone".  --Pokechu22 (talk) 23:53, 26 August 2015 (UTC)

/give isn't as new as release 1.3.1, it may date back to Alpha or prior
In 12w16a, a snapshot for release 1.3.1, there are listed several commands as being available for cheat mode: /gamemode, /toggledownfall, /time, /give, /xp, /kill. And that's reflected on this page.

But, I found an old forum post (that I stumbled across while investigating /solid) that indicates that /give was available at least during the time of the Alpha Survival Multiplayer test.

So did it move from being a multiplayer command to being a singleplayer command? For me, this throws the origin-date of all these commands into question, I will be putting this on my Todo list. – Sealbudsman (Aaron) t/c 16:39, 3 June 2015 (UTC)
 * See also: Talk:Commands/Archive 2. – LauraFi -  talk  16:43, 3 June 2015 (UTC)
 * Thanks, Laura. Funny: that link has a link to a short exchange (User_talk:Dinoguy1000) I had with Orthotope only 9 months ago, which I'd completely forgotten about. – Sealbudsman (Aaron) SealbudsmanFace.png t/c 16:58, 3 June 2015 (UTC)
 * As a point of reference, /give has been around since before this page was created. --timrem (talk) 15:45, 5 June 2015 (UTC)

/setspawn command is missing
The setspawn command is marked as added in the changelog and properly linked but does not appear in the documentation and the link is then not working. –Preceding unsigned comment was added by 89.158.178.141 (talk) at 11:34, 06 June 2015 (UTC). Please sign your posts with


 * That command was removed (likely in favor of ), the history section just does not mention that. – KnightMiner  t/c 18:04, 6 June 2015 (UTC)


 * Would it be worth re-adding the command description in a "Removed commands" section, the same way we continue to document other removed features? &mdash;munin &middot; Grid_Book_and_Quill.png Grid_Stone_Pickaxe.png &middot; 19:19, 6 June 2015 (UTC)
 * 71.212.10.80 20:23, 6 June 2015 (UTC)
 * – Sealbudsman (Aaron) SealbudsmanFace.png t/c 20:51, 6 June 2015 (UTC)
 * I would also to a removed command section. It would be awkward to state it all its usage in the history section, and since this article is a hub article I see no reason that would not work. I think it would make the most sense as a subsection of the history section, to abide with the "keep history in the history section" policy. – KnightMiner  t/c 23:24, 6 June 2015 (UTC)