Template:About
Commands, also known as console commands and slash commands, are advanced features activated by typing certain strings of text.
In the client, commands are entered via the chat window, which is displayed by pressing the Template:Key / File:Chat button.pngTemplate:Only / Template:XbuttonTemplate:Only or Template:Key key. Using the Template:Key key also enters the forward-slash that commands require as a prefix, so it is a useful shortcut. The Template:Key and Template:Key keys can be used to view previously entered text, including all previously executed commands.
When the cursor is at a location corresponding to some types of argument (such as an ID), a list of applicable values appears above the text box. If the argument is already containing some characters, the list displays only those values containing the typed command/text. Pressing Template:Key while entering commands cycles through possible commands or arguments, and can be used to auto-enter them.
Commands may also be entered in a multiplayer server's console, but are not preceded by a Template:Key when entered this way. A server owner running commands in this way is often referred to as "ghosting".
Commands in command blocks can be preceded by a slash, but it is not required.
Commands can be executed in the following ways;
Most commands require the executor have a high enough permission level. That means most commands are available in the singleplayer world only if cheats are enabled, and available in multiplayer server only if the player is an operator. See permission level for details.
Enabling cheats in existing worlds[edit]
Template:IN, in singleplayer worlds where cheats were not enabled at creation, they can be enabled on a temporary basis by opening the current game session to LAN play ( Template:Key → "Open to LAN", then "Allow Cheats" button and "Start LAN World"). The player does not actually need to be on a LAN or have others join. This is not permanent but allows the use of commands until the player quits the world, and changes the player makes via commands (items spawned, etc.) are saved with the world. The player can do this each time the player starts playing the world again. Note that this disables game pausing for the duration, so while open to LAN, the player should get somewhere safe or reload their world before using the Game Menu. The player can disable the LAN world by reloading the world. To permanently enable cheats, the level.dat file has to be edited.
Template:IN, cheats can be toggled at any time in the "Game" tab of the settings menu. Enabling cheats in a world permanently prevents players from unlocking achievements in that world, even if cheats are later turned off.
Command guide[edit]
Template:IN:
Template:IN:
Restrictions[edit]
- Some commands have restrictions on who can use the command or in what context.
- None: The command has no restriction.
- Cheat only:Template:Only When executed by a player, the command is available only if cheats is enabled.
- Template:IN, when cheats is disabled, these commands can't be used by players even if they have a high permission level. Template:IN, if players have a high enough permission level, they can use corresponding commands regardless of whether cheats are allowed.
- Dedicated server only: The command is available only on a dedicated server.
After trying to run the command comes different results, including "unparseable", "failed", "successful", "error",Template:Only and "Terminate".Template:Only
- Unparseable
- If the entered command is incomplete or the arguments do not meet required argument types, the command is unparseable.
- When typing a argument into the chat bar, it's noticeable if an argument does not meet the required argument type Template:In.
- Template:IN, if not meet, the argument is marked red and an syntax error message is displayed.
- Template:IN, when typing in chat bar, if an argument can be identified by client, the next argument in grammar hints turns white from gray. If all arguments (including optional arguments) are entered, the whole grammar hint turns gray from white. However, being able to be identified by client doesn't guarantee that this argument meet required argument type.
- Template:IN, it behaves the same as typing in the chat bar when typing in a command block.
- Template:IN, when entering into a command block, if the command is unparseable, an syntax error message is outputted into its output box after closing the command block screen.
- When trying to execute an unparsable command, an error message is displayed.
- Template:IN, it is "Unknown or incomplete command" or "Incorrect argument for command".
- Template:IN, it is "Unknown command" or "Syntax error: unexpected ... at ...".
- If a command in a function file is unparseable, the function is unable to loaded in game.
- Failed and successful
- A command's Success Conditions must be met in order for the game to consider the command "successful". This is used to determine a variety of things, such as the output of a redstone comparator feeding from a command block with a command. Note that not all "successful" commands actually do something, and not all "failed" commands fail to do something useful.
- ErrorTemplate:Only
- If an error occurs with the command, it means that there's a noticeable bug on this command.
- TerminateTemplate:Only
- When running a Template:Cmd command, if the subcommands specifies 0 execution context, the command does nothing and doesn't output anything.
- For example: Template:Cmd in a command block.
List and summary of commands[edit]
The table below summarizes all commands.
Summary of Commands
Command
|
Description
|
Template:Tooltip
|
Template:Tooltip
|
Template:Tooltip
|
Template:Tooltip
|
Template:Tooltip
|
Template:Tooltip
|
Template:Tooltip
|
Template:Tooltip
|
Template:Tooltip
|
Template:Tooltip
|
Template:Cmd
|
An alias of Template:Cmd. Provides help for commands.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Grants or revokes a player ability.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Gives, removes, or checks player advancements.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd. Locks and unlocks the day-night cycle.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Queries, adds, removes or sets an entity attribute.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Adds player to banlist.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Adds IP address to banlist.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Displays banlist.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Creates and modifies bossbars.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Switch to custom camera perspectives and fade the screen.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Used to enable a camera shaking effect.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Changes a setting on the dedicated server while it's running.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Clears items from player inventory.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Remove spawnpoints in the world.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Copies blocks from one place to another.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd. Attempts to connect to the websocket server.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Applies damage to the specified entities.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Gets, merges, modifies and removes block entity and entity NBT data.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Controls loaded data packs.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd. Locks and unlocks the day-night cycle.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Starts or stops a debugging session.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Attempts to connect to a websocket server.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Sets the default game mode.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Revokes operator status from a player.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Opens NPC dialogue for a player.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Sets the difficulty level.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Adds or removes status effects.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Adds an enchantment to a player's selected item.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Used to trigger an event on an entity.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Executes another command.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd. Adds or removes player experience.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Fills a region with a specific block.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Fills a region with a specific biome.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Used for managing active fog settings for players.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Forces chunks to constantly be loaded or not.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Runs a function.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Sets a player's game mode.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Sets or queries a game rule value.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
To test the GameTest features.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Gives an item to a player.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd. Provides help for commands.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Allows setting immutable state of a world.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Manipulates items in inventories.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Starts or stops a JFR profiling.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Kicks a player off a server.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Kills entities (players, mobs, items, etc.).
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Lists players on the server.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Locates closest structure, biome, or point of interest.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Drops items from an inventory slot onto the ground.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Displays a message about the sender.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Enables/disables a specified mob event.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd and Template:Cmd. Displays a private message to other players.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Allows the player to control playing music tracks.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Grants operator status to a player.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd. Reloads and applies permissions.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Removes entries from the banlist.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Removes entries from the banlist.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Creates particles.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Captures info and metrics about the game for 10 seconds.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd. Reloads and applies permissions.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Used to place a configured feature, jigsaw, template, or structure at a given location.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Used to run a one-off animation.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Plays a sound.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Opens single-player world to local network.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Draw a random value or control the random number sequence.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Gives or takes player recipes.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Reloads loot tables, advancements, and functions from disk.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Removing agent.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Replaces items in inventories.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Control execution flow inside functions and change their return value.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Used to make entities ride other entities, stop entities from riding, make rides evict their riders, or summon rides or riders.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Prepares a backup, queries its status, or resumes.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Saves the server to disk.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Disables automatic server saves.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Enables automatic server saves.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Displays a message to multiple players.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Delays the execution of a function.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Manages scoreboard objectives and players.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Template:Info needed.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Template:Info needed.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Displays the world seed.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Changes a block to another block.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Sets the time before idle players are kicked.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Sets the maximum number of players allowed to join.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Sets the world spawn.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Sets the spawn point for a player.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Make one player in spectator mode spectate an entity.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Teleports entities to random locations.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Stops a server.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Stops a sound.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Used to save and load structures without having to use structure blocks items in inventories.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Summons an entity.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Controls entity tags.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Controls teams.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd. Specifies the message to send to team.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd. Teleports entities.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd and Template:Cmd. Displays a private message to other players.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Displays a JSON message to players.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Counts entities matching specified conditions.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Tests whether a block is in a location.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Tests whether the blocks in two regions match.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Add, remove, or list ticking areas.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Changes or queries the world's game time.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Manages screen titles.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Controls screen titles with JSON messages.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd. Specifies the message to send to team.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Toggles the weather.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd. Teleports entities.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Sets a trigger to be activated.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Add, remove, or list volume areas.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd and Template:Cmd. Displays a private message to other players.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd. Ability to edit restricted blocks.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Sets the weather.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Manages server whitelist.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
Manages the world border.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd. Ability to edit restricted blocks.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:Cmd. Attempts to connect to the websocket server.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Cmd
|
An alias of Template:CmdTemplate:Only. Adds or removes player experience.
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc
|
Template:Tc |
Template:Tc |
Template:Tc |
Template:Tc
|
Hidden commands[edit]
Template:Exclusive
These commands are unavailable in general cases. Most of them can be accessed with a Websocket Server.
Removed commands[edit]
Other removed commands[edit]
Developer command[edit]
Template:Main
Template:Exclusive
Developer commands are only enabled in internal development builds of Bedrock Edition, and are not normally present in release versions.
Agent commands[edit]
Template:Education feature
Superseded by Template:Cmd
Joke commands[edit]
These commands only exist in April Fools versions of the game.
History[edit]
Template:Info needed section
Template:Work in progress
Command additions and changes[edit]
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
Template:History
April Fools command[edit]
Template:History
Template:History
Template:History
Template:History
Template:Issue list
See also[edit]
References[edit]
Template:Reflist
Template:Commands
Template:Java Edition
Template:Bedrock Edition
de:Befehl
es:Comandos
fr:Commandes
hu:Szerverparancsok
it:Comandi
ja:コマンド
ko:명령어
nl:Opdrachten
pl:Polecenia
pt:Comandos
ru:Команды консоли
th:คำสั่ง
tr:Komutlar
uk:Команди консолі
zh:命令