Talk:Commands/Archive 3

Ambiguous
The description for the clear command is too ambiguous. :(37.191.217.11 20:12, 5 April 2013 (UTC)

Give Command data values?
It appears that the server commands have been changed by the Halloween update. Can someone please confirm? Example: the give command has been changed to /give [itemid] [count] Nope? Still the same /give [item_id] [quantity]

Confirmed, it is /give [item_id] [quantity], but "[damage value] is no longer used.


 * Outdated. At the moment it is /give [item_id] [quantity] [damage value], since damage value was reintroduced in v1.1. -- M3tal_Warrior -- 02:10, 18 February 2012 (UTC)

Other Commands?
Are there any commands for the owner of a server to make it day all the time? And are there any commands that can be used but not been posted? has a parameter from 0 to 24000; either 0 is dawn, or it's a representative 0:00, i.e. midnight. Haven't yet had the time to test it.
 * The article is wrong; 0 is just exactly after the sun has finished rising, 6000 is mid-day, 12000 is just exactly before sunset, etc... LB 13:11, 26 February 2011 (UTC)


 * You can now use the command block "/time set 0" with a clock.
 * -Datenegassie

Well Dantenegassie In Snapshots there is a doDaylightCycle Gamerule and will be realesed in full next Week it will freeze the current time :) --94.197.127.230 18:37, 20 June 2013 (UTC)

Player data
Does the  command save player data (inventory, position, etc.)? Skirmisher2048 23:31, 9 July 2011 (UTC)

yes, it saves all data from every player and chunk.

IRC Chat /me
The /me isn't similar to IRC chat, it has the exact same function in an IRC chat. There is literally NO difference. Changing that right now, just wanted to leave a log in case someone decides that it isn't right. --Gurge528 00:19, 10 January 2012 (UTC)

Mob/NPC spawns
Was wondering if anyone knows the op/server console command for spawning mobs/npc's?
 * Use a command to give items of the specified spawn egg(s). http://www.minecraftwiki.net/wiki/Spawn_Egg#Spawn_Eggs_on_Survival_Multiplayer_.28SMP.29_Servers 72.94.190.85 17:27, 17 February 2012 (UTC)

there is none (officially), you must use a mod to get those commands

/tp command
I've noticed that the /tp command could be shortened by typing only part of a name (for example, /tp antvenom skitscape could be turned into /tp ant skit). I've also noticed you have to be careful, because it will take everyone with the start of the name (for example, pure could be PureSalvation, purepwn, or other names). Should this be added? Arceus79 20:11, 19 March 2012 (UTC)

It's for Bukkit. Shortened usernames work in Bukkit command blocks and normal commands. --76.121.219.188 05:06, 10 April 2013 (UTC)

/time set 1 = night?
Can anyone confirm that this command works with 1.2.5? I doubt it, but can't test it atm. 0 is dawn, that's for sure, but 1 shouldn't be dusk... -- M3tal_Warrior -- 01:27, 15 April 2012 (UTC)
 * Unless they really changed things, "/time set 1" should just be 1 tick after "/time set 0", which is basically the same time. For night, "/time set 14000" (I think) used to work. --timrem 01:30, 15 April 2012 (UTC)


 * Another thing that I found out is that if you set time to 23000, then you get the very start of dawn. I think this is more accurate than what the wiki page says. :) 66.41.28.223 18:55, 30 September 2012 (UTC) ME DID THIS XD


 * As timrem wrote, /time set 1 will only change the time with one tick, which is about 1/20th of a second. In 1.3.2, "/time set night" isn't actually accurate, as you won't be able to sleep until the time reach 13000. Therefore, my best bet for setting the time to night is "/time set 13000". Thorgabel1 18:54, 9 October 2012 (UTC)

Doesn't work
I have a question. I have a multiplayer server, and the smp commands does not work. Why not? The server isn't creative.

12w21b issues
I'm having trouble in 12w21b and other snapshots; the tell, me, and kill commands seem to work for ops only instead of all users. If the kill command is used from the server console, even if given a player name, it requests a player name to kill. The say command does not work if any of the words is one letter long (eg /say Hello, I run this place.) and when it does work it does not show up in the log or console. Additionally all players can see messages from the server even if they shouldn't, such as whitelisting actions, save actions, and even ban actions. Can anyone else confirm? LB 20:05, 30 May 2012 (UTC)

me neither i created a multiplayer server and nobody is the admin

I can confirm this, /tell doesn't work and isn't listed in the /help pages, and players don't seem to be able to use any commands at all. Tested vanilla SMP 1.3.1. Rocketman679 08:17, 4 August 2012 (UTC)

Custom mob spawner
Is it somewhat possible with commands to change what spawner spawns? You can get spawner block on Creative by /give command, but I still can't figure out how to change the spawning mob from pigs to something other. Xeoxer 19:41, 2 June 2012 (UTC)


 * There are various mods that let you do this, but I don't think it's possible to change an existing spawner in vanilla Minecraft. You could try specifying the entity ID when using /give, like with Spawn Eggs, see if that gives you one of a different type. -- Orthotope 21:15, 2 June 2012 (UTC)


 * Parse a damage value as one of the arguments to the give command (eg; /give [player_name] [idem_id] [qty] [variant_number])--134.7.124.147 07:39, 3 June 2012 (UTC)

Rename
Recommend renaming, now that commands are available in single player. Now that single player is treated as a server, AND commands can be used in creative anyway, it would probably be more appropriate to just call this page "Commands". --King Starscream 22:00, 27 June 2012 (UTC)
 * I second that. I added the move proposal template. --freaktechnik (w) 21:22, 2 October 2012 (UTC)


 * Agreed. We could merge Cheats into the page as well, since they're the same thing. -- Orthotope 00:22, 3 October 2012 (UTC)

1.3 cheats
can these commands work with 1.3 "cheats"? 99.37.10.159 11:41, 23 July 2012 (UTC)

tell got removed/not implemented in new command-system (1.3.1)
I noticed that the command "/tell" doesn't work anymore in Minecraft 1.3.1 Romibi 06:51, 6 August 2012 (UTC)
 * It doesn't work for me in Minecraft 1.3.1 as well, even though I am an op.

/xp Doesn't Work When Trying to Remove Experience (1.3.1 and elsewise)
The Wiki says that Experience progress can be deducted, but I tried doing this and it doesn't work and asking in the forums confirms that deducting Experience progress from the /xp command doesn't work and only works with mods.

Can this discrepancy please be addressed in the Wiki?

To clarify: The adding of Experience works, but not the taking away of Experience progress.

Thanks.

Sefyre 00:57, 3 September 2012 (UTC)

Semiprotect please
This page gets a lot of bukkit commands from unregistered users. HotdogPi Come to my page! 23:23, 16 September 2012 (UTC)

/xp command
xp Gives the specified user the given number of orbs. Maximum is 2,147,483,647 per command. Negative amounts may not be used to remove experience points. xp L Gives playername the amount number of experience levels. Maximum is 2,147,483,647. Negative amounts may be used to remove experience levels. This says that the normal command cannot be used to remove XP, while the level one can be used. Mistake? Emerald267 17:33, 2 January 2013 (UTC)

Property Values in the Give command
So apparently with the new update we got property values in the vanilla give command. I updated the command page but things like Spruce Wood can now be given with the new syntax

/give  Lennbot  (talk) 17:58, 14 October 2013 (UTC)


 * That did not save right at all! Lennbot (talk) 17:59, 14 October 2013 (UTC)


 * Fixed it for you. -- Orthotopetalk 00:51, 15 October 2013 (UTC)


 * That link seems to be dead. I was curious to see what it said. Firebastard (talk) 07:49, 12 December 2013 (UTC)
 * Nevermind. Your link should work now. Firebastard (talk) cCould anyone give me examples for commands in Minecraft 1.5.2 vinnilaHhawa (talk) 23:50, 28 December 2013 (UTC)

/slay command
I'm kinda surprised this command isn't in the article. Any reason why? It's in 1.6, ain't in a snapshot, and it works. Arbok77 (talk) 16:14, 20 October 2013 (UTC)


 * It isn't in the article because it's not a vanilla command; it's provided by the WorldGuard Bukkit plugin. -- Orthotopetalk 18:21, 20 October 2013 (UTC)

Does /setworldspawn move which chunks are spawn chunks?
Still learning about all this, but spawn chunks sound very useful, which got me thinking - does the new /setworldspawn command mean the chunks that are spawn chunks are now the 12 chunk diameter square around the new world spawn? Or do they stay the original ones?

(I'm having ideas like switchable sections of always-active stuff based on moving the world spawn around, but am not sure if that works...) --GufNZ (c: (talk) 10:09, 24 October 2013 (UTC)

/setblock oldBlockHandling
I am wondering, what is the difference beetween keep, replace, and destroy in oldblockHandling?

I guessed: keep = don't setblock if there is a block, replace = replace the block no matter there is a block or not.. and what do destroy do then? 139.192.164.73 02:50, 27 October 2013 (UTC)


 * 'keep' will only place a block if the specified location is currently air. 'replace' simply deletes any existing block. 'destroy' breaks the block as if it had been mined by a player, dropping its normal drop (e.g., diamond ore will drop a diamond). -- Orthotopetalk 07:40, 27 October 2013 (UTC)


 * So 'replace' and 'destroy' is basically the same, except the 'destroy' drops item? 139.192.164.73 11:55, 28 October 2013 (UTC)


 * Pretty much; it also produces particles and sound effects from breaking the old block. -- Orthotopetalk 14:51, 28 October 2013 (UTC)

/summon
I saw somewhere that it is possible to have the /summon command spawn entities riding entities and with specified sizes for slimes. I'll try and find the video, I have a good memory, so it shouldn't be hard. Sincerly, The User who suffers from Moments of inate idiocy. 20:00, 30 October 2013 (UTC)


 * Slimes can be made with . Entities riding other entities can be made with (e.g.) . -- Orthotopetalk 00:45, 31 October 2013 (UTC)

Why was the page reverted to remove the vital info required to make testforblock work with nbt tags
After hours of scouring the net trying to figure out why testforblock didn't work with nbt tags I finally found something on the bug report page that explained the workaround (including an offical message from Grumm saying "we're never going to fix the bug, just be glad that there's a workaround"). I posted this vital information here only to see it erased today. To be clear the testforblock command doesn't work with nbt tags AT ALL without this vital info. Removing the info is practically like removing testforblock command from the wiki entirely!

PS as the last chat on a new topic on the talk page was 2 months ago I was in the right to make the change without first posting something here and listening to the crickets for a week, then posting anyway. 24.68.154.229 04:23, 19 December 2013 (UTC)


 * "If you do not want your writing to be edited mercilessly … then do not submit it here." (quoted from every edit page on the wiki)


 * This is a wiki. Lots of people make edits. Things happen. Relax.


 * The history says your IP is the only one that's made edits in the last 10 days. When did you post the original info and when do you think this revert happened?


 * &mdash;munin &middot; Grid_Book_and_Quill.png Grid_Stone_Pickaxe.png &middot; 06:49, 19 December 2013 (UTC)

/me command
What does the /me command do example /me fly this pops up xtyler sit (x is small and above tyler) any help. Reply ASAP Hhawa (talk) 18:44, 23 December 2013 (UTC)

Player data?
I want to know more about the data for the player.

I mean this:  Example: /give @p[bla_bla_bla]

The "bla_bla_bla" is what i need. Things like" /give @p[251,30,-1243,lm=10]....

If you know a topic about this, please tell me, because I searched like a lot!

But especially, I want to make commands based on the player inventory. Like /give @p[have_6_emeralds_in_inventory]..

lol
how do you get armour on survival with a code

/killall command?
I have seen another command! it's /killall... (SORRY IF ITS ALREADY THERE. AND I DON'T LIKE ADMINS HOW THEY BULLY ME AND IM 11 YEARS OLD.) 123.243.222.122 04:16, 11 January 2014 (UTC)


 * This is added by mods (such as Single Player Commands) and/or modded servers (Bukkit, Tekkit, etc.); it's not in vanilla Minecraft. -- Orthotopetalk 05:28, 11 January 2014 (UTC)

Snapshot
Didn't 14w02a add more arguments for testfor? I have seen {SelectedItemSlot} --tonkku107 « Talk User Page » 15:49, 12 January 2014 (UTC)