Skip to main content
← All Guides
Bedrock · 5 min read

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

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.

Related Tools & Resources

🔧

Minecraft Tools

Calculators, generators & server tools

🧱

Item Database

Browse all Minecraft items, stats & recipes

⚒️

Crafting Recipes

Visual crafting guides for every recipe