Minecraft Commands List
Every one of the 94 commands in Minecraft Java Edition 26.3, read from the game's own command tree: what each does, its exact syntax and who can run it. 10 work for every player; the other 84 need cheats or operator rights.
All Minecraft commands
Game dataMinecraft Java 26.3 has 94 commands. 10 work for every player; the rest need cheats in singleplayer (Allow Cheats or Open to LAN) or operator rights on a server. Search the list or pick a permission level, then open any command for its full syntax, examples and every argument.
Build a /give command with enchantments in the give command generator →
| Command | What it does | Who can use it |
|---|---|---|
| /advancement | Grants or revokes advancements and their criteria for players. | Cheats / op 2 |
| /attribute | Reads or changes an entity's attributes, such as max health, speed or attack damage, and their modifiers. | Cheats / op 2 |
| /ban | Bans a player from the server. | Op level 3 |
| /ban-ip | Bans an IP address from the server. | Op level 3 |
| /banlist | Lists banned players or IP addresses. | Op level 3 |
| /bossbar | Creates and edits custom boss bars at the top of the screen. | Cheats / op 2 |
| /clear | Removes items from players' inventories. | Cheats / op 2 |
| /clone | Copies blocks from one area to another. | Cheats / op 2 |
| /compute | Evaluates a number provider (a random range or formula) and prints the result. | Cheats / op 2 |
| /damage | Deals damage of a chosen type to entities. | Cheats / op 2 |
| /data | Reads and edits the NBT data of blocks, entities and command storage. | Cheats / op 2 |
| /datapack | Lists, enables and disables data packs. | Cheats / op 2 |
| /debug | Starts or stops a debug profiling session. | Op level 3 |
| /defaultgamemode | Sets the game mode new players join in. | Cheats / op 2 |
| /deop | Removes operator rights from a player. | Op level 3 |
| /dialog | Shows or clears a dialog screen for players. | Cheats / op 2 |
| /difficulty | Shows or changes the world difficulty. | Cheats / op 2 |
| /effect | Gives or clears status effects. | Cheats / op 2 |
| /enchant | Adds an enchantment to the item an entity is holding. | Cheats / op 2 |
| /execute | Runs another command as a different entity, at another position or only when conditions are met. | Cheats / op 2 |
| /experience | Adds, sets or queries players' experience points and levels. | Cheats / op 2 |
| /fetchprofile | Looks up a player profile (skin and name) by name, UUID or entity. | Cheats / op 2 |
| /fill | Fills an area with a block. | Cheats / op 2 |
| /fillbiome | Changes the biome of an area. | Cheats / op 2 |
| /forceload | Keeps chunks loaded even with no player nearby. | Cheats / op 2 |
| /function | Runs a function from a data pack. | Cheats / op 2 |
| /gamemode | Changes a player's game mode (survival, creative, adventure, spectator). | Cheats / op 2 |
| /gamerule | Shows or changes game rules such as minecraft:keep_inventory or minecraft:advance_time. | Cheats / op 2 |
| /give | Gives items to players. | Cheats / op 2 |
| /help | Lists commands or shows the syntax of one. | Everyone |
| /item | Replaces or modifies items in inventory and container slots. | Cheats / op 2 |
| /jfr | Starts or stops Java Flight Recorder profiling. | Op level 4 |
| /kick | Kicks a player off the server. | Op level 3 |
| /kill | Kills entities (yourself by default). | Cheats / op 2 |
| /list | Lists the players online. | Everyone |
| /locate | Finds the nearest structure, biome or point of interest and gives its coordinates. | Cheats / op 2 |
| /loot | Drops or gives the loot of a loot table, a mined block or a killed entity. | Cheats / op 2 |
| /me | Sends an action message in chat ("* Steve waves"). | Everyone |
| /msg | Sends a private message to players. | Everyone |
| /op | Gives a player operator rights. | Op level 3 |
| /pardon | Unbans a player. | Op level 3 |
| /pardon-ip | Unbans an IP address. | Op level 3 |
| /particle | Spawns particles. | Cheats / op 2 |
| /perf | Records performance data for 10 seconds. | Op level 4 |
| /place | Places a feature, jigsaw structure, structure or template. | Cheats / op 2 |
| /playsound | Plays a sound to players. | Cheats / op 2 |
| /posteffect | Adds or clears a post-processing screen effect for players. | Cheats / op 2 |
| /publish | Opens a singleplayer world to LAN. | Op level 4 |
| /random | Rolls a random number, optionally announcing it in chat. | Everyone |
| /recipe | Gives or takes recipes from players' recipe books. | Cheats / op 2 |
| /reload | Reloads data packs, loot tables, advancements and functions. | Cheats / op 2 |
| /return | Ends a function early and sets its return value. | Cheats / op 2 |
| /ride | Makes an entity ride another, or dismounts it. | Cheats / op 2 |
| /rotate | Sets the direction an entity faces. | Cheats / op 2 |
| /save-all | Saves the world to disk. | Op level 4 |
| /save-off | Turns automatic saving off. | Op level 4 |
| /save-on | Turns automatic saving back on. | Op level 4 |
| /say | Sends a message to everyone in chat. | Cheats / op 2 |
| /schedule | Runs a function after a delay in ticks, seconds or days. | Cheats / op 2 |
| /scoreboard | Manages scoreboard objectives and players' scores. | Cheats / op 2 |
| /seed | Shows the world seed. | Cheats / op 2 |
| /setblock | Places a single block. | Cheats / op 2 |
| /setidletimeout | Kicks players who are idle for the set number of minutes. | Op level 3 |
| /setworldspawn | Sets the world spawn point. | Cheats / op 2 |
| /spawnpoint | Sets a player's respawn point. | Cheats / op 2 |
| /spectate | Makes a spectator view the game through another entity. | Cheats / op 2 |
| /spreadplayers | Teleports entities to random spots in an area. | Cheats / op 2 |
| /stop | Stops the server. | Op level 4 |
| /stopsound | Stops sounds playing for players. | Cheats / op 2 |
| /stopwatch | Creates, queries, restarts or removes a named stopwatch that counts elapsed time. | Cheats / op 2 |
| /summon | Spawns an entity (a mob, item or projectile). | Cheats / op 2 |
| /swing | Makes an entity swing its arm. | Cheats / op 2 |
| /tag | Adds, removes or lists entity tags used by selectors. | Cheats / op 2 |
| /team | Creates teams and changes their options (colour, friendly fire, name tags). | Cheats / op 2 |
| /teammsg | Sends a message to your team. | Everyone |
| /teleport | Teleports entities to a position or another entity. | Cheats / op 2 |
| /tell | Sends a private message to players (same as /msg). | Everyone |
| /tellraw | Sends a formatted JSON text message to players. | Cheats / op 2 |
| /test | Runs and manages game tests. | Cheats / op 2 |
| /tick | Freezes, steps or changes the speed of the game's tick rate. | Op level 3 |
| /time | Sets or queries the time of day. | Cheats / op 2 |
| /title | Shows a title, subtitle or action-bar text on screen. | Cheats / op 2 |
| /tm | Sends a message to your team (same as /teammsg). | Everyone |
| /tp | Teleports entities (same as /teleport). | Cheats / op 2 |
| /transfer | Sends players to another server. | Op level 3 |
| /trigger | Sets a trigger scoreboard objective (usable without cheats). | Everyone |
| /unpublish | Closes a world opened to LAN. | Op level 4 |
| /version | Shows the game version of the server. | Cheats / op 2 |
| /w | Sends a private message to players (same as /msg). | Everyone |
| /waypoint | Lists waypoints on the locator bar and changes their colour or style. | Cheats / op 2 |
| /weather | Sets the weather to clear, rain or thunder. | Cheats / op 2 |
| /whitelist | Manages the server whitelist. | Op level 3 |
| /worldborder | Changes the world border's size, centre, damage and warnings. | Cheats / op 2 |
| /xp | Adds, sets or queries experience (same as /experience). | Cheats / op 2 |
Commands by permission level
In singleplayer, "Allow Cheats" (or opening to LAN with cheats) unlocks everything up to level 2. On servers the owner sets each player's operator level.
Everyone 10
Available to every player, cheats or not.
Cheats / op 2 63
Need cheats on, or operator level 2 on a server: the creative/admin commands.
- /advancement
- /attribute
- /bossbar
- /clear
- /clone
- /compute
- /damage
- /data
- /datapack
- /defaultgamemode
- /dialog
- /difficulty
- /effect
- /enchant
- /execute
- /experience
- /fetchprofile
- /fill
- /fillbiome
- /forceload
- /function
- /gamemode
- /gamerule
- /give
- /item
- /kill
- /locate
- /loot
- /particle
- /place
- /playsound
- /posteffect
- /recipe
- /reload
- /return
- /ride
- /rotate
- /say
- /schedule
- /scoreboard
- /seed
- /setblock
- /setworldspawn
- /spawnpoint
- /spectate
- /spreadplayers
- /stopsound
- /stopwatch
- /summon
- /swing
- /tag
- /team
- /teleport
- /tellraw
- /test
- /time
- /title
- /tp
- /version
- /waypoint
- /weather
- /worldborder
- /xp
Op level 3 13
Operator level 3: player management on servers.
Op level 4 8
Operator level 4: server control (saving, stopping, op rights).
Data: Minecraft Java Edition 26.3 game files. How we source this
Minecraft Java 26.3 has 94 commands. 10 can be used by anyone; the rest need cheats in singleplayer or operator rights on a server. Click any command for its full syntax and every argument.
Help us maintain accuracy! If you notice incorrect stats, missing data, or any issues, your feedback directly improves the quality of our data for the entire community.
Minecraft commands FAQ (Java 26.3)
How many commands does Minecraft have?
Java Edition 26.3 has 94 commands (aliases like /tp and /teleport count separately).
Which commands work without cheats?
10 commands need no cheats, including /help, /list, /me, /msg, /random, /teammsg, /tell, /tm.
How do you give yourself items with a command?
Use /give @s <item> [count] with cheats on, for example /give @s minecraft:diamond 64. Our give command generator builds commands with enchantments for you.
How do I turn on cheats in an existing world?
Open the world to LAN from the pause menu and switch Allow Cheats on; it lasts until you leave the world.