Minecraft Bedrock (PE)

Bedrock 1.26.50.4

Bedrock Edition commands — for phones, Windows, and consoles: what each does, how to record them, who can use them, and how to join a server and enable cheats.

  • 78 commands
  • Bedrock 1.26.50.4
My Game select version

Save your preferences in this browser and apply them to supported tools. Settings in a shared link take priority. Wiki version labels are not affected.

How to play

PagePermissionsPurpose
How to join a Bedrock server?—How to join a Minecraft Bedrock server from a phone and Windows: address, port 19132, and where to add the server.
How to enable cheats in Bedrock—How to enable cheats in Minecraft Bedrock so commands work — and why achievements are not granted afterward.
Geyser and Floodgate—How to install Geyser and Floodgate on a Java server to allow access from phone and Windows: installation, port, and login without a Java account.

Players and mode

PagePermissionsPurpose
/aimassistoperator and command blockEnable crosshair assistance.
/clearspawnpointoperator and command blockRemove the spawn point for a player.
/controlschemeoperator and command blockSets or clears the control scheme.
/damageoperator and command blockDeal damage to the specified entities.
/gamemodeoperator and command blockSets the game mode for a player.
/inputpermissionoperator and command blockDetermines whether the player's input affects their character
/killoperator and command blockKills entities (players, mobs, etc.).
/rideoperator and command blockMakes one entity ride another, interrupts entity riding, makes horses drop riders or summons horses or riders.
/spawnpointoperator and command blockSets the player's spawn point.
/spreadplayersoperator and command blockSpawns entities in random locations.
/teleportoperator and command blockTeleports entities (players, mobs, etc.).
/xpoperator and command blockIncreases or decreases a player's experience.

World, time, and weather

PagePermissionsPurpose
/changesettingserver owner (console)Changes the selected server's runtime parameter.
/daylockoperator and command blockBlocks day and night cycle on and off.
/difficultyoperator and command blockSets the difficulty level.
/fogoperator and command blockAdd or remove fog settings file.
/gameruleoperator and command blockSets or requests a game rule.
/locateoperator and command blockDisplays the coordinates of the nearest structure or biome of the selected type.
/mobeventoperator and command blockControls which mob events are allowed to trigger.
/musicoperator and command blockAllows managing music track playback.
/playsoundoperator and command blockPlays sound
/setworldspawnoperator and command blockSets the world's spawn point.
/stopsoundoperator and command blockPauses sound playback.
/tickingareaoperator and command blockAdd, remove, or modify sound zones.
/timeoperator and command blockModifies or requests the world's game time.
/toggledownfalloperator and command blockChanges the weather.
/weatheroperator and command blockSets the weather.

Items, mobs, and effects

PagePermissionsPurpose
/clearoperator and command blockRemoves items from a player's inventory.
/effectoperator and command blockAdd or remove status effects.
/enchantoperator and command blockApplies enchantments to the player's selected item.
/eventoperator and command blockTriggers an event for the specified entities.
/giveoperator and command blockGives a player an item
/lootoperator and command blockReset a specific mining table to a specified inventory or world.
/particleoperator and command blockCreates particles.
/playanimationoperator and command blockPlay an animation once for one or more entities. Assumes all variables are correctly set.
/recipeoperator and command blockUnlocks a recipe for the player in the recipe book.
/replaceitemoperator and command blockReplaces items in the inventory.
/summonoperator and command blockCalls an entity.

Blocks and structures

PagePermissionsPurpose
/cloneoperator and command blockCopies blocks from one area to another.
/filloperator and command blockFully or partially fills an area with a specific block.
/placeadministratorInstalls a structure fragment, object, or object rule.
/setblockoperator and command blockChanges a block to another block.
/structureoperator and command blockSaving or loading a structure in the world.
/testforblockoperator and command blockChecks whether a specific block is located at a defined position.
/testforblocksoperator and command blockChecks whether blocks match between two areas.

Chat and screen

PagePermissionsPurpose
/cameraoperator and command blockDisplays camera instructions.
/camerashakeoperator and command blockApplies shaking to the player's camera with specified intensity and duration.
/dialogueoperator and command blockOpens a dialog with a non-player character for the player.
/hudoperator and command blockChanges the visibility of interface elements.
/meAny playerDisplays a message about you.
/sayoperator and command blockSends a message to other players in chat.
/tellAny playerSends a private message to one or more players.
/tellrawoperator and command blockSends a JSON message to players.
/titleoperator and command blockControls screen labels.
/titlerawoperator and command blockControls screen headers with JSON messages.

Server and permissions

PagePermissionsPurpose
/allowlistserver owner (console)Controls the server's permission list.
/deopadministratorRemoves a player's operator status.
/editor-allowlistserver owner (console)Controls the editor's permission list.
/helpAny playerShows help or a list of commands
/kickoperator and command blockExpels a player from the server
/listAny playerShows a list of players on the server
/opadministratorGrants the player operator status.
/permissionadministratorReloads and applies permissions.
/reloadadministratorReloads all functions and script files from all behavior sets.
/reloadconfigserver owner (console)Reloads configuration files related to variables, secrets, permissions, and so on.
/saveserver owner (console)Manages game data storage on disk or checks this process.
/serveridentityserver owner (console)Controls the server identification key. Use the "Save", "Delete", or "Status" commands.
/setmaxplayersWorld hostSets the maximum number of players in this game session.
/stopserver owner (console)Shuts down the server.
/transferserver owner (console)Moves a player to another server.
/wsserveradministratorAttempts to connect to a WebSocket server at the specified URL.

Logic and functions

PagePermissionsPurpose
/executeoperator and command blockExecutes a command on behalf of one or more objects.
/functionoperator and command blockExecutes commands found in the corresponding function file.
/scheduleoperator and command blockPlanning an action to be executed after a chunk loads or after a specific amount of time.
/scoreboardoperator and command blockTracking and displaying scores for various purposes.
/scripteventoperator and command blockTriggers a script event with an identifier and message.
/tagoperator and command blockControls tags stored in entities.
/testforoperator and command blockCounts entities (players, mobs, items, etc.) matching specified conditions.

Minecraft Bedrock 1.26.50.4 data: commands, parameters, and descriptions — from Mojang's official bedrock-samples repository.