{"id":262,"date":"2017-08-07T21:13:35","date_gmt":"2017-08-07T20:13:35","guid":{"rendered":"https:\/\/genboy.net\/minecraft\/?p=262"},"modified":"2017-09-01T12:31:31","modified_gmt":"2017-09-01T11:31:31","slug":"minecraft-basic-commands","status":"publish","type":"post","link":"https:\/\/genboy.net\/minecraft\/minecraft-basic-commands\/","title":{"rendered":"Minecraft Basic Commands"},"content":{"rendered":"<p>Some notes on useful commands if you are an Op, cheats are allowed or <del>if you can use a commandblock<\/del> in a Minecraft world on a Pocket Edition Server.<!--more--><\/p>\n<ul>\n<li>Change the gamemode by typing (in the chat dialogue box):<br \/>\n<code>\/gamemode s\u00a0(s or 0 are survival mode, c or 1 are creative mode)<\/code><\/li>\n<li>To teleport yourself (or nearest player = @p) from one position to another position type:<br \/>\n<code>\/tp @p x y z<\/code><\/li>\n<li>Teleport a player to a position type:<br \/>\n\/tp PLAYERNAME x y z<\/li>\n<li>You can also teleport a player to another players position, type:<br \/>\n<code>\/tp PLAYERNAME OTHERPLAYERNAME<\/code><\/li>\n<\/ul>\n<p>More advanced commands are used to program the gameplay, for instance programming command-blocks (repeating the command execution):<\/p>\n<ul>\n<li>If you like to provide players with certain blocks;<br \/>\n<code>\/give PLAYERNAME BLOCKNAME AMOUNT<\/code><\/li>\n<li>Create a save area by killing or moving hostile entities;<br \/>\nkill entities in radius: <code>\/kill @e[type=!player,r=100]<\/code><\/li>\n<li>or move entities elsewhere:<br \/>\n<code>\/tp @e[type=!Player,r=100] ~ -99 ~<\/code><\/li>\n<\/ul>\n<p>Or commands to execute in a loop (with command blocks or other ingame activators);<\/p>\n<ul>\n<li>creating a teleport area;<br \/>\n<code>\/execute @a[x=a,y=b,z=c,r=d] ~ ~ ~ tp @p e f g<\/code><\/li>\n<\/ul>\n<p>For some nice commands with items (pocket edition) see\u00a0<a href=\"https:\/\/gist.github.com\/shoghicp\/7a48c811a55b2a984b82\">https:\/\/gist.github.com\/shoghicp\/7a48c811a55b2a984b82<\/a><\/p>\n<p>More overview on the commands at\u00a0<a href=\"http:\/\/minecraft.gamepedia.com\/Commands\">http:\/\/minecraft.gamepedia.com\/Commands<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some notes on useful commands if you are an Op, cheats are allowed or if you can use a commandblock in a Minecraft world on a Pocket Edition Server.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[9,8,13,17],"tags":[],"class_list":["post-262","post","type-post","status-publish","format-standard","hentry","category-code-blog","category-games-blog","category-minecraft","category-pocketmine-pmmp"],"_links":{"self":[{"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/posts\/262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/comments?post=262"}],"version-history":[{"count":8,"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/posts\/262\/revisions"}],"predecessor-version":[{"id":345,"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/posts\/262\/revisions\/345"}],"wp:attachment":[{"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/media?parent=262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/categories?post=262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genboy.net\/minecraft\/wp-json\/wp\/v2\/tags?post=262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}