Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Talk:Commands/Archive 1

From Minecraft Wiki
Jump to: navigation, search
This is an archive page of Talk:Commands. Do not edit this page.
New sections can be added at the current talk page.

Ambiguous[edit]

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

Give Command data values?[edit]

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] <player>

    Nope? Still the same /give <player> [item_id] [quantity]
    Confirmed, it is /give <player> [item_id] [quantity], but "[damage value] is no longer used.
  • Outdated. At the moment it is /give <player> [item_id] [quantity] [damage value], since damage value was reintroduced in v1.1. -- M3tal_Warrior -- 02:10, 18 February 2012 (UTC)

Other Commands?[edit]

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?

time 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[edit]

Does the save-all 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[edit]

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[edit]

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[edit]

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?[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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)[edit]

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)[edit]

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[edit]

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

/xp command[edit]

xp <amount> <playername> 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 <amount>L <playername> 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[edit]

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 <player> <data-value> [amount] [property-value]


71.202.71.219 03:27, 19 March 2013 (UTC)

domobloot[edit]

Hi, I have minecraft 1.5.2 and the gamerule domobloot isn't working it says gamerule domobloot does not exist??? does anyone know what to do??? –Preceding unsigned comment was added by 84.30.133.120 (talk) 10:03, 20 June 2013(UTC). Please sign your posts with ~~~~

Gamerules are case-sensitive; '/gamerule doMobLoot' works, but '/gamerule domobloot' doesn't. -- Orthotope talk 10:10, 20 June 2013 (UTC)

/say command length limit[edit]

What is the limit on the length of a message in the /say command? I ask because a have a bot on my server who tries to explain some things, but her messages get cut. - Andrio Celos 15:06, 6 July 2013 (UTC)

The maximum chat message length is 100 characters. Since five are used for "/say ", you can only send 95 characters of text at a time. -- Orthotope talk 10:37, 8 July 2013 (UTC)

/seed[edit]

So, it says that "/seed" is an "Op-only" command, but in the description it says that it is available in Single-Player, regardless if "cheats" are enabled. Has anyone else noticed this? Please fix if it is an oversight. MaryTheTiger 01:18, 18 July 2013 (UTC)

As of version 1.6.2:
  • In single player, including LAN worlds, the /seed command is always available, to the host and visitors alike, whether cheats are enabled or not.


Andrio Celos 06:36, 18 July 2013 (UTC)
Ok, thanks for clearing that up for me. MaryTheTiger 16:13, 18 July 2013 (UTC)

/kill and /effect[edit]

It should be noted that as of 1.6.2 even when using the maximum absorption, resistance, health-boost, and regeneration effects from the /effect command, a player can be killed by /kill.


Examples[edit]

Would it be possible to add another column to the table to show some common examples? Some of these entries read like VCR instructions, so that would help make it a bit more user-friendly. --130.76.32.208 14:18, 12 September 2013 (UTC)

/tellraw syntax?[edit]

Where would one find a reference for the tellraw syntax for changing colours/adding clickable commands etc? --GufNZ (c: (talk) 02:46, 3 October 2013 (UTC)

There's a good one on the forums here, but we should probably make one here. I'm not sure but the clickable thing is

clickEvent:{action:runCommand,value:<command here>} 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)

You could try checking the changelog, seeing what was added since then. It's a bit of work which is why I'm not going to do it. :P 67.86.177.110 09:16, 15 January 2014 (UTC)

/slay command[edit]

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?[edit]

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[edit]

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[edit]

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 /summon Slime [x] [y] [z] { Size : <size> }. Entities riding other entities can be made with (e.g.) /summon Chicken [x] [y] [z] { Riding : { id : "Pig" } }. -- 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[edit]

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?
munin · 16 px 16 px · 06:49, 19 December 2013 (UTC)

/me command[edit]

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?[edit]

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[edit]

how do you get armour on survival with a code


This is an archive page of Talk:Commands. Do not edit this page.
New sections can be added at the current talk page.