/advancement |
Gives, removes, or checks player advancement |
/advancement grant <playername> everything |
2 |
/attribute |
Queries, adds, removes, or sets an entity attribute |
/attribute <playername> minecraft:generic.attack_speed base set 100 |
2 |
/ban |
Adds name to ban list |
/ban <playername> |
3 |
/ban-ip |
Adds IP address to ban list |
/ban-ip 123.45.67.89 |
3 |
/banlist |
Displays list of banned players |
/banlist |
3 |
/bossbar |
Creates and modifiers bossbars |
Used in datapacks |
2 |
/clear |
Clears items from player inventory |
/clear <playername> |
2 |
/clone |
Copies blocks from one place to another |
/clone 0 0 0 100 100 100 -100 -100 -100 |
2 |
/damage |
Applies damage to the selected entities |
/damage <playername> 10 |
- |
/data |
Gets, merges, modifies, and removes block entity and entity NBT data |
Used in datapacks |
2 |
/datapack |
Controls loaded datapacks |
/datapack |
2 |
/debug |
Starts or stops a debugging session |
/debug |
3 |
/defaultgamemode |
Sets the default gamemode |
/defaultgamemode creative |
2 |
/deop |
Deops a player |
/deop <playername> |
3 |
/difficulty |
Sets the difficulty level |
/difficulty 3 |
2 |
/effect |
Gives an entity an effect |
/effect give <playername> minecraft:regeneration |
2 |
/enchant |
Adds an enchantment to a players selected item |
/enchant <playername> minecraft:channeling |
2 |
/execute |
Executes another command |
/execute run say I executed this! |
2 |
/experience |
Adds or removes player experience |
/experience add <playername> 100 |
2 |
/fill |
Fills region with specified block |
/fill 0 0 0 100 100 100 minecraft:diamond_block |
2 |
/fillbiome |
Fills region with specified biome |
/fillbiome 0 0 0 100 100 100 minecraft:badlands |
2 |
/forceload |
Forces chunks to constantly be loaded or not |
/forceload add 0 0 0 |
2 |
/function |
Runs a function |
/function <functionname> |
2 |
/gamemode |
Sets the gamemode of a player |
/gamemode <playername> creative |
2 |
/gamerule |
Sets or queries a game rule |
/gamerule playersSleepingPercentage 20 |
2 |
/give |
Gives player an item |
/give <playername> minecraft:diamond_block 64 |
2 |
/help |
Provides help for commands |
/help <commandname> |
0 |
/item |
Manipulates items in inventories |
/item replace entity <entityname> armor.chest with minecraft:netherite_chestplate |
2 |
/jfr |
Starts or stops a JFR profiling |
/jfr |
4 |
/kick |
Kicks a player from the server |
/kick <playername> |
3 |
/kill |
Kills entities |
/kill <playername> |
2 |
/list |
Lists players on the server |
list |
0 |
/locate |
Locates closest structure, biome, or point of interest |
/locate structure minecraft:ancient_city |
2 |
/loot |
Drops items from an inventory slot onto the ground |
/loot spawn ~ ~ ~ mine ~ ~-1 ~ |
2 |
/me |
Displays a message about the sender |
/me is playing Minecraft |
0 |
/msg |
An alias of /tell and /w . Displays a private message to tother players |
/msg <playername> secret message! |
0 |
/op |
Grants operator status to a player |
/op <playername> |
3 |
/pardon |
Removes entries from the banlst |
/pardon <playername> |
3 |
/pardon-ip |
Removes entries from the banlist |
/pardon-ip 123.45.67.89 |
3 |
/particle |
Creates particles |
/particle minecraft:bubble ~ ~ ~ ~ ~ ~ 0.1 100 normal |
2 |
/perf |
Captures info and metrics about the game for 10 seconds |
/perf |
4 |
/place |
Used to place a configured feature, jigsaw, template, or structure at a given location |
/place structure minecraft:village_desert |
2 |
/playsound |
Plays a sound |
/playsound minecraft:ambient.cave |
2 |
/publish |
Opens single-player world to local network |
/publish |
4 |
/random |
Draw a random value or control the random number sequence |
/random |
2 |
/recipe |
Gives or takes player recipes |
/recipe give <playername> minecraft:crafting_table |
2 |
/reload |
Reloads loot tables, advancements, and functions from disk |
/reload |
2 |
/return |
Control execution flow inside functions and change their return value |
Used in datapacks |
- |
/ride |
Used to make entities ride other entities, stop entities from riding, make rides evict their riders, or summon rides or riders |
/ride <entityname> mount <entityname> |
- |
/save-all |
Saves the server to disk |
/save-all |
4 |
/save-off |
Disables automatic server saves |
/save-off |
4 |
/save-on |
Enables automatic server saves |
/save-on |
4 |
/say |
Displays a message to multiple players |
/say hello all! |
2 |
/schedule |
Delays the execution of a function |
/schedule function myfunction 100s |
2 |
/scoreboard |
Manages scoreboard objectives and players |
/scoreboard players set <playername> <objective> <value> |
2 |
/seed |
Displays the world seed |
/seed |
2 |
/setblock |
Changes a block to another block |
/setblock 0 0 0 minecraft:slime_block replace |
2 |
/setidletimeout |
Sets the time before idle players are kicked |
/setidletimeout 120 |
3 |
/setworldspawn |
Sets the world spawn |
/setworldspawn 0 0 0 |
2 |
/spawnpoint |
Sets the spawn point for a player |
/spawnpoint <playername> 0 0 0 |
2 |
/spectate |
Makes one player in spectator mode spectate an entity |
/spectate <spectator> <spectatee> |
2 |
/spreadplayers |
Teleports entities to a random location |
/spreadplayers |
2 |
/stop |
Stops a server |
/stop |
4 |
/stopsound |
Stops a sound for an entity |
/stopsound <playername> master |
2 |
/summon |
Summons an entity |
/summon minecraft:bat |
2 |
/tag |
Controls entity tags |
/tag <entity> add myTag |
2 |
/team |
Controls teams |
/team add <teamname> <playername> |
2 |
/teammsg |
An alias of /tm Specifies the message to send to team |
/teammsg help cap blue |
0 |
/teleport |
Teleports the player to a specified coordinate |
/tp <playername> 0 0 0 |
2 |
/tell |
An alias of /msg and /w Displays a private message to other players |
/tell <playername> secret message! |
0 |
/tellraw |
Displays a JSON message to players |
/tellraw hey guys check out my JSON message |
2 |
/time |
Changes or queries the world’s game time |
/time set day |
2 |
/title |
Manages screen titles |
/title <playername> clear |
2 |
/tm |
An alias of /teammsg. Specifies the message to send the team |
/tm where is the team right now |
0 |
/tp |
An alias of teleport |
/tp <playername> 0 0 0 |
2 |
/trigger |
Sets a trigger to be activated |
/trigger <triggername> |
0 |
/w |
An alis of /tell and /msg Displays a private message to other players |
/w hello friend! |
0 |
/weather |
Sets the weather |
/weather clear |
2 |
/whitelist |
Manages the server whitelist |
/whitelist add <playername> |
3 |
/worldborder |
Manages the world border |
/worldborder add 100 |
2 |
/xp |
An alias of /experience Adds or removes player experience |
/xp add <playername> 100 |
2 |