MinecraftPublished on February 10, 20267 min read

Minecraft Bedrock Commands: the complete list (2026)

Minecraft Bedrock commands are close to Java's, but the syntax, the selectors and several commands differ. This guide gives the complete list of Bedrock Edition commands, with their exact syntax and examples, whether you play on Windows, mobile, Xbox, PlayStation or Switch, or run a Bedrock server. It follows Bedrock 26.60.

To compare both editions side by side, the guide 150+ Minecraft commands for Java and Bedrock also covers Java. This one focuses on Bedrock.

On Bedrock, commands require Activate Cheats to be on in the world settings, even for an operator. That is a big difference from Java, where an operator can always use them. Activating cheats disables achievements for that world.


Typing a command on console, mobile and PC

  • On PC, press T or / to open the chat.

  • On Xbox, PlayStation and Switch, press right on the D-pad.

  • On mobile, tap the chat bubble icon at the top of the screen.

Then type the command starting with /. The game suggests the rest of the syntax as you type.


Differences between Java and Bedrock commands

What changes in the syntax

Target selectors work in both editions. Bedrock adds one and uses other filters.

SelectorTargetJavaBedrock
@pNearest playerYesYes
@aAll playersYesYes
@rRandom playerYesYes
@eAll entitiesYesYes
@sThe entity running the commandYesYes
@initiatorPlayer interacting with an NPCNoYes
FilterJavaBedrockBedrock example
Number of targetslimit=1c=1@e[type=zombie,c=1]
Distancedistance=..10r=10 / rm=5@a[r=10]
Levellevel=10..lm=10 / l=20@a[lm=10]
Game modegamemode=creativem=creative@a[m=creative]
Item in inventoryno direct filterhasitem@a[hasitem={item=diamond}]
Mob familynonefamily@e[family=monster]

Other differences:

  • The minecraft: prefix is optional: stone is enough.

  • Relative (~) and local (^) coordinates work in both editions.

  • Bedrock uses true and false where some older commands expected 0 and 1.

  • Biome, structure, sound and game rule names often differ. Bedrock gamerules are one word (keepinventory), while Java 1.21.11 switched to keep_inventory.

Exclusive Bedrock commands

CommandDescription
/tickingareaKeeps chunks loaded at all times, like /forceload in Java
/camerashakeShakes the camera
/cameraPositions the camera, screen fades (1.20.0)
/clearspawnpointRemoves a player's respawn point
/daylock, /alwaysdayLocks the day and night cycle
/dialogueOpens or controls NPC dialogues
/eventTriggers an entity event (add-ons)
/fogManages displayed fog
/hudHides or shows HUD elements (1.20.60)
/inputpermissionBlocks or restores player controls (movement, camera)
/mobeventTurns mob events on or off (pillager patrols)
/musicPlays, queues or stops music
/playanimationPlays an animation on an entity
/structureSaves and loads structures
/replaceitemReplaces the item in a slot (Java uses /item)
/testfor, /testforblock, /testforblocksTests for entities or blocks
/titlerawTitle in JSON text
/toggledownfallToggles rain
/setmaxplayersMaximum number of players
/allowlist, /permission, /saveDedicated server administration
/scripteventTriggers a script event
/set_movement_authoritySets movement checks (1.21.50)
/controlschemeSwitches the control scheme
/immutableworldMakes the world immutable

/ride has also existed in Java since 1.19.4. /volumearea was removed from Bedrock in 1.21.20.

Commands missing on Bedrock

These Java commands do not exist on Bedrock:

Java commandBedrock alternative
/dataNone, no access to NBT data
/attributeNo direct equivalent
/forceload/tickingarea
/item/replaceitem
/teamNo equivalent
/bossbarNo equivalent
/spectateSpectator mode exists (/gamemode spectator), but not the command that follows an entity
/ban, /pardon, /banlistNo bans: use the allowlist with /allowlist
/save-all/save hold
/worldborderNo equivalent
/advancement, /trigger, /datapackNo equivalent (Bedrock uses add-ons)
/tick, /debug, /perfNo equivalent
/seedThe seed is shown in the world settings

The lack of /data is the biggest difference. On Bedrock, no command reads or changes the NBT data of entities and blocks, which limits command blocks compared with Java.


Basic Bedrock commands

CommandSyntaxExampleEffect
/gamemode/gamemode <mode> [player]/gamemode creative @sSwitches to creative
/tp/tp <target> <x> <y> <z>/tp @s 100 64 200Teleports to the coordinates
/tp (to a player)/tp <target> <player>/tp @a @pBrings everyone to the nearest player
/give/give <player> <item> [amount] [data] [components]/give @s diamond 64Gives 64 diamonds
/time/time set <value>/time set dayMakes it day
/weather/weather <type> [duration]/weather clear 1000Clear sky for 1,000 ticks
/kill/kill [target]/kill @e[type=zombie]Kills all zombies
/say/say <message>/say Server restarting in 5 minMessage to everyone
/tell/tell <player> <message>/tell Steve Hi!Private message
/xp/xp <amount>[L] [player]/xp 30L @sGives 30 experience levels

The /weather duration has been counted in ticks since Bedrock 1.18.30 (20 ticks per second of game time). The /gamemode mode also accepts the short forms c, s, a and 0, 1, 2.

/give does not take NBT like Java. It does accept a few JSON components: keep the item on death, lock it in the inventory, or limit the blocks it can place or break. For an enchanted item, run /enchant after /give.

/give @p diamond_sword 1 0 {"keep_on_death":{}}
/give @a stick 1 0 {"item_lock":{"mode":"lock_in_inventory"}}

Bedrock's /tp also accepts facing to turn the view after teleporting, and checkForBlocks to avoid landing inside a wall.

/tp @s 0 80 0 facing 10 80 0
/tp @s 0 80 0 true

Server administration commands

CommandSyntaxDescription
/op/op <player>Grants operator rights
/deop/deop <player>Removes operator rights
/kick/kick <player> [reason]Kicks a player
/allowlist/allowlist add <player>Adds to the allowlist (/whitelist is an alias)
/allowlist on/allowlist on|offTurns the allowlist on or off
/permission/permission reload|listReloads permissions.json (alias /ops)
/difficulty/difficulty <level>Changes the difficulty (peaceful, easy, normal, hard)
/gamerule/gamerule <rule> <value>Changes a world rule
/setmaxplayers/setmaxplayers <number>Maximum number of players (Bedrock only)
/list/listOnline players
/save/save hold|query|resumePrepares a world backup without stopping the server
/transfer/transfer <player> <address> [port]Sends a player to another server (1.20.30)
/stop/stopStops the server

Bedrock has no /ban command, even on a dedicated server. To keep a player out, turn on the allowlist, remove them from it, then kick them with /kick.

Useful gamerules for a Bedrock admin:

/gamerule pvp false
/gamerule mobgriefing false
/gamerule keepinventory true

The first turns off player combat, the second stops mobs from breaking blocks, the third keeps the inventory on death. The guide to Minecraft gamerules covers the others.

From the OuiPanel console

On a Bedrock server hosted by OuiHeberg, the console in OuiPanel, the game panel, runs these commands without going through the game.

  1. In the side menu, open Console. The server must be running.

  2. Type the command without the slash, for example op Steve or allowlist add Steve.

  3. Click Send.

OuiPanel console with the op Steve command typed and the Send button

The Bedrock server's basic settings live in the server.properties file, at the root of the File Manager: allow-cheats (commands), max-players, gamemode and difficulty. Stop the server before editing the file, then click Save and start it again.

The allowlist is off by default on OuiHeberg Bedrock servers. Turn it on with the "Allow list" variable in Configuration › Server Settings, Environment Variables card. Then add players with allowlist add.


World and building commands

/fill, /clone, /setblock

These three commands work almost as in Java.

SyntaxExampleResult
/fill <x1> <y1> <z1> <x2> <y2> <z2> <block> [mode]/fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 stoneAn 11 × 11 stone floor under your feet (32,768 blocks at most per command)
/setblock <x> <y> <z> <block>/setblock ~ ~2 ~ glowstoneA glowstone block two blocks above you
/clone <x1> <y1> <z1> <x2> <y2> <z2> <dest_x> <dest_y> <dest_z> [mode]/clone 0 64 0 10 74 10 100 64 0Copies an 11 × 11 × 11 structure

/tickingarea (Bedrock specific)

One of the most useful Bedrock commands. It keeps chunks loaded even with no player nearby, like /forceload in Java, with a different syntax and 10 areas at most per world.

CommandDescription
/tickingarea add <x1> <y1> <z1> <x2> <y2> <z2> <name>Creates a rectangular area
/tickingarea add circle <x> <y> <z> <radius> <name>Creates a circular area
/tickingarea remove <name>Removes an area
/tickingarea listLists the active areas

Example, to keep the spawn chunks active:

/tickingarea add 0 0 0 15 255 15 Spawn

Common uses: automatic farms that run nonstop, complex redstone circuits, bases with clocks.


Advanced gameplay commands

CommandSyntaxExampleEffect
/enchant/enchant <target> <enchantment> [level]/enchant @s sharpness 5Sharpness V on the held item
/effect/effect <target> <effect> [duration] [amplifier]/effect @s speed 300 2Speed III for 5 minutes
/effect clear/effect <target> clear/effect @a clearRemoves all effects from every player
/summon/summon <entity> [x] [y] [z]/summon ender_dragon ~ ~10 ~Summons a dragon
/replaceitem/replaceitem entity <target> slot.hotbar 0 diamond_sword/replaceitem entity @s slot.hotbar 0 diamond_swordReplaces the item in hotbar slot 0
/spreadplayers/spreadplayers <x> <z> <spread_distance> <max_range> <target>/spreadplayers 0 0 50 500 @aSpreads every player
/title/title <target> title <text>/title @a title Welcome!Shows a title
/playsound/playsound <sound> [target] [x y z] [volume]/playsound mob.wither.spawn @aPlays the Wither sound

On Bedrock, /replaceitem takes the place of the Java-only /item. Slots are written differently: slot.hotbar, slot.inventory, slot.armor.head, slot.weapon.mainhand.

/spreadplayers lacks Java's respectTeams argument, since teams do not exist on Bedrock.


Minecraft Bedrock commands, the complete list

The complete summary table of the commands in this guide, with what differs from Java.

CommandCategoryAlso in JavaBedrock specifics
/gamemodeBasicsYesAccepts c, s, a and 0, 1, 2
/tpTeleportYesfacing and checkForBlocks available
/giveBasicsYesNo NBT, a few JSON components
/timeWorldYesAdds sunrise and sunset
/weatherWorldYesDuration in ticks
/killBasicsYesSame
/fillBuildingYesSame
/cloneBuildingYesSame
/setblockBuildingYesSame
/tickingareaWorldNoReplaces /forceload, 10 areas at most
/daylockWorldNoBedrock only
/camerashakeGameplayNoBedrock only
/cameraGameplayNoBedrock only
/dialogueNPCNoBedrock only
/musicAmbienceNoBedrock only
/rideEntitiesYesAlso in Java since 1.19.4
/inputpermissionAdminNoBedrock only
/hudInterfaceNoBedrock only
/mobeventGameplayNoBedrock only
/structureBuildingNoMore flexible than Java structure blocks
/enchantGameplayYesSame
/effectGameplayYesNo give; clear after the target
/summonEntitiesYesNo NBT
/replaceitemInventoryNo (/item in Java)slot.* slots
/opAdminYesSame
/allowlistAdminNo (/whitelist in Java)No /ban on Bedrock
/gameruleWorldYesOne-word names, a few Bedrock-only rules
/setmaxplayersAdminNoBedrock only
/transferAdminYesSince Bedrock 1.20.30

Bedrock commands cover most of what a player or an admin needs. To let Bedrock players join a Java server, the guide Set up GeyserMC on OuiPanel explains the steps.


Need help?

Open a ticket from Tickets › Open a Ticket, or from the Contact support tile at the bottom of your server's page in the client area. You can also ask your question on the OuiHeberg Discord.

Was this article helpful?

38,414 views
Share this article
Minecraft
Need a Minecraft server?

Discover our Minecraft hosting plans starting from $2.28/month with automatic mod installation.

Minecraft server hosting →

Related Articles