Minecraft BedrockMinecraft Bedrock Commands: The Complete List (PC, Switch, PS5, Xbox)
Every Minecraft Bedrock command: opening the console on PC and consoles (Switch, PS5, Xbox), /allowlist, /daylock, gamerules, Bedrock exclusives (/camera, /fog, /ability) and pitfalls to avoid.
On Minecraft Bedrock, press T (keyboard) or the chat icon (controller/touch) to type a command. Cheats must be enabled in the world settings (warning: this disables achievements). On consoles (Switch, PS5, Xbox), the chat opens with the right arrow on the D-pad. Remember /gamerule keepInventory true (keep your inventory), /allowlist (not /whitelist) and /daylock true (lock daytime), which are specific to Bedrock.

Opening the command console on Minecraft Bedrock
On PC (keyboard):
- Press
Tto open the chat, or the chat icon on controller/touch. - Type your command and confirm.
- Cheats must be enabled in the world settings when creating it, or through "Edit World" then "Activate Cheats".
Important point: on Bedrock, enabling cheats permanently disables achievements for that world. And unlike Java, an operator must also have cheats enabled at the world level to access commands. It's more restrictive than Java.
Opening the console on Switch, PS5 and Xbox
On consoles, access to the command console goes through the in-game chat, opened with the right arrow on the D-pad.
Nintendo Switch:
- Open the chat with the right arrow on the D-pad. A virtual keyboard appears.
- Navigate with the left stick, confirm with
A. - Tip: connect a USB keyboard through the dock for much faster typing.
PlayStation 5:
- Right D-pad arrow to open the chat.
- The PS5 virtual keyboard offers swipe-based input on the DualSense touchpad, which speeds up typing.
- A Bluetooth keyboard is recognized natively.
Xbox Series X/S:
- Same access through the right arrow.
- The Xbox app makes typing easier from a smartphone paired with the console.
- USB and Bluetooth keyboards are supported.
Limitations common to all consoles: no autocompletion as smooth as on a PC keyboard (the Tab key isn't available), and long commands with precise coordinates are tedious to type. Command blocks remain the best solution for automating repetitive commands.
The essential commands on Bedrock
Here are the must-know commands, with their Bedrock syntax.
| Command | Syntax | Description |
|---|---|---|
/gamemode | /gamemode <mode> [joueur] | Changes the game mode (survival, creative, adventure, spectator) |
/tp | /tp <cible> <x> <y> <z> | Teleports a player or an entity |
/give | /give <joueur> <item> [quantité] | Gives an item to a player |
/kill | /kill [cible] | Kills an entity (with no target: kills the executor) |
/time | /time set <valeur> | Changes the world time |
/weather | /weather <clear|rain|thunder> [durée] | Changes the weather |
/gamerule | /gamerule <règle> <valeur> | Changes a game rule |
/effect | /effect <cible> <effet> <durée> <niveau> | Applies a potion effect |
/enchant | /enchant <cible> <enchantement> [niveau] | Enchants the item held in hand |
/xp | /xp <nombre>[L] <joueur> | Gives or removes experience |
/summon | /summon <entité> [x y z] | Summons an entity |
/fill | /fill <x1> <y1> <z1> <x2> <y2> <z2> <bloc> | Fills an area with blocks |
/setblock | /setblock <x> <y> <z> <bloc> | Places a specific block |
/locate | /locate <structure> | Locates the nearest structure |
/daylock | /daylock <true|false> | Locks the day/night cycle (Bedrock exclusive) |
/allowlist | /allowlist add <joueur> | Manages the allowlist (equivalent to /whitelist on Java) |
/op | /op <joueur> | Grants operator status |
/kick | /kick <joueur> [raison] | Kicks a player from the server |
/say | /say <message> | Broadcasts a server message |
/tickingarea | /tickingarea add <x1 y1 z1> <x2 y2 z2> | Manages force-loaded areas (Bedrock exclusive) |
World management commands
Changing time and weather (/time, /weather, /daylock)
Key values for /time set:
0orday= sunrise6000= noon12000ornight= start of night18000= midnight
/time set day
/time set 6000
/weather clear
/weather rain 300
On Bedrock only, /daylock true (alias /alwaysday true) locks the day/night cycle at the current time. Handy for maps under construction. To disable it: /daylock false.
The must-have gamerules
Universal syntax: /gamerule <règle> <true|false>.
| Gamerule | Value | Effect |
|---|---|---|
keepInventory | true | Keeps your inventory after death |
showcoordinates | true | Displays X/Y/Z coordinates on screen (Bedrock exclusive) |
mobGriefing | false | Prevents mobs from destroying blocks (Creepers, Endermen...) |
doDaylightCycle | false | Freezes the day/night cycle |
doMobSpawning | false | Disables mob spawning |
pvp | false | Disables player-versus-player combat |
/gamerule keepInventory true
Displaying coordinates on screen
On Bedrock, coordinates aren't shown through a debug key like on Java: you enable them with a gamerule. To display the X/Y/Z coordinates at the top of the screen (to find your way, note the location of a base):
/gamerule showcoordinates true
They appear on all platforms (PC, Switch, PS5, Xbox). You can also enable "Show Coordinates" directly in the world settings. To hide them: /gamerule showcoordinates false.
Teleportation and spawn (/tp, /spawnpoint, /setworldspawn)
Teleportation uses three types of coordinates:
- Absolute:
100 64 -300(fixed position in the world) - Relative:
~ ~10 ~(offset from the current position) - Local:
^ ^ ^5(5 blocks in front of you, based on orientation)
/spawnpoint <joueur> [x y z]
/setworldspawn [x y z]
/locate biome minecraft:jungle
Player and XP commands
Game modes (/gamemode, /difficulty)
survival(or0) = Survivalcreative(or1) = Creativeadventure(or2) = Adventurespectator(or3) = Spectator
/gamemode creative @a
/gamemode survival Steve
/difficulty peaceful
Target selectors: @a targets all connected players, @p the nearest player, @s the executor, @e all entities.
Giving items, XP and effects
/give @p minecraft:diamond_sword 1
/xp 5L Steve
/effect @p minecraft:speed 120 2
/enchant @s minecraft:sharpness 5
The L suffix on /xp indicates whole levels; without L, these are raw XP points. On Bedrock, the syntax of /effect doesn't take the give keyword: you write directly /effect <cible> <effet> <durée> <niveau>.
Server admin commands
Managing players (/op, /allowlist, /kick)
On Bedrock, the operator system is binary: a player is either OP or non-OP (there are no levels 1 to 4 like on Java).
| Command | Syntax | Admin use |
|---|---|---|
/op | /op <joueur> | Grants operator rights |
/deop | /deop <joueur> | Removes operator rights |
/kick | /kick <joueur> [raison] | Kicks a player |
/allowlist | /allowlist add/remove/list | Manages the allowlist |
/setmaxplayers | /setmaxplayers <nombre> | Limits the number of players in real time |
Note: /ban, /ban-ip and /pardon don't exist on Bedrock. Banning is handled at the server level or through the admin panel.
Saving your world
Unlike Java (/save-all, /stop), Bedrock doesn't offer in-game save commands. Save management is done from your server's admin panel.
Configuring admin rights on your server
At Lordhosting, managing operators and the allowlist is done directly from the control panel, without typing any commands. Head to the section dedicated to your Minecraft Bedrock server to add or remove OPs in a few clicks, manage the allowlist and run manual backups before a risky change.
Bedrock-exclusive commands
Bedrock offers commands geared toward content creators, absent from Java.
| Command | Description |
|---|---|
/tickingarea | Manages force-loaded areas |
/ability | Grants special abilities to a player |
/daylock | Locks the day/night cycle |
/camera | Changes a player's camera perspective |
/camerashake | Shakes a player's camera |
/mobevent | Enables or disables mob events |
/fog | Manages fog effects |
/music | Controls the ambient music |
/titleraw | Displays JSON-formatted titles |
/immutableworld | Makes the world immutable for non-OPs |
Common mistakes with Bedrock commands
1. Using /whitelist instead of /allowlist. This is the number 1 confusion when coming from Java. On Bedrock, it's always /allowlist.
2. Forgetting that cheats are mandatory, even for an OP. On Bedrock, an operator can't do anything if cheats aren't enabled at the world level. This is different from Java.
3. Looking for commands that don't exist. /ban, /ban-ip, /pardon and /seed (in the chat) don't exist on Bedrock. The seed is read in the world settings.
4. Enabling cheats without meaning to. Enabling them disables achievements permanently for that world. Think it over before doing it on your main world.
5. Tedious typing on consoles. Without a physical keyboard, long commands are painful. Prepare them in advance, or plug a USB/Bluetooth keyboard into your Switch, PS5 or Xbox.
FAQ - Minecraft Bedrock Commands
The answers to the most frequently asked questions are in the FAQ box below. Missing a question? Contact Lordhosting support via Discord.

