Minecraft / Blogs

1.7 and 1.8 Command List.

  • 37
  • 34
  • playlist_add
  • share
  • more_horiz
avatar AeePlus3
Level 64 : High Grandmaster Hero
15
This is a copy and paste list of commands in minecraft. 

Note- I would bookmark this. It is very useful when building a map. Keep this page open when you are building. Copy and paste commands into your map. Your welcome!


Note - To paste into minecraft you have to hold Ctrl + V in the box where you type the commands.

Note -The commands are in the quotation marks
example = " command "

Note- What you type in the command block looks like this .
example = " /say WHATYOUWANT ".

Note - Must be in creative mode and cheats on to spawn a command block.

Get A Command Block.

Get a command block in 1.7 = " /give PLAYERNAME 137 1 "

Get a command block in 1.8 = " /give @p command_block "

Note -You can name a command block by placing it in anvil.

Minecraft 1.7 Commands.


Set
 Difficulty.

Peaceful = " difficulty 0 "
Easy = " difficulty 1 "
Normal = " difficulty 2 "
Hard =  " difficulty 3 "

Set Gamemode.

Survival to target nearest player  = " gamemode 0 @p "
Survival to target random player  = " gamemode 0 @r "
Survival to target all player  = " gamemode 0 @a "


Creative to target nearest player  = " gamemode 1 @p "
Creative to target random player  = " gamemode 1 @r "
Creative to target all player  = " gamemode 1 @a "


Adventure to target nearest player  = " gamemode 2 @p "
Adventure to target random player  = " gamemode 2 @r "
Adventure to target all player  = " gamemode 2 @a "

Default Gamemode.

Default gamemode survival  = " defaultgamemode survival "
Default gamemode creative   = " defaultgamemode creative "
Default gamemode adventure   = " defaultgamemode adventure "

Command Block Output.

Show command block output = " gamerule commandBlockOutput true "
Nide command block output = " gamerule commandBlockOutput false "

Rain.

Start or stop rain - " toggledownfall "

Set Time.

Set time = "  /time set TIMEINSECONDS

Daylight Cycle.

Turn off daylight cycle = " gamerule doDaylightCycle false "
Turn on daylight cycle = " gamerule doDaylightCycle true "

Weather.

Clear weather = " weather clear TIMEINSECONDS "
Rain weather = " weather rain TIMEINSECONDS "
Thunder weather = " weather thunder TIMEINSECONDS "

Game Rules.

Turn on fire spread = " gamerule doFireTick true "
Turn off fire spread = " gamerule doFireTick false "

Turn on mob drops = " gamerule doMobLoot true "
Turn off mob drops = " gamerule doFireTick false "

Turn on mob spawning = " gamerule doMobSpawning true "
Turn off mob spawning = " gamerule doMobSpawning false "

Turn on mob griefing = " gamerule mobGriefing true "
Turn off mob griefing = " gamerule mobGriefing false "

Keep inventory on = " gamerule keepInventory true "
Keep inventory off = " gamerule keepInventory false "

Turn on natural regeneration = " gamerule naturalRegeneration true " 
Turn off natural regeneration = " gamerule naturalRegeneration false " 

Turn on tile drops = " gamerule doTileDrops true "
Turn off tile drops = " gamerule doTileDrops false "

Set Spawn.

Set spawn point to target nearest player  = " spawnpoint @p X Y Z "
Set spawn point to target random player  = " spawnpoint @r X Y Z "
Set spawn point to target all player  = " spawnpoint @a X Y Z "

Set world spawn point = " setworldspawn X Y Z "

Set Block.

Set block= " /setblock ~ ~ ~ BLOCKID "

Teleport.


Teleport to target nearest player  = " tp @p X Y Z  "
Teleport to target random player  = " tp @r X Y Z "  
Teleport to target all player  = " tp @a X Y Z  "

XP.

Give XP to target nearest player  = " xp AMOUNT @p "
Give XP to target random player  = " xp AMOUNT @r "  
Give XP to target all player  = " xp AMOUNT @a "

Play Sounds.

Play sound to target nearest player  = " /playsound SOUNDID @p "
Play sound to target random player  = " /playsound SOUNDID @r "  
Play sound to target all player  = " /playsound SOUNDID @a "

Minecraft sound id list.

http://www.minecraftforum.net/topic/1880130-all-minecraft-playsound-file-names/  "

Give Items.

Give item to target nearest player  = " /give @p ITEMID QUANTITY  "
Give item to target random player  = " /give @r ITEMID QUANTITY "
Give item to target all player  = " /give @a ITEMID QUANTITY "

Minecraft ID List:
http://minecraft-ids.grahamedgecombe.com/ "

Clear Items.

Clear certain item to target nearest player  = " clear @p ITEM_  "
Clear certain item to target random player  = " clear @r ITEM_ "  
Clear certain item to target all player  = " clear @a ITEM_  "

Clear Inventory.


Clear inventory to target nearest player  = " clear @p  "
Clear inventory to target random player  = " clear @r  "
Clear inventory to target all player  = " clear @a "



Potion ID List.

373 Water Bottle
373:16 Awkward Potion
373:32 Thick Potion
373:64 Mundane Potion
373:8193 Regeneration Potion (0:45)
373:8194 Swiftness Potion (3:00)
373:8195 Fire Resistance Potion (3:00)
373:8196 Poison Potion (0:45)
373:8197 Healing Potion
373:8200 Weakness Potion (1:30)
373:8201 Strength Potion (3:00)
373:8202 Slowness Potion (1:30)
373:8204 Harming Potion
373:8225 Regeneration Potion II (0:22)
373:8226 Swiftness Potion II (1:30)
373:8228 Poison Potion II (0:22)
373:8229 Healing Potion II
373:8233 Strength Potion II (1:30)
373:8236 Harming Potion II
373:8257 Regeneration Potion (2:00)
373:8258 Swiftness Potion (8:00)
373:8259 Fire Resistance Potion (8:00)
373:8260 Poison Potion (2:00)
373:8264 Weakness Potion (4:00)
373:8265 Strength Potion (8:00)
373:8266 Slowness Potion (4:00)
373:16378 Fire Resistance Splash (2:15)
373:16385 Regeneration Splash (0:33)
373:16386 Swiftness Splash (2:15)
373:16388 Poison Splash (0:33)
373:16389 Healing Splash
373:16392 Weakness Splash (1:07)
373:16393 Strength Splash (2:15)
373:16394 Slowness Splash (1:07)
373:16396 Harming Splash
373:16418 Swiftness Splash II (1:07)
373:16420 Poison Splash II (0:16)
373:16421 Healing Splash II
373:16425 Strength Splash II (1:07)
373:16428 Harming Splash II
373:16449 Regeneration Splash (1:30)
373:16450 Swiftness Splash (6:00)
373:16451 Fire Resistance Splash (6:00)
373:16452 Poison Splash (1:30)
373:16456 Weakness Splash (3:00)
373:16457 Strength Splash (6:00)
373:16458 Slowness Splash (3:00)
373:16471 Regeneration Splash II (0:16)


Effects.

Effect Id list:

http://minecraft-helpandinfo.weebly.com/potion-effects-ids.html

Set Effects.


Set effect to target nearest player  = " /effect @p EFFECTID HOWLONG HOWSTRONG "
Set effect to target random player  = " /effect @r EFFECTID HOWLONG HOWSTRONG " 
Set effect to target all player  = " /effect @a EFFECTID HOWLONG HOWSTRONG " 

Clear Effects.

Clear effect to target nearest player  = " /effect @p clear "
Clear effect to target random player  = " /effect @r clear " 
Clear effect to target all player  = " /effect @a clear " 

Spawner.

Spawner command: " /setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie} "

Summon.


Summon Mobs = "  /summon MOBNAME ~ ~1 ~ "

Summon falling entity = " /summon FallingSand ~ ~1 ~ {TileID:BLOCKID,Time:TIMEYOUWANT}  "


Minecraft mobs and entities id list:

http://minecraft-ids.grahamedgecombe.com/entities "


Enchants.


Enchant to target nearest player  = " /enchant @p ENCHANTID HOWSTRONGLEVEL "
Enchant to target random player  = " /enchant @r ENCHANTID HOWSTRONGLEVEL "
Enchant to target all player  = " /enchant @a ENCHANTID HOWSTRONGLEVEL "


Minecraft enchant id list:

http://minecraft-helpandinfo.weebly.com/enchantment-ids.html "



Say A Message.

Say a message to players = " /say MESSAGE "

Say a message to target nearest player  = " /say @p MESSAGE "
Say a message to target random player  = " /say @r MESSAGE"
Say a message to target all player  = " /say @a MESSAGE "

Tell Raw Commands.


Simple Text.

Simple text to target nearest player = "tellraw @p {'text':'Here your Text'} "
Simple text to target random player = "tellraw @r {'text':'Here your Text'} "
Simple text to target all player = "tellraw @a {'text':'Here your Text'} "

Color Text.

Color text to target nearest player = " tellraw @p {'text':'YOURText','color':'COLORNAME'} "
Color text to target random player = " tellraw @r {'text':'YOURText','color':'COLORNAME'} "
Color text to target all player = " tellraw @a {'text':'YOURText','color':'COLORNAME'} "

Double Color Text.

Double color text = "tellraw @a {'text':'YOURTEXTHERE1','color':'COLORNAME1','extra':[{'text':'YOURTEXTHERE2','color':'COLORNAME2'}]} "

Double Colored Text With Hover Event.

" tellraw @a {'text':'YOURTEXTHERE1','color':'COLORNAME1','extra':[{'text':'YOURTEXTHERE2','color':'COLORNAME2,'hoverEvent':{'action':'show_text'­,'value':'YOURHOVERTEXT'}}]} "

Tell raw command with clickable link

/tellraw @a {text:"WHATYOUWANTTOSAY.",clickEvent:{action:open_url,value:"LINK"}}


Minecraft 1.8 Commands.
Get a command block = " /give @p command_block "
Minecraft ID List: http://minecraft-ids.grahamedgecombe.com/ "

Game modes.

Survival mode = /gamemode 0 "
Creative mode = " /gamemode 1 "
Adventure mode = " /gamemode 2 "
Spectator mode = " /gamemode 3 "

1.8 Commands.

Get a Barrier = " /give @p minecraft:barrier "

Give Item= "  /give @p minecraft:ITEMIDNAME "

Title= " /title @p title {text:"YOURTEXTHERE"} "

Subtitle= " /title @p subtitle {text:"YOURTEXTHERE"} "

Set Block= " /setblock ~ ~ ~ minecraft:BLOCKNAME "

This is for heads= " /give @p skull 1 3 {SkullOwner:"'playername'"} "


Scoreboards 

Note-KILLS WERE USED AS A EXAMPLE. 

The list of stuff you can track in game. = " /scoreboard objectives list " 


Create the objective = " /scoreboard objectives add Kills totalKillCount Stats " 

Display the objective in the sidebar = " /scoreboard objectives setdisplay sidebar Kills " 

Add a scorce to Player = " /scoreboard players add PlAYERNAME Kills 1 " 

Add score to target nearest player = " /scoreboard players add @p Kills 1 " 
Add score to target random player = " /scoreboard players add @r Kills 1 " 
Add score to target all player = " /scoreboard players add @a Kills 1 " 

Remove score board = " /scoreboard objectives remove Kills " 

Add scorce to Player = " /scoreboard players add PlAYERNAME Kills 1 " 

Remove score to target nearest player = " /scoreboard players remove @p Kills 1 " 
Remove score to target random player = " /scoreboard players remove @r Kills 1 " 
Remove score to target all player = " /scoreboard players add @a Kills 1 " 


Dummy scoreboards. 

Create the objective = "/scoreboard objectives NAMEOFSCORE dummy NAMEOFSIDEBAR " 

Display the objective in the sidebar = " /scoreboard objectives setdisplay sidebar NAMEOFDSIDEBAR " 

Add a scorce to Player = " /scoreboard players add PlAYERNAME NAMEOFSCORE 1 " 

Add score to target nearest player = " /scoreboard players add @p NAMEOFSCORE 1 " 
Add score to target random player = " /scoreboard players add @r NAMEOFSCORE 1 " 
Add score to target all player = " /scoreboard players add @a NAMEOFSCORE 1 " 

Remove score to target nearest player = " /scoreboard players remove @p NAMEOFSCORE 1 " 

Remove score to target random player = " /scoreboard players remove @r NAMEOFSCORE 1 " 

Remove score to target all player = " /scoreboard players add @a NAMEOFSCORE 1 " 

Remove score board = " /scoreboard objectives remove NAMEOFSIDEBAR " 

turn on redstone with score = " /scoreboard players test PLAYERTYPE NAMEOFSCORE QUANTITY "

Mob spawner commands.

Zombie spawner = " /setblock ~ ~-1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie} "

Cow spawner = " /setblock ~ ~-1 ~ minecraft:mob_spawner 0 replace {EntityId:Cow} "

Spider spawner = " /setblock ~ ~-1 ~ minecraft:mob_spawner 0 replace {EntityId:Spider} "

Magma cube spawner = " /setblock ~ ~-1 ~ minecraft:mob_spawner 0 replace {EntityId:Magma Cube} "

Skeleton spawner = " /setblock ~ ~-1 ~ minecraft:mob_spawner 0 replace {EntityId:Skeleton} "

Zombie Pigman spawner = " /setblock ~ ~-1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie Pigman} "

Chicken spawner = " /setblock ~ ~-1 ~ minecraft:mob_spawner 0 replace {EntityId:Chicken} "

Sheep spawner = " /setblock ~ ~-1 ~ minecraft:mob_spawner 0 replace {EntityId:Sheep} "

Enderman spawner = " /setblock ~ ~-1 ~ minecraft:mob_spawner 0 replace {EntityId:Enderman} "

Creeper spawner = " /setblock ~ ~-1 ~ minecraft:mob_spawner 0 replace {EntityId:Creeper} "

Wolf spawner = " /setblock ~ ~-1 ~ minecraft:mob_spawner 0 replace {EntityId:Wolf} "

Server Help Commands.

kick a player = " kick PLAYERNAME "

ban a player = " ban PLAYERNAME "

un ban player = " pardon PLAYERNAME "

ban ip =" ban-ip IPADDRESS "

unban ip = " pardon-ip IP ADDRESS "

OP a player = " op PLAYERNAME "

Un OP a player = " deop PLAYERNAME "

Teleport to player = " tp PLAYER1NAME PLAYER2NAME "

give player items = " give PLAYERNAME ITEMID QUANTITY "

Tell a player a message = " tell PLAYERNAME MESSAGE "

stop server =  " stop "

Save all of the server = " save-all "

Turn off save = " save-off "

Turn on save = " save-on "

Shows list of player online " list "

Say a message to all players " say MESSAGE "


Do you know any commands? leave a comment and ill add it. Thanks.



If there is any errors in my typing tell me and ill fix it.

Dont ask me questions. Im new to command blocks and I don't know that much.

If you know any more commands that are not one the list, leave a comment and ill add it to the list. 


Thanks.
love much

AeePlus3


P.s I would bookmark this. It is very useful when building a map. Keep this page open when you are building. Copy and paste commands into your map. Your welcome!



Bored? Watch some of my youtube videos. Subcribe to see my future creations.

www.youtube.com/aeeplus3


I livestreams sometimes.  Follow to know when i go live.

www.twitch.tv/aeeplus3


follow me on twitter for updates

https://twitter.com/AeePlus3


Tags

19 Update Logs

Update #19 : 12/16/2015 10:37:41 pmDec 16th, 2015

fixed minor typing errors.
LOAD MORE LOGS

Comments : 58

star Login or register to post a comment.

Show Comments

1 - 50 of 58

  • Cyborg3
  • Level 1
  • New Miner
  • October 12, 2017, 7:50 am
/testfor "@p, @r,@a, @e" (only one letter & @ symbol that i know of per block) [r=#] (replace the "#" with any number) I make automatic doors with "/testfor @p [r=3]"
Now we need 1.11.2 command plsss
  • XxxDddEr56
  • Level 4
  • Apprentice Explorer
  • September 26, 2016, 10:56 am
thanks man
/give @p diamond_sword 1 0 {ench:[{id:16,lvl100}]}
AeePlus3 what about the /say command because it is not in your list
  • Xeno_Dragon
  • Level 37
  • Artisan Dragon
  • February 28, 2016, 3:43 pm
When I use /setworldspawn it sets the spawn randomly in the general area of the coordinates, but not the actual cordinates them selves.
  • Minimemyth
  • Level 6
  • Apprentice Warrior
  • April 1, 2016, 12:10 pm
Thats because of World spawn radius its auto set to 10 but in 1.9 you can change it
  • Xeno_Dragon
  • Level 37
  • Artisan Dragon
  • April 1, 2016, 12:15 pm
What about in earllier versions like 1.7.10?
  • Minimemyth
  • Level 6
  • Apprentice Warrior
  • April 3, 2016, 4:12 am
Only 1.9 from what i know you can test it though
Do someone know if its possible to make something happen random?
U forgot one command. (Sorry for my bad English )
If player has at least X level, do this = "testfor @p(or @r or @a)[lm=any level]"
And "testfor @p(or @a or @r)[m=-1 or 0 or 1 or 2]
That is if a player has gamemod -1, 0, 1 or 2
  • larsek
  • Level 1
  • New Miner
  • January 16, 2016, 10:41 am
<br data-mce-bogus="1">kokokoko euro spoko piłka leci hen wysoko
Thank you for this commands! Now I could do maps with commands!! :D
is there a command that  turns a chest plate into  a thing that makes u go really fast
  • SkillsPlays
  • Level 13
  • Journeyman Engineer
  • January 5, 2016, 1:39 pm
That is using custom enchantments.
Search a tutorial online, most preferably YouTube.
how to clear mob from new world in minecraft
  • Pixelfin
  • Level 1
  • New Miner
  • August 1, 2015, 2:16 pm
I'm having trouble with my title command.

I entered into a command block:"/title @a times 10 100 5"

I then put another command block next to it with this command: "/title @a title {text:"test",color:red}"

It gave me this error: "Invalid json: Malformed JSON at line 1 column 3"

What do I do?
Dude this makes it much easier. Thanks for putting it in a Understandable way!
  • Benim3
  • Level 1
  • New Miner
  • July 21, 2015, 9:16 am
awesome thanx
tried /gamerule mobgriefing false but it didnt work. its said it did but monsters stil attaked me. HELP
  • AeePlus3
  • Level 64
  • High Grandmaster Hero
  • July 12, 2015, 8:39 pm
it might be case sensitive.

/gamerule mobGriefing false
'gamerule mobGrifing false ' Stops mobs destroying the environment, so creepers.
This is for heads: /give @p skull 1 3 {SkullOwner:"'playername'"}
  • AeePlus3
  • Level 64
  • High Grandmaster Hero
  • July 12, 2015, 8:42 pm
added thanks.
  • IceMantis73
  • Level 6
  • Apprentice Archer
  • June 12, 2015, 1:00 pm
Is there a gamerule that allows players to negate fall damage?
the setspawn dosent work butt the oder things work perfect
  • SolarWind
  • Level 12
  • Journeyman Mage
  • February 7, 2015, 3:14 pm
Dude, seriously, you didn't need to do this. Minecraft Gamepedia explains this really well. Nice job though. :P
  • AeePlus3
  • Level 64
  • High Grandmaster Hero
  • February 8, 2015, 10:14 am
this is easyer to read and more useful.
  • iiZerkahh
  • Level 2
  • Apprentice Miner
  • January 29, 2015, 4:42 am
Also how do I add colour to the /title @p title {text:"Test"}
  • AeePlus3
  • Level 64
  • High Grandmaster Hero
  • January 29, 2015, 2:47 pm
/title @a title{text:"Add Title",color:"Add Color"}

your welcome mate.
when i do it it's just white, no change to the color.
  • iiZerkahh
  • Level 2
  • Apprentice Miner
  • March 17, 2015, 6:25 am
Thanks mate, Sorry for the long reply, Not been on planet minecraft for a while :p
  • iiZerkahh
  • Level 2
  • Apprentice Miner
  • January 29, 2015, 4:41 am
Thanks bro, It helped me with the titles and the other things with it, Thanks alot.
What command for manuadd to a group?
  • Dralyona
  • Level 48
  • Master Dragon
  • November 24, 2014, 3:10 pm
Missing scoreboard commands
  • ASAS1NSS
  • Level 39
  • Artisan Architect
  • October 18, 2014, 5:30 am
Man , where are the serious commands and NBT datas ?
  • AeePlus3
  • Level 64
  • High Grandmaster Hero
  • October 30, 2014, 4:29 pm
i dont know what that is.
  • AngelOwl
  • Level 1
  • New Crafter
  • August 23, 2015, 6:15 pm
NBT DATA is basically the data of the block that is unique for that specific block. For example, a chest without nbt data is an empty chest, but one with nbt data has different specific things in it. If you hold control while holding down pick block, you will get that block with nbt data. (For example, instead of placing down multiple signs with the same thing on them and having to type them up, simply hold ctrl + pick block and place down all the signs)
By the way, I don't know that much about NBT data sooo... Don;t take it fromme.
Oh, and please add /clone!!!
xox, 
   -AngelOwl
P.S: Sorry for the late response!
  • BaconandBacon
  • Level 25
  • Expert Blockhead
  • September 30, 2014, 12:05 pm
Thanks a lot! That helped a lot! :)
  • AeePlus3
  • Level 64
  • High Grandmaster Hero
  • October 30, 2014, 4:30 pm
your welcome.
  • laugexd
  • Level 1
  • New Explorer
  • September 19, 2014, 3:24 am
Lol turn off mob drops doFireTick false XD
  • AeePlus3
  • Level 64
  • High Grandmaster Hero
  • September 11, 2014, 12:46 pm
i just started adding 1.8 commands. when i learn more and it works. ill add new commands.
you might want to update /give PLAYERNAME command_block 1 because minecraft 1.8  is using the name as the ID instead of the number
/\
  • AeePlus3
  • Level 64
  • High Grandmaster Hero
  • June 11, 2014, 6:44 pm
anybody know anymore commands?
Scoreboard? For ex: /scoreboard objectives add totalKillCount  totalKillCount Kills - /scoreboard objectives setdisplay sidebar totalKillCount
  • iPwnedYou
  • Level 8
  • Apprentice Network
  • June 5, 2014, 3:14 am
Thanks m8.
I can make my testill bold too.
Pretty Lame how you think we don't know how to do it Cool.
  • AeePlus3
  • Level 64
  • High Grandmaster Hero
  • June 6, 2014, 9:15 pm
your welcome.
  • fluous
  • Level 45
  • Master Nerd
  • April 20, 2014, 1:13 pm
"/time set"
"/setblock ~ ~ ~ BLOCKID"
Oh. And also in "/summon" it doesn't have to be mob. It can be entity like falling sand "/summon FallingSand ~ ~ ~ {TileID:BLOCKID}
  • AeePlus3
  • Level 64
  • High Grandmaster Hero
  • April 20, 2014, 3:36 pm
added thanks.
Also for color text do, "/tellraw @p/r/a {"text":"[text]";"color":"[color]"}
  • AeePlus3
  • Level 64
  • High Grandmaster Hero
  • April 20, 2014, 1:13 pm
i added it plus more.
Holy $#1T that's a long list, awesome though, DIAMOND!.
True dat
  • M0diiDoc
  • Level 16
  • Journeyman Dragonborn
  • April 20, 2014, 12:27 am
nice.
  • AeePlus3
  • Level 64
  • High Grandmaster Hero
  • April 19, 2014, 8:54 pm
your welcome.
  • great88
  • Level 1
  • New Miner
  • April 19, 2014, 8:30 pm
wow. thanks

1 - 50 of 58

Show Comments

Search

Browse

Site

© 2010 - 2018
planetminecraft.com

Welcome