MINECRAFT COMMANDS
Complete reference for every vanilla command. Syntax, examples and permission levels.
Browse by Category
Player
Commands that directly affect players, their inventory, experience, and status effects.
13 commandsWorld
Commands for modifying the world, placing blocks, summoning entities, and managing chunks.
10 commandsTime & Weather
Commands for controlling in-game time and weather conditions.
2 commandsServer
Commands for server administration, player management, and maintenance.
9 commandsGameplay
Commands for changing difficulty, game rules, and default game modes.
3 commandsData
Commands for managing NBT data, scoreboards, teams, tags, advancements, and recipes.
6 commandsDisplay
Commands for sending messages, titles, and text to players in chat or on screen.
5 commandsExecute
The execute command and its sub-commands for conditional and contextual command execution.
1 commandLogic
Commands for scheduling functions, spawning particles, and playing sounds.
4 commandsBossbar
Commands for creating and managing custom boss bars displayed to players.
1 commandSpecial
Miscellaneous commands for debugging, publishing, tick control, and other special operations.
3 commandsPopular Commands
/giveGives one or more items to one or more players. The item can include NBT data via component syntax.
/tpTeleports entities to a specified location, to another entity, or with a specific rotation. Alias for /teleport.
/gamemodeSets a player's game mode to survival, creative, adventure, or spectator.
/killKills entities (players, mobs, or other entities). If no target is specified, kills the executing entity.
/effectGives or removes status effects from entities. Effects include potion effects like speed, strength, invisibility, etc.
/summonSpawns an entity at a specified location, optionally with NBT data to customize the entity.
/fillFills a region between two coordinates with a specified block. Supports various fill modes and optional filtering.
/executeModifies the execution context of a command. Supports changing the executor, position, dimension, rotation, anchoring, and adding conditions. The most powerful and flexible command in the game.
When Each Command Was Added
The 57 commands on this site span the whole history of Java Edition. The oldest is /op, which dates from Classic 0.0.16a. The newest is /tick, added in 1.20.3. Each command page lists the version that first had it.
Classic 8 commands
The first multiplayer servers needed a way to manage players, so the oldest commands are about operators, bans and kicks.
Alpha 6 commands
Alpha brought the dedicated server tools: saving, stopping, listing players, giving items and private messages.
Beta 3 commands
Beta added control over the world itself, starting with the time of day, the game mode and the whitelist.
1.0 to 1.12 31 commands
Between 1.0 and 1.12 commands grew into a building and map making toolkit, with command blocks, scoreboards, execute and functions.
1.13 6 commands
1.13 rewrote the whole command system with a new parser, tab completion and error highlighting, and added several commands on top.
Commands by Permission Level
On a server, operators get a permission level from 0 to 4, and each command needs a minimum level. This is how the 57 commands here are spread over those levels.
Level 0: Every player
4 commands
No operator status needed. Anyone on the server can run these.
Level 1: Spawn protection
0 commands
Lets a player build inside the spawn protection area. No command on this site needs exactly this level.
Level 2: Game commands
43 commands
The level for changing the game and the world. Command blocks and functions run at this level too.
/give/clear/xp/experience/kill/gamemode/effect/enchant/spawnpoint/tp/teleport/spectate/setblock/fill/clone/summon/setworldspawn/seed/worldborder/forceload/locate/spreadplayers/time/weather/reload/difficulty/gamerule/defaultgamemode/data/scoreboard/team/tag/advancement/recipe/title/tellraw/say/execute/schedule/function/particle/playsound/bossbarLevel 3: Player management
7 commands
Commands that manage who may play: operators, bans, kicks and the whitelist.
Need a Minecraft server?
Join Astroworld or start your own server with Astroworld Hosting.
Try Astroworld Hosting