Many of the features that are present in the game are achieved only with the help of commands, so we have prepared a list of commands in Minecraft for you. Most of them only work in multiplayer mode and for admins, but some of them are also suitable for single player play. Don't forget that you should enter commands in the chat window, which can be called up with the T or / key.
Click to go:
Commands for solo play in Minecraft:
me<сообщение> - Displays the entered message on behalf of a third party: "Player_name message text." For example: "Player explores a cave."
tell<игрок> <сообщение>, w<игрок> <сообщение> - Sending a private message to another player. Useful if you want to prevent other players on the server from seeing the contents of the message.
kill- Allows you to kill your character, useful if you get stuck in textures. After using the command, the message "Ouch. That look like it hurt." is displayed in chat.
seed- Allows you to find out the grain of the world in which you are located.
Commands for admin in Minecraft:
clear<цель>[object number] [additional data]- Clears the specified player's inventory of all items or specific IDs.
debug
defaultgamemode
difficulty<0|1|2|3> - Changes the difficulty of the game, 0 - peaceful, 1 - easy, 2 - normal, 3 - difficult.
enchant<цель>[level] - Enchant an item in your hands to the level specified in the command.
gamemode
gamerule<правило>[meaning] - Allows you to change several basic rules. The value must be true or false.
Rules:
- doFireTick - if false, stops the spread of fire.
- doMobLoot - if false, mobs do not drop drops.
- doMobSpawning - if false, prohibits mob spawning.
- doTileDrops - if false, objects will not drop from destructible blocks.
- keepInventory - if true, after death the player does not lose the contents of his inventory.
- mobGriefing - if false, mobs cannot destroy blocks (creeper explosions do not spoil the landscape).
- commandBlockOutput - if false command block does not display anything in the chat when executing commands.
give<цель> <номер объекта>[quantity] [ additional information] - Gives the player an item specified by block ID.
help [page | team] ? [page | team] - Lists all available console commands.
publish- Provides access to the world via a local network.
say<сообщение> - Shows a pink message to all players.
spawnpoint [target] [x] [y] [z]- Allows you to set the spawn point for the player at the specified coordinates. If coordinates were not specified, the spawn point will be your current position.
time set<число|day|night> - Allows you to change the time of day. Time can be specified as a numeric value, where 0 is dawn, 6000 is noon, 12000 is sunset and 18000 is midnight.
time add<число> - Adds the specified amount of time to the current one.
toggledownfall- Allows you to enable or disable precipitation.
tp<цель1> <цель2>,tp<цель>
weather<время> - Allows you to change the weather for a specific time specified in seconds.
xp<количество> <цель> - Gives the specified amount of experience to a specific player, from 0 to 5000. If L is entered after the number, the specified number of levels will be added. In addition, levels can be lowered, for example -10L will reduce the player's level by 10.
ban<игрок>[cause]- Allows you to block a player’s access to the server by nickname.
ban-ip
pardon<никнейм> - Allows you to unblock the specified player from accessing the server.
pardon-ip
banlist - Allows you to see a list of all players blocked on the server.
op<цель> - Gives the specified player operator privileges.
deop<цель> - Removes operator privileges from the player.
kick<цель>[reason] - Kicks the specified player from the server.
list- Displays a list of all players online.
save-all- Forcefully saves all changes to the server.
save-on Allows the server to make automatic saves.
save-off- Prevents the server from performing automatic saving.
stop- Shuts down the server.
whitelist list- Displays a list of players in the whitelist.
whitelist
whitelist
whitelist reload- Reloads the whitelist, that is, updates it in accordance with the white-list.txt file (can be used when white-list.txt is modified manually).
/region claim<имя региона> - Saves the selected area as a region with the specified name.
//hpos1- Sets the first point according to your current coordinates.
//hpos2- Sets a second point according to your current coordinates.
/region addowner<регион> <ник1> <ник2> - Adds the specified players to the owners of the region. Owners have the same capabilities as the region creator.
/region addmember<регион> <ник1> <ник2> - Adds the specified players to the members of the region. Participants have limited options.
/region removeowner<регион> <ник1> <ник2> - Remove the specified players from the region owners.
/region removemember<регион> <ник1> <ник2> - Remove the specified players from the region's membership.
//expand<длина> <направление> - Expands the region in a given direction. For example: //expand 5 up - will expand the selection up 5 cubes. Acceptable directions: up, down, me.
//contract<длина> <направление> - Will reduce the region in a given direction. For example: //contract 5 up - will reduce the selection by 5 cubes from bottom to top. Acceptable directions: up, down, me.
/region flag<регион> <флаг> <значение> - You can set a flag for the region if you have sufficient access.
Possible flags:
- pvp - is PvP allowed in the region?
- use - is it permissible to use mechanisms, doors
- chest-access - whether the use of chests is allowed
- l ava-flow - is lava flowing acceptable?
- water-flow - is water spreading acceptable?
- lighter - is it acceptable to use a lighter?
Values:
- allow - enabled
- deny - disabled
- none - the same flag as not in the private zone
Commands for the WorldEdit plugin
Selecting the active area on which we will work using WorldEdit proceeds as follows:
You can simplify actions with regions using .
//pos1- Sets the block you are standing on as the first coordinate point.
//pos2- Sets the block you are standing on as the second coordinate point.
//hpos1- Sets the block you are looking at as the first coordinate point.
//hpos2- Sets the block you are looking at as the second coordinate point.
//wand- Gives you a wooden axe, by left-clicking on the block with this ax you will set the first point, and by right-clicking the second.
//replace
//overlay
//set
//move
//walls
//sel- Removes the current selection.
//sphere
//hsphere
//cyl
//hcyl
//forestgen
//undo- Cancels the specified number of your actions.
//redo- Restores the specified number of actions you canceled.
//sel
//desel- Removes selection.
//contract
//expand
//inset [-hv]
//outset [-hv]
//size- Shows the number of blocks in the selected region.
//regen- Regenerates the selected region.
//copy- Copies the contents of the region.
//cut- Cuts out the contents of the region.
//paste- Pastes the contents of the copied region.
//rotate
//flip- Will reflect the region in the buffer in the direction of dir, or in the direction of your view.
//pumpkins- Creates a pumpkin field with the specified size.
//hpyramid- Creates an empty pyramid from a block, with size .
//pyramid - Creates a pyramid from a block with size .
//drain
//fixwater
//fixlava
//snow
//thaw
//butcher [-a]- Kills all hostile mobs at a specified distance from you
// - Gives you a super pickaxe for quickly destroying blocks.
An ordinary chat in MCPE allows you to control the game. Commands change the mode, add items to the inventory, enable different weather conditions, create monsters and are used to control the server. They first appeared in Minecraft Pocket Edition version 0.15.9.
To use commands, you must have admin rights on the server or activate cheats in the game settings:
Settings > Game > Cheats: On
General format of directives:
/COMMAND_NAME POSSIBLE_OBJECT ADDITIONAL_PARAMETERS
Sometimes the order is changed or an unnecessary part is eliminated.
Command blocks
Many players have heard about special blocks that carry out the instructions written in them and are powered by Redstone. They are often used to create story maps.
Command block command:
/give @p command_block
Complete list of Minecraft Pocket Edition commands
- /help page_number- view all available chat directives.
- /gamemode 0-2- select game mode ( survival/creative/adventure).
- /clear player_nick- clear your inventory of items.
- /clone x y z(initial coordinate) x y z(final) x y z(move to this point) - moves the selected area to the specified location.
- /connect server_code- connection to the server.
- /difficulty 0-3- change the difficulty of the game.
- /op, /deop- make the player a moderator or demote him.
- /enchant player_nickname enchantment_name enchantment_level- enchant an item in your hand.
- /effect player_nick name of effect duration_time- apply a buff/debuff to the player.
- /execute or /kill target_name or coordinates- destroy a mob or player.
- /fill x y z(initial coordinate) x y z(final) block_name block_parameters(additionally: block_name to replace And block_parameters for replacement) - fill the specified area with blocks or change their structure.
- /give player_nickname item_name quantity- add an item to inventory.
- /list- view the list of players on the server.
- /locate- locate the nearest building, village or dungeon by coordinates.
- /say- write a message in the chat from a third party.
- /setblock x y z name_of_new_block command - destroy destroys the specified block, replace replaces the block.
- /setworldspawn x y z- move the place where players respawn after death.
- /spawnpoint x y z player_nick- set a spawn point.
- /summon mob_name x y z- create a mob at a certain point.
- /tell player_nick- send a private message visible only to the specified player.
- /time command number_hours - add adds the specified number of hours to change the time, set sets the specified time (a full day is 24000; for example, 9 am would look like 9000).
- /title player_nick or mob_name text- show text above the head of a mob or player.
- /toggledownfall 0 or 1- disable/enable precipitation in the form of rain or snow.
- /tp x y z/player_nick- teleport to a point or to a specified player (you can also teleport someone by coordinates, for example no one no one or x y z coordinates).
- /weather command - clear means no precipitation, rain includes simple rain or snow, thunder activates a thunderstorm or blizzard.
- /xp number of player's nickname- award experience points.
- /gamerule commandblocksenabled true or false– activates or disables all blocks.
- /scoreboard objectives- scoreboard.
- add Testing dummy table_name- creates a new table.
- players add nickname Testing number_points- adds names.
- players remove nickname Testing number_points- removes glasses.
- setdisplay sidebar Testing– turns on the display on the screen on the right.
There are often times when there is little better than opening the console, typing a few words and symbols and summoning a unicorn in diamond armor? Or even something more interesting. However, console commands can also help in a more prosaic situation, since there are about as many bugs in the game as there are miracles.
How to enter console commands in Minecraft?
Fortunately, console commands in Minecraft are very easy to use: just press the key "C" to open the console, and then enter the command itself and press “Enter”. The main thing to remember is that when creating a new world, the game helpfully asks about the possibility of using those same commands in it. Therefore, if such a possibility is not provided for initially, then in the future you will only regret your short-sightedness. Any command in a single-player game must have a prefix «/» , and multi-user commands will not work with it.
Examples of console commands for Minecraft
Help
/help [command_name]
Shows brief information about a specific command. For example, “/help give” will tell you a little more about the “give” command.
Give
/give @[player] [item] [amount] [value]
Used to transfer items from your own inventory to other players. For example, "/give @Oceanic minecraft:planks 13 1". This command will give the Oceanic player 13 Spruce Wood Planks. It is much easier to use when only one object is being transferred, but it is also suitable for complex exchanges of objects.
Teleport
/tp [player] [x y z coordinates]
Used to instantly move yourself or another player to a specific location in the world. If you enter the name of another player instead of coordinates, then such a command will take you directly to him. At the beginning, you can get confused about these very coordinates, since the world is three-dimensional, and the z-coordinate causes special problems, but over time everything falls into place.
Kill
/kill
Instant suicide. You can also add the name of another player after “/kill”, instantly killing him.
Weather
/weather [weather_type]
Allows you to control the weather no worse than an experienced shaman. True, the choice is not very large: rain, thunderstorm and snow.

Game Mode
/gamemode [mode_name]
Allows you to change the game mode. For example, "/gamemode creative" will put the game into "Creative" mode, where you can fly, the resources are infinite, and the monsters stop attacking you. Accordingly, “/gamemode survival” will send you into the harsh realities of the “Survival” mode, where every spider dreams of eating you, and resources need to be obtained with sweat and blood.
Set Time
/time set [value]
Allows you to control the time of day. For example, "/time set 0" is dawn. A value of 6000 is noon, 12000 is sunset, and 18000 is night.
Difficulty
/difficulty [difficulty_name]
Allows you to change the difficulty of the game. For example, “/difficulty peaceful” sets the easiest game mode. There are also “easy”, “normal” and “hard” options in increasing difficulty.
Seed
/seed
This command allows you to find out the identifier of the “seed” from which a particular world was born. You can record it so that you can create an exact copy of it in the future if necessary.
Gamerule
/gamerule [installation_name] [value]
Allows you to control some fundamental game settings. For example, “/gamerule keepInventory true” allows you not to lose items from your inventory when a character dies. Accordingly, “/gamerule keepInventory false” works in the opposite way. Another example is the command "/gamerule doDaylightCycle false", which will disable the day/night cycle, leaving you to exist in the world, immersed in eternal darkness or constantly bathed in the light of the sun, depending on the moment you activate it.
Summon
/summon [object_name]
Instantly creates the desired object in the world in front of you.
Cannon
/cannon
Fires a block of dynamite at the point where the player's aim is aimed.
Atlantis Mode
/atlantis
Significantly raises the level of the world's oceans, plunging into the abyss all but the highest mountains.
Jump
/jump
Moves the player to where his aim is.
Mob Damage
/mobdamage
Monsters cannot do you any harm, no matter how hard they try.
Ride
/ride
Makes any creature the player is aiming at mountable.
Instant Mine
/instantmine
Allows you to destroy any blocks in one click using any tool.
On this page there are commands that work in single mode and on a local network. The use of these commands is equivalent to the use of cheats and they must be enabled during the first generation of the world (creating a map) in the “Additional world settings” menu. The commands are shown in order of demand, you can sort them alphabetically, you can also search for commands and have a detailed description of some of them. Commands for the command block can be found here.
@p is the closest player, can be changed to the player’s nickname
Team | Description | Examples |
---|---|---|
/give | Give the player an item | /give @p minecraft:diamond_block 64 - Give yourself 64 diamond blocks. See. |
/gamemode | Changing game mode | /gamemode survival - Switch to survival mode /gamemode creative - Switch to creative mode |
/weather | Change of weather | /weather clear - Remove rain and snow |
/clear | Remove all items from inventory | /clear - Clear your inventory /clear notch - Clear inventory for player notch |
/effect | Effects overlay | /effect give @p speed - Get the Speed effect /effect clear @p speed — Remove the speed effect |
/defaultgamemode | Default map game mode | /defaultgamemode creative - Default creative game mode /defaultgamemode survival - Default creative game mode |
/xp | Issue of experience | /xp add @p 500 - Give yourself 500 experience |
/kill | Killing Entities | /kill - yourself /kill notch - player notch /kill @e - discarded items /kill @e - everyone except yourself /kill @e - all cows nearby |
Summon Entity | /summon zombie - Summon zombies /summon lightning_bolt ~25 ~ ~ - Summon lightning at 25 meters /summon fox ~ ~1 ~ (Passengers:[(id:creeper)]) - Summon a fox with a creeper on its back See Mob IDs. |
|
/enchant | Enchant an item | /enchant @p sharpness 5 — Enchant a sword in your hand to Sharpness V /enchant @p infinity - Enchant a bow in your hand for infinity See Enchant ID and Enchant Compatibility. |
/difficulty | Game difficulty | /difficulty peaceful - Set the difficulty to peaceful /difficulty hard Set difficulty to difficult |
/spawnpoint | Set spawn point | /spawnpoint - Set the spawn point location /spawnpoint notch - Same for player notch /spawnpint notch 0 65 00 - With choice of coordinates |
/seed | View world generation key | /seed - Find out the world generation key |
/gamerule | Setting game rules | /gamerule keepInventory true - Player items do not drop out upon death /gamerule doDaylightCycle false - Stop the day and night cycle (always the same time) /gamerule mobGriefing false - Prevents mobs from breaking blocks in the world |
/advancement | Achievements | /advancement grant @p everything - Give the player all achievements /advancement revoke @p everything - Take away all the player's achievements |
/ban | Ban a player on the server | /ban notch - Ban player notch /ban notch Flood - Ban player notch for flooding |
/ban-ip | Ban by IP | /ban-ip 1.1.1.1 flood - Ban ip-address 1.1.1.1 due to “flood” /ban-ip notch flood Ban the IP address of the player notch due to “flood” |
/banlist | Blacklist | /banlist ips — Show a list of ips in the blacklist /banlist players - Show players on the blacklist |
/bossbar | Bossbar management | /bossbar add notch (“text”:”Notch”) - Create a bossbar called Notch /bossbar set notch players @p - Show the bossbar to the nearest player |
Copy, kjrj | /clone 1 67 1 1 67 1 2 67 1 replace - copying 1 block from point 1 67 1 to 2 67 1 | |
/debug | Debugging | /debug start - Start debugging /debug stop - Stop debugging /debug report - Debug report |
/data | Working with NBT | /data get block 1 65 1 — NBT block data at coordinates 1 65 1 |
/daylock | Stops the cycle of time | /daylock true - Stop the day/night cycle /daylock false - Resume the day/night cycle /alwaysday true - Always day /alwaysday false- Disable |
/datapack | Working with Datasets | /datapack disable nabor — Disable the datapack nabor /datapack enable nabor — Enable the nabor data set |
/deop | Remove operator status | /deop player - Removes operator status |
*Notes
1. Commands are entered after opening the chat by pressing the “T” key in the English layout
2. Instead of player, enter the nickname of the player who should be touched by the team
3. When there is a “/” (slash) sign between several options, you need to enter only one of the options
4. The Tab key will automatically complete the command and show all available options