1. Wiki
  2. /Commands
  3. /All commands

All commands

All 84 commands of Minecraft Bedrock 1.26.50.4. Commands marked CHEATS only run in worlds with cheats on (or from command blocks and functions).

84 / 84

Command
/aimassistTurns aim assist on or off for players, with optional angles, range and target mode.CHEATS/allowlistAdds, removes or lists the players who are allowed to join a server.CHEATS/cameraTakes control of a player's camera: move it, point it, fade the screen or return to normal view. Great for cutscenes.CHEATS/camerashakeShakes a player's camera for a set time and strength, or stops the shaking. Use it for explosions or earthquakes.CHEATS/changesettingChanges a setting on a running dedicated server, like the allowed cheats or difficulty.CHEATS/clearRemoves items from a player's inventory, either everything or only a chosen item and amount.CHEATS/clearspawnpointRemoves a player's personal spawn point so they go back to the world spawn.CHEATS/cloneCopies a box of blocks from one place to another, with options to skip air or move the blocks instead of copying.CHEATS/controlschemeSets or resets how a player's movement controls work.CHEATS/damageHurts entities by an amount, with an optional cause and attacker.CHEATS/daylockStops or restarts the day and night cycle. Handy for always-day building worlds.CHEATS/deopTakes away a player's operator (admin) powers./dialogueOpens an NPC's dialogue for a player, or switches which dialogue scene an NPC shows.CHEATS/difficultySets the world difficulty: peaceful, easy, normal or hard.CHEATS/editor-allowlistManages which players may use the editor mode.CHEATS/effectGives entities a status effect like Speed for a number of seconds, or clears their effects.CHEATS/enchantAdds an enchantment to the item a player is holding.CHEATS/eventRuns an event from an entity's behavior file, for example to switch its component groups.CHEATS/executeRuns another command as or at other entities, and only when conditions you set are true. It is the most powerful command for logic.CHEATS/fillFills a box between two corners with one block, with options to hollow it, outline it or only replace certain blocks.CHEATS/fogAdds or removes fog settings for players, so you can change how foggy their view is.CHEATS/functionRuns all commands from a .mcfunction file in your behavior pack.CHEATS/gamemodeChanges a player's game mode, like survival, creative, adventure or spectator.CHEATS/gameruleShows or changes a world rule, like keepInventory or doDaylightCycle./gametestRuns and manages GameTest automated tests.CHEATS/givePuts an item into a player's inventory, with an optional amount and extra data.CHEATS/helpLists commands or shows how to use a command./hudHides or shows parts of a player's on-screen display, like the hotbar or health.CHEATS/inputpermissionTurns player controls on or off, like moving or turning the camera, or checks their state.CHEATS/kickRemoves a player from the game, with an optional reason./killInstantly kills the chosen entities. With no target it kills you.CHEATS/listShows the players who are online./locateFinds the nearest structure, biome or point of interest and shows its coordinates.CHEATS/lootDrops items from a loot table, a mob's drops or a block's drops into the world or an inventory.CHEATS/mePosts a chat message about yourself, like '* Steve waves'./mobeventTurns special mob events on or off, like pillager patrols or wandering traders.CHEATS/musicPlays, queues or stops music tracks for players, with volume and fade options.CHEATS/opGives a player operator (admin) powers so they can use commands./packstackPrints the list of loaded packs (client or server) to the chat, useful for checking load order./particleSpawns a particle effect at a position.CHEATS/permissionReloads permission settings or sets a player's permission level./placePlaces a structure, jigsaw pool, feature or feature rule into the world.CHEATS/playanimationMakes entities play an animation once, without changing their animation controllers.CHEATS/playsoundPlays a sound for players, with optional position, volume and pitch.CHEATS/projectWorks with the currently loaded project, for example to export it./recipeUnlocks or locks recipes in a player's recipe book.CHEATS/reloadReloads function and script files from behavior packs; add 'all' to reload the whole world and its packs.CHEATS/reloadconfigReloads the server's config files, like variables, secrets and permissions.CHEATS/reloadpacketlimitconfigReloads the server's packet limit settings from file.CHEATS/replaceitemPuts an item into a specific slot of a block or entity inventory, like a chest slot or armor slot.CHEATS/rideMakes entities ride other entities, makes them get off, or summons a rider or mount.CHEATS/savePauses or resumes world saving, or checks if it is done, so you can safely back up the world.CHEATS/sayPosts a message to everyone in the chat, showing who sent it./scheduleRuns a function later: after some time, or once an area is loaded.CHEATS/scoreboardCreates objectives and changes scores, the main way to store numbers like points or timers.CHEATS/scriptConnects or disconnects the script debugger, and other script tools.CHEATS/scripteventSends an event with an ID and message that your scripts can listen for.CHEATS/sendshowstoreofferAsks a player's game to open a store offer page.CHEATS/serveridentitySaves, deletes or checks the server's identity key./setblockPlaces one block at a position, with options to keep or destroy what is there.CHEATS/setmaxplayersSets how many players can join this game.CHEATS/setworldspawnSets where new players and players without a bed spawn.CHEATS/spawnpointSets where a player respawns.CHEATS/spreadplayersMoves entities to random spots in an area, spaced apart from each other.CHEATS/stopShuts down the server.CHEATS/stopsoundStops a sound, or all sounds, for a player.CHEATS/structureSaves a box of blocks as a structure, loads it somewhere else, or deletes it.CHEATS/summonSpawns an entity at a position, with optional rotation, spawn event and name.CHEATS/tagAdds, removes or lists text tags on entities, which you can use in selectors like @e[tag=boss].CHEATS/teleportMoves entities to a position or another entity, with optional facing direction.CHEATS/tellSends a private message to players./tellrawSends a chat message written in JSON, which can show scores, names and translated text./testforChecks if entities matching a selector exist and counts them.CHEATS/testforblockChecks if a certain block is at a position.CHEATS/testforblocksChecks if two areas of blocks are the same.CHEATS/tickingareaAdds, removes or lists areas that keep running even when no player is near.CHEATS/timeSets, adds to or shows the world's time of day.CHEATS/titleShows big text in the middle of a player's screen, a subtitle or action bar text, or clears it.CHEATS/titlerawLike /title, but the text is written in JSON so it can show scores and names.CHEATS/toggledownfallSwitches the weather between rain and clear.CHEATS/transferSends a player to another server by address and port.CHEATS/weatherSets the weather to clear, rain or thunder, or shows the current weather.CHEATS/wsserverConnects the game to a websocket server at the given address.CHEATS/xpGives or takes experience points or levels from a player.CHEATS

Commands: Commands

We use cookies to improve your experience and analyse site traffic. Learn more