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
Tor/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.
| Selector | Target | Java | Bedrock |
|---|---|---|---|
@p | Nearest player | Yes | Yes |
@a | All players | Yes | Yes |
@r | Random player | Yes | Yes |
@e | All entities | Yes | Yes |
@s | The entity running the command | Yes | Yes |
@initiator | Player interacting with an NPC | No | Yes |
| Filter | Java | Bedrock | Bedrock example |
|---|---|---|---|
| Number of targets | limit=1 | c=1 | @e[type=zombie,c=1] |
| Distance | distance=..10 | r=10 / rm=5 | @a[r=10] |
| Level | level=10.. | lm=10 / l=20 | @a[lm=10] |
| Game mode | gamemode=creative | m=creative | @a[m=creative] |
| Item in inventory | no direct filter | hasitem | @a[hasitem={item=diamond}] |
| Mob family | none | family | @e[family=monster] |
Other differences:
The
minecraft:prefix is optional:stoneis enough.Relative (
~) and local (^) coordinates work in both editions.Bedrock uses
trueandfalsewhere some older commands expected0and1.Biome, structure, sound and game rule names often differ. Bedrock gamerules are one word (
keepinventory), while Java 1.21.11 switched tokeep_inventory.
Exclusive Bedrock commands
| Command | Description |
|---|---|
/tickingarea | Keeps chunks loaded at all times, like /forceload in Java |
/camerashake | Shakes the camera |
/camera | Positions the camera, screen fades (1.20.0) |
/clearspawnpoint | Removes a player's respawn point |
/daylock, /alwaysday | Locks the day and night cycle |
/dialogue | Opens or controls NPC dialogues |
/event | Triggers an entity event (add-ons) |
/fog | Manages displayed fog |
/hud | Hides or shows HUD elements (1.20.60) |
/inputpermission | Blocks or restores player controls (movement, camera) |
/mobevent | Turns mob events on or off (pillager patrols) |
/music | Plays, queues or stops music |
/playanimation | Plays an animation on an entity |
/structure | Saves and loads structures |
/replaceitem | Replaces the item in a slot (Java uses /item) |
/testfor, /testforblock, /testforblocks | Tests for entities or blocks |
/titleraw | Title in JSON text |
/toggledownfall | Toggles rain |
/setmaxplayers | Maximum number of players |
/allowlist, /permission, /save | Dedicated server administration |
/scriptevent | Triggers a script event |
/set_movement_authority | Sets movement checks (1.21.50) |
/controlscheme | Switches the control scheme |
/immutableworld | Makes 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 command | Bedrock alternative |
|---|---|
/data | None, no access to NBT data |
/attribute | No direct equivalent |
/forceload | /tickingarea |
/item | /replaceitem |
/team | No equivalent |
/bossbar | No equivalent |
/spectate | Spectator mode exists (/gamemode spectator), but not the command that follows an entity |
/ban, /pardon, /banlist | No bans: use the allowlist with /allowlist |
/save-all | /save hold |
/worldborder | No equivalent |
/advancement, /trigger, /datapack | No equivalent (Bedrock uses add-ons) |
/tick, /debug, /perf | No equivalent |
/seed | The 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
| Command | Syntax | Example | Effect |
|---|---|---|---|
/gamemode | /gamemode <mode> [player] | /gamemode creative @s | Switches to creative |
/tp | /tp <target> <x> <y> <z> | /tp @s 100 64 200 | Teleports to the coordinates |
/tp (to a player) | /tp <target> <player> | /tp @a @p | Brings everyone to the nearest player |
/give | /give <player> <item> [amount] [data] [components] | /give @s diamond 64 | Gives 64 diamonds |
/time | /time set <value> | /time set day | Makes it day |
/weather | /weather <type> [duration] | /weather clear 1000 | Clear sky for 1,000 ticks |
/kill | /kill [target] | /kill @e[type=zombie] | Kills all zombies |
/say | /say <message> | /say Server restarting in 5 min | Message to everyone |
/tell | /tell <player> <message> | /tell Steve Hi! | Private message |
/xp | /xp <amount>[L] [player] | /xp 30L @s | Gives 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
| Command | Syntax | Description |
|---|---|---|
/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|off | Turns the allowlist on or off |
/permission | /permission reload|list | Reloads 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 | /list | Online players |
/save | /save hold|query|resume | Prepares a world backup without stopping the server |
/transfer | /transfer <player> <address> [port] | Sends a player to another server (1.20.30) |
/stop | /stop | Stops 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.
In the side menu, open Console. The server must be running.
Type the command without the slash, for example
op Steveorallowlist add Steve.Click Send.

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.
| Syntax | Example | Result |
|---|---|---|
/fill <x1> <y1> <z1> <x2> <y2> <z2> <block> [mode] | /fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 stone | An 11 × 11 stone floor under your feet (32,768 blocks at most per command) |
/setblock <x> <y> <z> <block> | /setblock ~ ~2 ~ glowstone | A 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 0 | Copies 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.
| Command | Description |
|---|---|
/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 list | Lists 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
| Command | Syntax | Example | Effect |
|---|---|---|---|
/enchant | /enchant <target> <enchantment> [level] | /enchant @s sharpness 5 | Sharpness V on the held item |
/effect | /effect <target> <effect> [duration] [amplifier] | /effect @s speed 300 2 | Speed III for 5 minutes |
/effect clear | /effect <target> clear | /effect @a clear | Removes 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_sword | Replaces the item in hotbar slot 0 |
/spreadplayers | /spreadplayers <x> <z> <spread_distance> <max_range> <target> | /spreadplayers 0 0 50 500 @a | Spreads 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 @a | Plays 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.
| Command | Category | Also in Java | Bedrock specifics |
|---|---|---|---|
/gamemode | Basics | Yes | Accepts c, s, a and 0, 1, 2 |
/tp | Teleport | Yes | facing and checkForBlocks available |
/give | Basics | Yes | No NBT, a few JSON components |
/time | World | Yes | Adds sunrise and sunset |
/weather | World | Yes | Duration in ticks |
/kill | Basics | Yes | Same |
/fill | Building | Yes | Same |
/clone | Building | Yes | Same |
/setblock | Building | Yes | Same |
/tickingarea | World | No | Replaces /forceload, 10 areas at most |
/daylock | World | No | Bedrock only |
/camerashake | Gameplay | No | Bedrock only |
/camera | Gameplay | No | Bedrock only |
/dialogue | NPC | No | Bedrock only |
/music | Ambience | No | Bedrock only |
/ride | Entities | Yes | Also in Java since 1.19.4 |
/inputpermission | Admin | No | Bedrock only |
/hud | Interface | No | Bedrock only |
/mobevent | Gameplay | No | Bedrock only |
/structure | Building | No | More flexible than Java structure blocks |
/enchant | Gameplay | Yes | Same |
/effect | Gameplay | Yes | No give; clear after the target |
/summon | Entities | Yes | No NBT |
/replaceitem | Inventory | No (/item in Java) | slot.* slots |
/op | Admin | Yes | Same |
/allowlist | Admin | No (/whitelist in Java) | No /ban on Bedrock |
/gamerule | World | Yes | One-word names, a few Bedrock-only rules |
/setmaxplayers | Admin | No | Bedrock only |
/transfer | Admin | Yes | Since 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.
Discover our Minecraft hosting plans starting from $2.28/month with automatic mod installation.
Minecraft server hosting →