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.

Commands
94
No cheats needed
10every player
Need cheats
63op level 2
Server admin only
21op level 3–4

All Minecraft commands

Game data

Minecraft 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.

All Minecraft commands
CommandWhat it doesWho can use it
/advancementGrants or revokes advancements and their criteria for players.Cheats / op 2
/attributeReads or changes an entity's attributes, such as max health, speed or attack damage, and their modifiers.Cheats / op 2
/banBans a player from the server.Op level 3
/ban-ipBans an IP address from the server.Op level 3
/banlistLists banned players or IP addresses.Op level 3
/bossbarCreates and edits custom boss bars at the top of the screen.Cheats / op 2
/clearRemoves items from players' inventories.Cheats / op 2
/cloneCopies blocks from one area to another.Cheats / op 2
/computeEvaluates a number provider (a random range or formula) and prints the result.Cheats / op 2
/damageDeals damage of a chosen type to entities.Cheats / op 2
/dataReads and edits the NBT data of blocks, entities and command storage.Cheats / op 2
/datapackLists, enables and disables data packs.Cheats / op 2
/debugStarts or stops a debug profiling session.Op level 3
/defaultgamemodeSets the game mode new players join in.Cheats / op 2
/deopRemoves operator rights from a player.Op level 3
/dialogShows or clears a dialog screen for players.Cheats / op 2
/difficultyShows or changes the world difficulty.Cheats / op 2
/effectGives or clears status effects.Cheats / op 2
/enchantAdds an enchantment to the item an entity is holding.Cheats / op 2
/executeRuns another command as a different entity, at another position or only when conditions are met.Cheats / op 2
/experienceAdds, sets or queries players' experience points and levels.Cheats / op 2
/fetchprofileLooks up a player profile (skin and name) by name, UUID or entity.Cheats / op 2
/fillFills an area with a block.Cheats / op 2
/fillbiomeChanges the biome of an area.Cheats / op 2
/forceloadKeeps chunks loaded even with no player nearby.Cheats / op 2
/functionRuns a function from a data pack.Cheats / op 2
/gamemodeChanges a player's game mode (survival, creative, adventure, spectator).Cheats / op 2
/gameruleShows or changes game rules such as minecraft:keep_inventory or minecraft:advance_time.Cheats / op 2
/giveGives items to players.Cheats / op 2
/helpLists commands or shows the syntax of one.Everyone
/itemReplaces or modifies items in inventory and container slots.Cheats / op 2
/jfrStarts or stops Java Flight Recorder profiling.Op level 4
/kickKicks a player off the server.Op level 3
/killKills entities (yourself by default).Cheats / op 2
/listLists the players online.Everyone
/locateFinds the nearest structure, biome or point of interest and gives its coordinates.Cheats / op 2
/lootDrops or gives the loot of a loot table, a mined block or a killed entity.Cheats / op 2
/meSends an action message in chat ("* Steve waves").Everyone
/msgSends a private message to players.Everyone
/opGives a player operator rights.Op level 3
/pardonUnbans a player.Op level 3
/pardon-ipUnbans an IP address.Op level 3
/particleSpawns particles.Cheats / op 2
/perfRecords performance data for 10 seconds.Op level 4
/placePlaces a feature, jigsaw structure, structure or template.Cheats / op 2
/playsoundPlays a sound to players.Cheats / op 2
/posteffectAdds or clears a post-processing screen effect for players.Cheats / op 2
/publishOpens a singleplayer world to LAN.Op level 4
/randomRolls a random number, optionally announcing it in chat.Everyone
/recipeGives or takes recipes from players' recipe books.Cheats / op 2
/reloadReloads data packs, loot tables, advancements and functions.Cheats / op 2
/returnEnds a function early and sets its return value.Cheats / op 2
/rideMakes an entity ride another, or dismounts it.Cheats / op 2
/rotateSets the direction an entity faces.Cheats / op 2
/save-allSaves the world to disk.Op level 4
/save-offTurns automatic saving off.Op level 4
/save-onTurns automatic saving back on.Op level 4
/saySends a message to everyone in chat.Cheats / op 2
/scheduleRuns a function after a delay in ticks, seconds or days.Cheats / op 2
/scoreboardManages scoreboard objectives and players' scores.Cheats / op 2
/seedShows the world seed.Cheats / op 2
/setblockPlaces a single block.Cheats / op 2
/setidletimeoutKicks players who are idle for the set number of minutes.Op level 3
/setworldspawnSets the world spawn point.Cheats / op 2
/spawnpointSets a player's respawn point.Cheats / op 2
/spectateMakes a spectator view the game through another entity.Cheats / op 2
/spreadplayersTeleports entities to random spots in an area.Cheats / op 2
/stopStops the server.Op level 4
/stopsoundStops sounds playing for players.Cheats / op 2
/stopwatchCreates, queries, restarts or removes a named stopwatch that counts elapsed time.Cheats / op 2
/summonSpawns an entity (a mob, item or projectile).Cheats / op 2
/swingMakes an entity swing its arm.Cheats / op 2
/tagAdds, removes or lists entity tags used by selectors.Cheats / op 2
/teamCreates teams and changes their options (colour, friendly fire, name tags).Cheats / op 2
/teammsgSends a message to your team.Everyone
/teleportTeleports entities to a position or another entity.Cheats / op 2
/tellSends a private message to players (same as /msg).Everyone
/tellrawSends a formatted JSON text message to players.Cheats / op 2
/testRuns and manages game tests.Cheats / op 2
/tickFreezes, steps or changes the speed of the game's tick rate.Op level 3
/timeSets or queries the time of day.Cheats / op 2
/titleShows a title, subtitle or action-bar text on screen.Cheats / op 2
/tmSends a message to your team (same as /teammsg).Everyone
/tpTeleports entities (same as /teleport).Cheats / op 2
/transferSends players to another server.Op level 3
/triggerSets a trigger scoreboard objective (usable without cheats).Everyone
/unpublishCloses a world opened to LAN.Op level 4
/versionShows the game version of the server.Cheats / op 2
/wSends a private message to players (same as /msg).Everyone
/waypointLists waypoints on the locator bar and changes their colour or style.Cheats / op 2
/weatherSets the weather to clear, rain or thunder.Cheats / op 2
/whitelistManages the server whitelist.Op level 3
/worldborderChanges the world border's size, centre, damage and warnings.Cheats / op 2
/xpAdds, 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.

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.

Report an Issue

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.