Skip to main content
Bedrock

Bedrock Server Commands Quick Reference

Quick reference for all important Bedrock server commands covering player management, world control, teleportation, game rules and operator tools.

5 min read10 sectionsJava & Bedrock1.21

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

CommandDescription
/kick PlayerName reasonRemoves a player from the server with an optional message
/ban PlayerNameBans a player permanently (BDS stores this in banned-players.json)
/ban-ip IPBans an IP address (not available on all server software)
/pardon PlayerNameRemoves a ban
/op PlayerNameGrants operator status
/deop PlayerNameRemoves operator status
allowlist add PlayerNameAdds a player to the whitelist (console only)
allowlist remove PlayerNameRemoves a player from the whitelist (console only)

For full whitelist management details, see our whitelist guide.

Teleportation

CommandDescription
/tp PlayerName x y zTeleports a player to specific coordinates
/tp PlayerA PlayerBTeleports PlayerA to PlayerB's location
/tp @a x y zTeleports all players to coordinates
/spawnpoint PlayerName x y zSets a player's spawn point
/setworldspawn x y zSets 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:

RuleDefaultDescription
keepInventoryfalsePlayers keep items on death
mobGriefingtrueMobs can destroy blocks (creepers, endermen)
doDaylightCycletrueTime progresses naturally
doWeatherCycletrueWeather changes randomly
doMobSpawningtrueMobs spawn naturally
pvptruePlayers can damage each other
commandBlockOutputtrueCommand blocks show output in chat
doFireTicktrueFire spreads and burns blocks
showCoordinatesfalsePlayers see their XYZ position on screen
playersSleepingPercentage100Percentage of players needed to skip night

Example: /gamerule keepInventory true

Items and Inventory

CommandDescription
/give PlayerName item amountGives items (e.g., /give @s diamond 64)
/clear PlayerName itemRemoves specific items from inventory
/clear PlayerNameClears all items from a player
/replaceitem entity @s slot.hotbar 0 diamond_swordPuts an item in a specific slot

World Control

CommandDescription
/time set daySets time to day (also: night, noon, midnight, or a tick number)
/weather clearSets clear weather (also: rain, thunder)
/fill x1 y1 z1 x2 y2 z2 blockFills a region with a block type
/setblock x y z blockPlaces a single block at coordinates
/clone x1 y1 z1 x2 y2 z2 dest_x dest_y dest_zCopies a region of blocks to another location
/difficulty normalChanges difficulty live

Effects and Enchantments

CommandDescription
/effect @s speed 300 2Gives speed II for 300 seconds
/effect @s clearRemoves all effects
/enchant @s sharpness 5Enchants held item

See crossplay in action: Astroworld MC, IP play.astroworldmc.com, Java + Bedrock.

Server Administration

CommandDescription
stopSaves and shuts down the server (console only)
/say messageBroadcasts a message to all players
/tell PlayerName messageSends a private message
/title @a title {"text":"Welcome"}Shows a large title on all players' screens
/scoreboard objectives add score dummyCreates a scoreboard objective
/listShows 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 /execute syntax 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 allowlist instead of whitelist in BDS console.

For a broader comparison of the editions, see our Java vs Bedrock guide.

Questions about Bedrock Server Commands Quick Reference

What does Bedrock Server Commands Quick Reference come down to?

Bedrock server commands are entered either in the server console (without a slash) or in-game chat (with a leading / ).

Which command does Bedrock Server Commands Quick Reference use?

Bedrock server commands are entered either in the server console (without a slash) or in-game chat (with a leading / ). This guide uses /.

What should you avoid while doing Bedrock Server Commands Quick Reference?

Some Java commands ( /data, /attribute, /bossbar ) do not exist on Bedrock.

Which Minecraft version does Bedrock Server Commands Quick Reference apply to?

The /execute syntax on Bedrock follows the newer format (same as Java 1.19.4+).

Bedrock Server Commands Quick Reference: Quick reference for all important Bedrock server commands covering player management, world control, teleportation, game rules and operator tools.
Bedrock Server Commands Quick Reference, from the Bedrock guides on Astroworld.

Blocks and items in this guide

Diamond in MinecraftDiamondTarget in MinecraftTarget

All 2 of these are named in the Bedrock Server Commands Quick Reference guide above, starting with Diamond. Look them up in the item database.

More guides on this site

More Bedrock Guides

Related Tools & Databases