Bedrock Server Commands Quick Reference
Quick reference for all important Bedrock server commands covering player management, world control, teleportation, game rules and operator tools.
Using Commands on a Bedrock Server
Bedrock server commands are entered either in the server console (without a slash) or in-game chat (with a leading /). Not all commands are available to all players. The permission level (visitor, member, operator) determines what each player can run. On BDS, set allow-cheats=true in server.properties for operators to use gameplay-altering commands in-game. Console commands always work regardless of that setting.
This reference covers the most useful bedrock server commands organized by category.
Player Management
| Command | Description |
|---|---|
/kick PlayerName reason | Removes a player from the server with an optional message |
/ban PlayerName | Bans a player permanently (BDS stores this in banned-players.json) |
/ban-ip IP | Bans an IP address (not available on all server software) |
/pardon PlayerName | Removes a ban |
/op PlayerName | Grants operator status |
/deop PlayerName | Removes operator status |
allowlist add PlayerName | Adds a player to the whitelist (console only) |
allowlist remove PlayerName | Removes a player from the whitelist (console only) |
For full whitelist management details, see our whitelist guide.
Teleportation
| Command | Description |
|---|---|
/tp PlayerName x y z | Teleports a player to specific coordinates |
/tp PlayerA PlayerB | Teleports PlayerA to PlayerB's location |
/tp @a x y z | Teleports all players to coordinates |
/spawnpoint PlayerName x y z | Sets a player's spawn point |
/setworldspawn x y z | Sets the world's default spawn point |
Bedrock uses target selectors like Java: @a (all players), @p (nearest player), @r (random player), @s (self), @e (all entities).
Host any Bedrock or crossplay server with zero config headaches. Astroworld Hosting supports Geyser, BDS, and every server type on every plan.
Game Rules
Game rules control world behavior. Change them with /gamerule:
| Rule | Default | Description |
|---|---|---|
keepInventory | false | Players keep items on death |
mobGriefing | true | Mobs can destroy blocks (creepers, endermen) |
doDaylightCycle | true | Time progresses naturally |
doWeatherCycle | true | Weather changes randomly |
doMobSpawning | true | Mobs spawn naturally |
pvp | true | Players can damage each other |
commandBlockOutput | true | Command blocks show output in chat |
doFireTick | true | Fire spreads and burns blocks |
showCoordinates | false | Players see their XYZ position on screen |
playersSleepingPercentage | 100 | Percentage of players needed to skip night |
Example: /gamerule keepInventory true
Items and Inventory
| Command | Description |
|---|---|
/give PlayerName item amount | Gives items (e.g., /give @s diamond 64) |
/clear PlayerName item | Removes specific items from inventory |
/clear PlayerName | Clears all items from a player |
/replaceitem entity @s slot.hotbar 0 diamond_sword | Puts an item in a specific slot |
World Control
| Command | Description |
|---|---|
/time set day | Sets time to day (also: night, noon, midnight, or a tick number) |
/weather clear | Sets clear weather (also: rain, thunder) |
/fill x1 y1 z1 x2 y2 z2 block | Fills a region with a block type |
/setblock x y z block | Places a single block at coordinates |
/clone x1 y1 z1 x2 y2 z2 dest_x dest_y dest_z | Copies a region of blocks to another location |
/difficulty normal | Changes difficulty live |
Effects and Enchantments
| Command | Description |
|---|---|
/effect @s speed 300 2 | Gives speed II for 300 seconds |
/effect @s clear | Removes all effects |
/enchant @s sharpness 5 | Enchants held item |
See crossplay in action: Astroworld MC, IP play.astroworldmc.com, Java + Bedrock.
Server Administration
| Command | Description |
|---|---|
stop | Saves and shuts down the server (console only) |
/say message | Broadcasts a message to all players |
/tell PlayerName message | Sends a private message |
/title @a title {"text":"Welcome"} | Shows a large title on all players' screens |
/scoreboard objectives add score dummy | Creates a scoreboard objective |
/list | Shows online players |
Bedrock vs Java Command Differences
Many bedrock server commands look identical to Java, but there are key differences:
- Bedrock does not support NBT data in commands. You cannot add custom NBT tags to items via
/give. - The
/executesyntax on Bedrock follows the newer format (same as Java 1.19.4+). - Some Java commands (
/data,/attribute,/bossbar) do not exist on Bedrock. - Bedrock uses
allowlistinstead ofwhitelistin BDS console.
For a broader comparison of the editions, see our Java vs Bedrock guide.