Minecraft Commands
Complete reference for 158 Minecraft commands. Click any command for full syntax, parameter descriptions, examples, and FAQs.
/abilityPlayers
Grant or revoke a player ability (Bedrock).
/ability <player> [ability] [value]
BedrockEducationCheats
/advancementPlayers
Grant, revoke, or check player advancements.
/advancement <grant|revoke> <targets> <everything|only|from|through|until> [<advancement>] [<criterion>]
JavaCheats
/agentGameplay
Control the Code Builder agent (Education Edition).
/agent <move|turn|attack|destroy|collect|place|detect|…> …
EducationAll players
/aimassistPlayers
Modify a player's aim-assist settings (Bedrock).
/aimassist set|clear …
BedrockCheats
/attributeEntities
Query, set, or modify an entity's attributes.
/attribute <target> <attribute> <get|base|modifier> …
JavaBedrockCheats
/banModeration
Ban a player by name.
/ban <targets> [<reason>]
JavaServer admin
/ban-ipModeration
Ban an IP address from the server.
/ban-ip <target> [<reason>]
JavaServer admin
/banlistModeration
Display the server's banned players or IPs.
/banlist [players|ips]
JavaServer admin
/bossbarGameplay
Create and control custom boss bars.
/bossbar <add|get|list|remove|set> …
JavaCheats
/cameraGameplay
Control cinematic camera perspectives (Bedrock).
/camera <players> <clear|fade …|set <preset> …>
BedrockEducationCheats
/camerashakeGameplay
Shake a player's camera (Bedrock).
/camerashake <add|stop> <player> [<intensity>] [<seconds>] [positional|rotational]
BedrockEducationCheats
/changesettingModeration
Change a dedicated-server setting at runtime (Bedrock).
/changesetting <setting> <value>
BedrockServer admin
/chaseDatapack
Sync camera/movement between clients (debug).
/chase <follow|lead|stop> …
JavaServer owner
/classroommodeGameplay
Classroom Mode support command (Education Edition).
/classroommode …
EducationCheats
/clearItems
Remove items from a player's inventory.
/clear [<targets>] [<item>] [<count>]
JavaBedrockCheats
/clearspawnpointPlayers
Remove a player's personal spawn point (Bedrock).
/clearspawnpoint [<player>]
BedrockEducationCheats
/cloneWorld
Copy a region of blocks to another location.
/clone <from1> <from2> <to>
JavaBedrockCheats
/closechatGameplay
Close the local player's chat window (Bedrock).
/closechat
BedrockEducationAll players
/closewebsocketGameplay
Close the active WebSocket connection (Bedrock).
/closewebsocket
BedrockEducationCheats
/codeGameplay
Launch Code Builder (Education Edition).
/code
EducationAll players
/codebuilderGameplay
Set Code Builder state for a player (Education Edition).
/codebuilder <enable|disable|scoreboard> …
EducationCheats
/codebuilder_actorinfoGameplay
Internal Code Builder actor info command (Bedrock).
/codebuilder_actorinfo …
BedrockCheats
/controlschemePlayers
Switch a player's control scheme (Bedrock).
/controlscheme set <player> <scheme>
BedrockCheats
/damageEntities
Apply damage to entities.
/damage <target> <amount> [<damageType>] [at <pos> | by <entity> [from <cause>]]
JavaBedrockCheats
/dataGameplay
Get, merge, modify, or remove NBT data on blocks, entities, or storage.
/data <get|merge|modify|remove> <block|entity|storage> <target> [<path>]
JavaBedrockCheats
/datapackDatapack
Manage installed datapacks.
/datapack <enable|disable|list> [<name>]
JavaCheats
/daylockWorld
alias: /alwaysday
Lock or unlock the day-night cycle (Bedrock).
/daylock [lock]
BedrockEducationCheats
/debugDatapack
Start or stop a profiling/debug session.
/debug <start|stop|function> …
JavaServer admin
/debugconfigDatapack
Toggle debugging configuration options (debug).
/debugconfig <action> …
JavaServer admin
/debugmobspawningGameplay
Display mob-spawning debug information (debug).
/debugmobspawning …
JavaServer admin
/debugpathGameplay
Visualize an entity's calculated pathfinding (debug).
/debugpath …
JavaCheats
/dedicatedwsserverGameplay
Connect a dedicated server to a WebSocket server (Bedrock).
/dedicatedwsserver <serverUri>
BedrockCheats
/defaultgamemodePlayers
Set the default game mode for new players.
/defaultgamemode <survival|creative|adventure|spectator>
JavaCheats
/deopModeration
Revoke operator status.
/deop <targets>
JavaBedrockServer admin
/dialogGameplay
Show a custom dialog screen to players.
/dialog <show|clear> <targets> [<dialog>]
JavaCheats
/dialogueGameplay
Open or change NPC dialogue for players (Bedrock).
/dialogue <open|change> <npc> <player> [<sceneName>]
BedrockEducationCheats
/difficultyWorld
Set or query the world's difficulty level.
/difficulty [peaceful|easy|normal|hard]
JavaBedrockCheats
/effectPlayers
Apply or remove status effects.
/effect give <targets> <effect> [<seconds>] [<amplifier>] [<hideParticles>]
JavaBedrockCheats
/enableencryptionGameplay
Enable encryption on the WebSocket connection (Bedrock).
/enableencryption
BedrockEducationCheats
/enchantItems
Enchant the held item.
/enchant <targets> <enchantment> [<level>]
JavaBedrockCheats
/eventEntities
Trigger a behavior event on an entity (Bedrock).
/event entity <target> <eventName>
BedrockEducationCheats
/executeGameplay
Modify command context and run a chained command.
/execute <subcommand> [<subcommand>...] run <command>
JavaBedrockCheats
/fetchprofilePlayers
Fetch a player profile from Mojang's servers.
/fetchprofile <name|id> <profile>
JavaServer admin
/fillWorld
Fill a region with a block.
/fill <from> <to> <block> [destroy|hollow|keep|outline|replace] [<replaceFilter>]
JavaBedrockCheats
/fillbiomeWorld
Replace the biome in a region.
/fillbiome <from> <to> <biome> [replace <filter>]
JavaCheats
/fogGameplay
Push, pop, or remove fog settings for players (Bedrock).
/fog <victim> <push <fogId> <userId>|pop <userId>|remove <userId>>
BedrockEducationCheats
/forceloadWorld
Keep chunks permanently loaded.
/forceload <add|remove|query> [<from>] [<to>]
JavaCheats
/functionDatapack
Run a datapack function file.
/function <name>
JavaBedrockCheats
/gamemodePlayers
Change a player's game mode.
/gamemode <mode> [<targets>]
JavaBedrockCheats
/gameruleWorld
Read or change a game rule.
/gamerule <rule> [<value>]
JavaBedrockCheats
/gametestDatapack
Run GameTest framework tests (Bedrock).
/gametest <run|runset|runthis|clearall|pos|create> …
BedrockCheats
/gametipsGameplay
Enable or disable on-screen game tips (Bedrock).
/gametips <enable|disable> [<player>]
BedrockCheats
/getchunkdataWorld
Get raw data for a chunk (Bedrock, debug).
/getchunkdata <dimension> <chunkPos> <height>
BedrockEducationCheats
/getchunksWorld
List loaded chunks (Bedrock, debug).
/getchunks [dimension]
BedrockEducationCheats
/geteduclientinfoGameplay
Show client info (Education Edition, debug).
/geteduclientinfo
EducationCheats
/geteduserverinfoModeration
Show server info (Bedrock, debug).
/geteduserverinfo
BedrockCheats
/getlocalplayernamePlayers
Show the local player's name (Bedrock).
/getlocalplayername
BedrockEducationCheats
/getspawnpointPlayers
Get a player's spawn position (Bedrock).
/getspawnpoint <player>
BedrockEducationCheats
/gettopsolidblockWorld
Get the topmost solid block at a position (Bedrock).
/gettopsolidblock <position>
BedrockEducationCheats
/giveItems
Give items to a player.
/give <targets> <item>[<components>] [<count>]
JavaBedrockCheats
/globalpauseGameplay
Get or set the global paused state (Bedrock).
/globalpause <value>
BedrockEducationCheats
/helpGameplay
alias: /?
List available commands.
/help [<command>]
JavaBedrockAll players
/hudGameplay
Hide or show HUD elements for players (Bedrock).
/hud <players> <hide|reset|hide_all_but> [hud_element]
BedrockEducationCheats
/immutableworldWorld
Toggle whether the world is immutable (Bedrock).
/immutableworld [<value>]
BedrockEducationCheats
/inputpermissionPlayers
Enable or disable a player's movement/camera input (Bedrock).
/inputpermission set <player> <movement|camera> <enabled|disabled>
BedrockEducationCheats
/itemItems
Replace or modify items in inventory slots.
/item <replace|modify> <block|entity> <target> <slot> …
JavaBedrockCheats
/jfrDatapack
Start or stop a Java Flight Recorder profiling session.
/jfr <start|stop>
JavaServer owner
/kickModeration
Disconnect a player from the server.
/kick <targets> [<reason>]
JavaBedrockServer admin
/killEntities
Kill entities (deal infinite damage).
/kill [<targets>]
JavaBedrockCheats
/lessonGameplay
Report educational lesson progress (Education Edition).
/lesson …
EducationCheats
/listGameplay
List currently-online players.
/list [uuids]
JavaBedrockAll players
/listdModeration
List detailed info about online players (Bedrock).
/listd
BedrockEducationCheats
/locateWorld
Find the nearest structure or biome.
/locate <structure|biome|poi> <id>
JavaBedrockCheats
/lootItems
Generate loot from a loot table and place it somewhere.
/loot <give|insert|spawn|replace> <target> <loot|kill|mine|fish>
JavaBedrockCheats
/mePlayers
Broadcast an action message about yourself.
/me <action>
JavaBedrockAll players
/mobeventWorld
Enable or disable world mob events (Bedrock).
/mobevent <event> [value]
BedrockEducationCheats
/msgPlayers
alias: /tell, /w
Send a private message to a player.
/msg <targets> <message>
JavaBedrockAll players
/musicGameplay
Play, queue, or stop background music tracks (Bedrock).
/music <play|queue|stop|volume> …
BedrockEducationCheats
/opModeration
Grant operator status.
/op <targets>
JavaBedrockServer admin
/opsModeration
Reload and apply operator permissions (Bedrock server).
/ops reload …
BedrockServer admin
/pardonModeration
Remove a player from the banlist.
/pardon <targets>
JavaServer admin
/pardon-ipModeration
Remove an IP address from the banlist.
/pardon-ip <target>
JavaServer admin
/particleWorld
Spawn particles at a location.
/particle <name> [<pos>] [<dx> <dy> <dz>] [<speed>] [<count>] [force|normal] [<viewers>]
JavaBedrockCheats
/perfDatapack
Capture server performance metrics.
/perf <start|stop>
JavaServer owner
/permissionModeration
Reload and apply permissions (Bedrock server).
/permission reload …
BedrockServer admin
/placeWorld
Place a feature, structure, jigsaw, or template.
/place <feature|jigsaw|structure|template> <id> [<pos>] …
JavaBedrockCheats
/playanimationEntities
Play a one-off animation on an entity (Bedrock).
/playanimation <target> <animation> [next_state] [blend_time] [stop_expression] [controller]
BedrockEducationCheats
/playsoundGameplay
Play a sound effect for players.
/playsound <sound> <source> <targets> [<pos>] [<volume>] [<pitch>] [<minVolume>]
JavaBedrockCheats
/projectDatapack
Tools for managing Editor projects (Bedrock).
/project …
BedrockCheats
/publishModeration
Open a single-player world to the local network (LAN).
/publish [<allowCommands>] [<gamemode>] [<port>]
JavaServer owner
/querytargetEntities
Get transform, name, and ID info about entities (Bedrock).
/querytarget <target>
BedrockEducationCheats
/raidEntities
Start, stop, or inspect a raid (debug).
/raid <start|stop|check|sound|spawnleader|glow|setomen> …
JavaServer admin
/randomGameplay
Roll a random value or seed a random sequence.
/random <value|roll|reset> <range> [<sequence>]
JavaCheats
/recipeItems
Give or take crafting recipes from players.
/recipe <give|take> <targets> <recipe|*>
JavaBedrockCheats
/reloadDatapack
Reload datapacks, loot tables, advancements, and functions.
/reload
JavaBedrockCheats
/reloadconfigModeration
Reload server config files (Bedrock).
/reloadconfig
BedrockServer admin
/reloadpacketlimitconfigModeration
Reload the packet-limit config (Bedrock).
/reloadpacketlimitconfig
BedrockServer admin
/removeEntities
Remove the Code Builder agent (Bedrock/Education).
/remove agent
BedrockEducationCheats
/replaceitemItems
Replace items in a block or entity slot (Bedrock).
/replaceitem <block <pos>|entity <target>> <slot> <slotId> <item> [amount] [data]
BedrockEducationCheats
/returnDatapack
Return a value early from a function.
/return <value> | /return run <command>
JavaCheats
/rideEntities
Make an entity start or stop riding another.
/ride <target> <mount|dismount> [<vehicle>]
JavaBedrockCheats
/rotateEntities
Rotate an entity to face a direction or target.
/rotate <target> <rotation> | /rotate <target> facing <entity|pos>
JavaCheats
/saveModeration
Prepare, query, or resume a server backup (Bedrock).
/save <hold|query|resume>
BedrockServer owner
/save-allModeration
Save the server worlds to disk.
/save-all [flush]
JavaServer owner
/save-offModeration
Disable automatic world saving.
/save-off
JavaServer owner
/save-onModeration
Re-enable automatic world saving.
/save-on
JavaServer owner
/sayPlayers
Broadcast a message as the executor.
/say <message>
JavaBedrockCheats
/scheduleDatapack
Delay running a function until later.
/schedule function <function> <time> [append|replace]
JavaBedrockCheats
/scoreboardGameplay
Manage scoreboard objectives and player scores.
/scoreboard <objectives|players> <action> ...
JavaBedrockCheats
/scriptDatapack
Debug options for the GameTest script framework (Bedrock).
/script <debugger|profiler|watchdog> …
BedrockEducationCheats
/scripteventGameplay
Send a message to scripts via an event ID (Bedrock).
/scriptevent <messageId> <message>
BedrockEducationCheats
/seedWorld
Display the world seed.
/seed
JavaCheats
/sendshowstoreofferGameplay
Prompt players with a Marketplace store offer (Bedrock).
/sendshowstoreoffer <player> <offerId>
BedrockCheats
/serverpackModeration
Configure the server resource pack (debug).
/serverpack <push|remove|set> …
JavaServer owner
/set_movement_authorityModeration
Set whether the client or server validates movement (Bedrock).
/set_movement_authority <client|server>
BedrockCheats
/setblockWorld
Place a single block.
/setblock <pos> <block> [destroy|keep|replace]
JavaBedrockCheats
/setidletimeoutModeration
Set how long before idle players are kicked.
/setidletimeout <minutes>
JavaServer admin
/setmaxplayersModeration
Set the maximum number of players (Bedrock).
/setmaxplayers <maxPlayers>
BedrockEducationServer admin
/setworldspawnWorld
Set the world's global spawn point.
/setworldspawn [<pos>] [<angle>]
JavaBedrockCheats
/spawn_armor_trimsItems
Spawn armor stands wearing every trim combination (debug).
/spawn_armor_trims
JavaCheats
/spawnitemItems
Spawn an item entity at a position (Education Edition).
/spawnitem <item> [<spawnPos>]
EducationCheats
/spawnpointPlayers
Set a player's personal spawn point.
/spawnpoint [<targets>] [<pos>]
JavaBedrockCheats
/spectatePlayers
Make a spectator follow an entity's view.
/spectate [<target>] [<player>]
JavaCheats
/spreadplayersPlayers
Teleport entities to random spread-out locations.
/spreadplayers <x> <z> <spreadDistance> <maxRange> <respectTeams> <targets>
JavaBedrockCheats
/stopModeration
Save and shut down the server.
/stop
JavaBedrockServer owner
/stopsoundGameplay
Stop a sound that is currently playing.
/stopsound <targets> [<source>] [<sound>]
JavaBedrockCheats
/stopwatchGameplay
Create and control real-time stopwatches.
/stopwatch <start|stop|pause|resume|query|list> [<name>]
JavaCheats
/structureWorld
Save and load structures without structure blocks (Bedrock).
/structure <save|load|delete> …
BedrockEducationCheats
/summonEntities
Spawn an entity at a position.
/summon <entity> [<x> <y> <z>] [<nbt>]
JavaBedrockCheats
/swingEntities
Make an entity swing its hand.
/swing [<target>] [mainhand|offhand]
JavaCheats
/tagEntities
Add, remove, or list custom tags on entities.
/tag <targets> <add|remove|list> [<name>]
JavaBedrockCheats
/takepictureGameplay
Take an in-game photo (Education Edition).
/takepicture <fileName> [<player>] …
EducationCheats
/teamEntities
Create and manage scoreboard teams.
/team <add|empty|join|leave|list|modify|remove> …
JavaBedrockCheats
/teammsgPlayers
alias: /tm
Send a message to your team's chat.
/teammsg <message>
JavaBedrockAll players
/teleportPlayers
alias: /tp
Teleport an entity to coordinates or another entity.
/teleport <targets> <x> <y> <z> [<yaw>] [<pitch>]
JavaBedrockCheats
/tellrawPlayers
Send formatted JSON text to players.
/tellraw <targets> <component>
JavaBedrockCheats
/testDatapack
Run and manage GameTests (Java).
/test <run|runmultiple|runclosest|runfailed|create|clearall|locate|pos|stop|verify> …
JavaCheats
/testforEntities
Count entities matching a selector (Bedrock).
/testfor <victim>
BedrockEducationCheats
/testforblockWorld
Test whether a block is at a position (Bedrock).
/testforblock <position> <block> [dataValue]
BedrockEducationCheats
/testforblocksWorld
Test whether two regions of blocks match (Bedrock).
/testforblocks <begin> <end> <destination> [all|masked]
BedrockEducationCheats
/tickGameplay
Control the game's tick rate — freeze, step, or speed up time.
/tick <query|rate|freeze|unfreeze|step|sprint> …
JavaServer admin
/tickingareaWorld
Add, remove, or list always-loaded ticking areas (Bedrock).
/tickingarea <add|remove|remove_all|list|preload> …
BedrockEducationCheats
/timeWorld
Set or query the world time.
/time set <value|day|night|noon|midnight|sunrise|sunset>
JavaBedrockCheats
/titlePlayers
Show titles and subtitles on a player's screen.
/title <targets> <title|subtitle|actionbar|times|clear|reset> [<args>]
JavaBedrockCheats
/titlerawGameplay
Show JSON titles, subtitles, and action bars (Bedrock).
/titleraw <player> <title|subtitle|actionbar> <rawJson>
BedrockEducationCheats
/toggledownfallWorld
Toggle rain/snow on or off (Bedrock).
/toggledownfall
BedrockEducationCheats
/transferPlayers
Move a player to another server.
/transfer <hostname> [<port>] [<players>]
JavaBedrockCheats
/triggerPlayers
Activate a scoreboard trigger (usable by non-ops).
/trigger <objective> [add|set <value>]
JavaAll players
/unpublishModeration
Close a world that was opened to LAN.
/unpublish
JavaServer owner
/versionModeration
Show the server's game version.
/version
JavaServer owner
/warden_spawn_trackerGameplay
Set or clear your warden warning level (debug).
/warden_spawn_tracker <warning|set <level>|clear>
JavaCheats
/waypointGameplay
Manage waypoints shown on the locator bar.
/waypoint <list|modify> …
JavaCheats
/weatherWorld
Set the weather.
/weather <clear|rain|thunder> [<seconds>]
JavaBedrockCheats
/whitelistModeration
alias: /allowlist
Manage the server allow/whitelist.
/whitelist <add|list|off|on|reload|remove> [<targets>]
JavaBedrockServer admin
/worldborderWorld
Set and manage the world border.
/worldborder <add|center|damage|get|set|warning> …
JavaCheats
/worldbuilderPlayers
alias: /wb
Grant yourself the ability to edit restricted blocks (Bedrock).
/worldbuilder
BedrockEducationCheats
/wsserverGameplay
alias: /connect
Connect to a WebSocket server (Bedrock).
/wsserver <serverUri>
BedrockEducationCheats
/xpPlayers
alias: /experience
Give or query experience.
/xp add <targets> <amount> [points|levels]
JavaBedrockCheats
| Command | Description | Category | Editions | Permission |
|---|---|---|---|---|
| /ability | Players | BedrockEducation | ||
| /advancement | Players | Java | ||
| /agent | Gameplay | Education | ||
| /aimassist | Players | Bedrock | ||
| /attribute | Entities | JavaBedrock | ||
| /ban | Moderation | Java | ||
| /ban-ip | Moderation | Java | ||
| /banlist | Moderation | Java | ||
| /bossbar | Gameplay | Java | ||
| /camera | Gameplay | BedrockEducation | ||
| /camerashake | Gameplay | BedrockEducation | ||
| /changesetting | Moderation | Bedrock | ||
| /chase | Datapack | Java | ||
| /classroommode | Gameplay | Education | ||
| /clear | Items | JavaBedrock | ||
| /clearspawnpoint | Players | BedrockEducation | ||
| /clone | World | JavaBedrock | ||
| /closechat | Gameplay | BedrockEducation | ||
| /closewebsocket | Gameplay | BedrockEducation | ||
| /code | Gameplay | Education | ||
| /codebuilder | Gameplay | Education | ||
| /codebuilder_actorinfo | Gameplay | Bedrock | ||
| /controlscheme | Players | Bedrock | ||
| /damage | Entities | JavaBedrock | ||
| /data | Gameplay | JavaBedrock | ||
| /datapack | Datapack | Java | ||
| /daylock alias: /alwaysday | World | BedrockEducation | ||
| /debug | Datapack | Java | ||
| /debugconfig | Datapack | Java | ||
| /debugmobspawning | Gameplay | Java | ||
| /debugpath | Gameplay | Java | ||
| /dedicatedwsserver | Gameplay | Bedrock | ||
| /defaultgamemode | Players | Java | ||
| /deop | Moderation | JavaBedrock | ||
| /dialog | Gameplay | Java | ||
| /dialogue | Gameplay | BedrockEducation | ||
| /difficulty | World | JavaBedrock | ||
| /effect | Players | JavaBedrock | ||
| /enableencryption | Gameplay | BedrockEducation | ||
| /enchant | Items | JavaBedrock | ||
| /event | Entities | BedrockEducation | ||
| /execute | Gameplay | JavaBedrock | ||
| /fetchprofile | Players | Java | ||
| /fill | World | JavaBedrock | ||
| /fillbiome | World | Java | ||
| /fog | Gameplay | BedrockEducation | ||
| /forceload | World | Java | ||
| /function | Datapack | JavaBedrock | ||
| /gamemode | Players | JavaBedrock | ||
| /gamerule | World | JavaBedrock | ||
| /gametest | Datapack | Bedrock | ||
| /gametips | Gameplay | Bedrock | ||
| /getchunkdata | World | BedrockEducation | ||
| /getchunks | World | BedrockEducation | ||
| /geteduclientinfo | Gameplay | Education | ||
| /geteduserverinfo | Moderation | Bedrock | ||
| /getlocalplayername | Players | BedrockEducation | ||
| /getspawnpoint | Players | BedrockEducation | ||
| /gettopsolidblock | World | BedrockEducation | ||
| /give | Items | JavaBedrock | ||
| /globalpause | Gameplay | BedrockEducation | ||
| /help alias: /? | Gameplay | JavaBedrock | ||
| /hud | Gameplay | BedrockEducation | ||
| /immutableworld | World | BedrockEducation | ||
| /inputpermission | Players | BedrockEducation | ||
| /item | Items | JavaBedrock | ||
| /jfr | Datapack | Java | ||
| /kick | Moderation | JavaBedrock | ||
| /kill | Entities | JavaBedrock | ||
| /lesson | Gameplay | Education | ||
| /list | Gameplay | JavaBedrock | ||
| /listd | Moderation | BedrockEducation | ||
| /locate | World | JavaBedrock | ||
| /loot | Items | JavaBedrock | ||
| /me | Players | JavaBedrock | ||
| /mobevent | World | BedrockEducation | ||
| /msg alias: /tell, /w | Players | JavaBedrock | ||
| /music | Gameplay | BedrockEducation | ||
| /op | Moderation | JavaBedrock | ||
| /ops | Moderation | Bedrock | ||
| /pardon | Moderation | Java | ||
| /pardon-ip | Moderation | Java | ||
| /particle | World | JavaBedrock | ||
| /perf | Datapack | Java | ||
| /permission | Moderation | Bedrock | ||
| /place | World | JavaBedrock | ||
| /playanimation | Entities | BedrockEducation | ||
| /playsound | Gameplay | JavaBedrock | ||
| /project | Datapack | Bedrock | ||
| /publish | Moderation | Java | ||
| /querytarget | Entities | BedrockEducation | ||
| /raid | Entities | Java | ||
| /random | Gameplay | Java | ||
| /recipe | Items | JavaBedrock | ||
| /reload | Datapack | JavaBedrock | ||
| /reloadconfig | Moderation | Bedrock | ||
| /reloadpacketlimitconfig | Moderation | Bedrock | ||
| /remove | Entities | BedrockEducation | ||
| /replaceitem | Items | BedrockEducation | ||
| /return | Datapack | Java | ||
| /ride | Entities | JavaBedrock | ||
| /rotate | Entities | Java | ||
| /save | Moderation | Bedrock | ||
| /save-all | Moderation | Java | ||
| /save-off | Moderation | Java | ||
| /save-on | Moderation | Java | ||
| /say | Players | JavaBedrock | ||
| /schedule | Datapack | JavaBedrock | ||
| /scoreboard | Gameplay | JavaBedrock | ||
| /script | Datapack | BedrockEducation | ||
| /scriptevent | Gameplay | BedrockEducation | ||
| /seed | World | Java | ||
| /sendshowstoreoffer | Gameplay | Bedrock | ||
| /serverpack | Moderation | Java | ||
| /set_movement_authority | Moderation | Bedrock | ||
| /setblock | World | JavaBedrock | ||
| /setidletimeout | Moderation | Java | ||
| /setmaxplayers | Moderation | BedrockEducation | ||
| /setworldspawn | World | JavaBedrock | ||
| /spawn_armor_trims | Items | Java | ||
| /spawnitem | Items | Education | ||
| /spawnpoint | Players | JavaBedrock | ||
| /spectate | Players | Java | ||
| /spreadplayers | Players | JavaBedrock | ||
| /stop | Moderation | JavaBedrock | ||
| /stopsound | Gameplay | JavaBedrock | ||
| /stopwatch | Gameplay | Java | ||
| /structure | World | BedrockEducation | ||
| /summon | Entities | JavaBedrock | ||
| /swing | Entities | Java | ||
| /tag | Entities | JavaBedrock | ||
| /takepicture | Gameplay | Education | ||
| /team | Entities | JavaBedrock | ||
| /teammsg alias: /tm | Players | JavaBedrock | ||
| /teleport alias: /tp | Players | JavaBedrock | ||
| /tellraw | Players | JavaBedrock | ||
| /test | Datapack | Java | ||
| /testfor | Entities | BedrockEducation | ||
| /testforblock | World | BedrockEducation | ||
| /testforblocks | World | BedrockEducation | ||
| /tick | Gameplay | Java | ||
| /tickingarea | World | BedrockEducation | ||
| /time | World | JavaBedrock | ||
| /title | Players | JavaBedrock | ||
| /titleraw | Gameplay | BedrockEducation | ||
| /toggledownfall | World | BedrockEducation | ||
| /transfer | Players | JavaBedrock | ||
| /trigger | Players | Java | ||
| /unpublish | Moderation | Java | ||
| /version | Moderation | Java | ||
| /warden_spawn_tracker | Gameplay | Java | ||
| /waypoint | Gameplay | Java | ||
| /weather | World | JavaBedrock | ||
| /whitelist alias: /allowlist | Moderation | JavaBedrock | ||
| /worldborder | World | Java | ||
| /worldbuilder alias: /wb | Players | BedrockEducation | ||
| /wsserver alias: /connect | Gameplay | BedrockEducation | ||
| /xp alias: /experience | Players | JavaBedrock |
How to use commands in Minecraft
- Enable cheats. In single-player, "Allow Cheats" in world settings. On servers, you need operator (op) status — see /op.
- Open chat with
T(or/to pre-fill the slash) and type the command. - Use selectors like
@p(nearest player),@a(all players),@e(every entity),@s(executor) to target who the command affects. - Run from command blocks for in-world automation — place a command block (see command_block), open it, paste the command, and trigger it with redstone.
