Editing
Commands
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== List and summary of commands == The table below summarizes all commands. {| class="sortable wikitable stikitable" style="text-align:center;" |+ Summary of Commands ! style="text-align:left;" | Command ! style="text-align:left;" | Description ! {{Tooltip|BE|Available in Bedrock Edition}} ! {{Tooltip|EE|Available in Education Edition}} ! {{Tooltip|JE|Available in Java Edition}} ! {{Tooltip|JE [[OP level]]|Permission level required in Java Edition to perform the command}} ! {{Tooltip|BE&EE [[OP level]]|Command permission level required in Bedrock and Education Edition to perform the command}} ! {{Tooltip|Multiplayer{{only|je|short=1}}/Server{{only|Be|Ee|short=1}} only|Commands usable only in multiplayer or servers}} ! {{Tooltip|{{EnvSprite|blocks}}|Command modifies or queries blocks}} ! {{Tooltip|{{EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}} ! {{Tooltip|{{EnvSprite|player}}|Command modifies or queries players}} ! {{Tooltip|{{EnvSprite|default}}|Command modifies or queries the world}} |- | style="text-align:left;" | {{cmd|?}} | style="text-align:left;" | An alias of {{cmd|help}}. Provides help for commands. | {{tc|yes}} || {{tc|yes}} || {{tc|no|Removed}} | {{tc|no|0}} || {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|ability}} | style="text-align:left;" | Grants or revokes a player ability. | {{tc|yes}} || {{tc|yes}} ||{{tc|-}} | {{tc|-}} ||{{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|advancement}} | style="text-align:left;" | Gives, removes, or checks player advancements. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|alwaysday}} | style="text-align:left;" | An alias of {{cmd|daylock}}. Locks and unlocks the day-night cycle. | {{tc|yes}} || {{tc|yes}} ||{{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" | {{cmd|attribute}} | style="text-align:left;" | Queries, adds, removes or sets an entity attribute. | {{tc|-}} || {{tc|-}} ||{{tc|yes}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|ban}} | style="text-align:left;" | Adds player to banlist. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|-}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|ban-ip}} | style="text-align:left;" | Adds IP address to banlist. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|-}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|banlist}} | style="text-align:left;" | Displays banlist. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|-}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|bossbar}} | style="text-align:left;" | Creates and modifies bossbars. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" | {{cmd|camera}} | style="text-align:left;" | Switch to custom camera perspectives and fade the screen. | {{tc|yes}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{info needed}}}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|camerashake}} | style="text-align:left;" | Used to enable a camera shaking effect. | {{tc|yes}} || {{tc|Yes}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|changesetting}} | style="text-align:left;" | Changes a setting on the dedicated server while it's running. | {{tc|yes}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|4}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|clear}} | style="text-align:left;" | Clears items from player inventory. | {{tc|yes|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|clearspawnpoint}} | style="text-align:left;" | Remove spawnpoints in the world. | {{tc|yes}} || {{tc|Yes}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" | {{cmd|clone}} | style="text-align:left;" | Copies blocks from one place to another. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|connect}} | style="text-align:left;" | An alias of {{cmd|wsserver}}. Attempts to connect to the websocket server. | {{tc|yes}} || {{tc|yes}} || {{tc|-}} | {{tc|-}} || {{tc|yes|0{{only|education|short=1}}<br>2{{only|bedrock|short=1}}}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|damage}} | style="text-align:left;" | Applies damage to the specified entities. | {{tc|yes}} || {{tc|-}} || {{tc|yes}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|data}} | style="text-align:left;" | Gets, merges, modifies and removes block entity and entity NBT data. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|datapack}} | style="text-align:left;" | Controls loaded data packs. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" | {{cmd|daylock}} | style="text-align:left;" | An alias of {{cmd|alwaysday}}. Locks and unlocks the day-night cycle. | {{tc|yes}} || {{tc|yes}} ||{{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" | {{cmd|debug}} | style="text-align:left;" | Starts or stops a debugging session. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|dedicatedwsserver}} | style="text-align:left;" | Attempts to connect to a websocket server. | {{tc|yes}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|no|0}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|defaultgamemode}} | style="text-align:left;" | Sets the default [[game mode]]. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" | {{cmd|deop}} | style="text-align:left;" | Revokes operator status from a player. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|yes|2}} || {{tc|partial|yes{{only|java}}}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|dialogue}} | style="text-align:left;" | Opens NPC dialogue for a player. | {{tc|yes}} || {{tc|yes}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|difficulty}} | style="text-align:left;" | Sets the difficulty level. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" | {{cmd|effect}} | style="text-align:left;" | Adds or removes [[status effect]]s. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|enchant}} | style="text-align:left;" | Adds an enchantment to a player's selected item. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|event}} | style="text-align:left;" | Used to trigger an event on an entity. | {{tc|yes}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|execute}} | style="text-align:left;" | Executes another command. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" | {{cmd|experience}} | style="text-align:left;" | An alias of {{cmd|xp}}. Adds or removes player [[experience]]. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|fill}} | style="text-align:left;" | Fills a region with a specific block. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|fillbiome}} | style="text-align:left;" | Fills a region with a specific biome. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" | {{cmd|fog}} | style="text-align:left;" | Used for managing active fog settings for players. | {{tc|yes}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|forceload}} | style="text-align:left;" | Forces [[chunk]]s to constantly be loaded or not. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" | {{cmd|function}} | style="text-align:left;" | Runs a [[function]]. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" | {{cmd|gamemode}} | style="text-align:left;" | Sets a player's [[game mode]]. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|gamerule}} | style="text-align:left;" | Sets or queries a [[game rule]] value. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" | {{cmd|gametest}} | style="text-align:left;" | To test the GameTest features. | {{tc|yes}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|give}} | style="text-align:left;" | Gives an item to a player. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|help}} | style="text-align:left;" | An alias of {{cmd|?}}. Provides help for commands. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|no|0}} || {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|immutableworld}} | style="text-align:left;" | Allows setting immutable state of a world. | {{tc|yes}} || {{tc|yes}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" | {{cmd|item}} | style="text-align:left;" | Manipulates items in inventories. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|jfr}} | style="text-align:left;" | Starts or stops a JFR profiling. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|4}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|kick}} | style="text-align:left;" | Kicks a player off a server. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|kill}} | style="text-align:left;" | Kills entities (players, mobs, items, etc.). | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|list}} | style="text-align:left;" | Lists players on the server. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|no|0}} || {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|locate}} | style="text-align:left;" | Locates closest structure, biome, or point of interest. | {{tc|Yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|loot}} | style="text-align:left;" | Drops items from an inventory slot onto the ground. | {{tc|yes}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|2}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|me}} | style="text-align:left;" |Displays a message about the sender. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|no|0}} || {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|mobevent}} | style="text-align:left;" |Enables/disables a specified mob event. | {{tc|yes}} || {{tc|yes}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|msg}} | style="text-align:left;" |An alias of {{cmd|tell}} and {{cmd|w}}. Displays a private message to other players. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|no|0}} || {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|music}} | style="text-align:left;" |Allows the player to control playing music tracks. | {{tc|yes}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|op}} | style="text-align:left;" |Grants operator status to a player. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|yes|2}} || {{tc|partial|yes{{only|java}}}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|ops}} | style="text-align:left;" |An alias of {{cmd|permission}}. Reloads and applies permissions. | {{tc|yes}} || {{tc|yes}} || {{tc|-}} | {{tc|-}} || {{tc|yes|4}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|pardon}} | style="text-align:left;" | Removes entries from the banlist. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|-}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|pardon-ip}} | style="text-align:left;" | Removes entries from the banlist. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|-}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|particle}} | style="text-align:left;" |Creates particles. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|perf}} | style="text-align:left;" | Captures info and metrics about the game for 10 seconds. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|4}} || {{tc|-}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|permission}} | style="text-align:left;" | An alias of {{cmd|ops}}. Reloads and applies permissions. | {{tc|yes}} || {{tc|yes}} || {{tc|-}} | {{tc|-}} || {{tc|yes|4}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|place|link=Commands/place (Java Edition)}} | style="text-align:left;" |Used to place a configured feature, jigsaw, template, or structure at a given location. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|playanimation}} | style="text-align:left;" |Used to run a one-off animation. | {{tc|yes}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|playsound}} | style="text-align:left;" | Plays a sound. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|publish}} | style="text-align:left;" |Opens single-player world to local network. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|4}} || {{tc|-}} || {{tc|neutral|{{Tooltip|SP only|Command usable only in singleplayer}}}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" | {{cmd|random}} | style="text-align:left;" | Draw a random value or control the random number sequence. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|0 (without <code>sequence</code>)<br>2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|recipe}} | style="text-align:left;" | Gives or takes player recipes. | {{tc|yes}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|reload}} | style="text-align:left;" |Reloads loot tables, advancements, and functions from disk. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|2}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|remove}} | style="text-align:left;" |Removing agent. | {{tc|-}} || {{tc|yes|?}}<!--Can't confirm its existence in new version--> || {{tc|-}} | {{tc|-}} || {{tc|yes|2}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|replaceitem}} | style="text-align:left;" |Replaces items in inventories. | {{tc|yes}} || {{tc|yes}} || {{tc|no|Removed}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|return}} | style="text-align:left;" |Control execution flow inside functions and change their return value. | {{tc|no}} || {{tc|no}} || {{tc|yes}} | {{tc|?}} || {{tc|-}} || {{tc|?}} | {{tc|?}} || {{tc|?}} || {{tc|?}} || {{tc|?}} |- | style="text-align:left;" |{{cmd|ride}} | style="text-align:left;" |Used to make entities ride other entities, stop entities from riding, make rides evict their riders, or summon rides or riders. | {{tc|yes}} || {{tc|-}} || {{tc|yes}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|save}} | style="text-align:left;" |Prepares a backup, queries its status, or resumes. | {{tc|yes}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|4}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|save-all}} | style="text-align:left;" |Saves the server to disk. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|4}} || {{tc|-}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|save-off}} | style="text-align:left;" |Disables automatic server saves. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|4}} || {{tc|-}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|save-on}} | style="text-align:left;" |Enables automatic server saves. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|4}} || {{tc|-}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|say}} | style="text-align:left;" |Displays a message to multiple players. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|schedule}} | style="text-align:left;" |Delays the execution of a function. | {{tc|yes}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|scoreboard}} | style="text-align:left;" |Manages scoreboard objectives and players. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|script}} | style="text-align:left;" |{{Info needed}}. | {{tc|yes}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|?}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|scriptevent}} | style="text-align:left;" |{{Info needed}}. | {{tc|yes}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|?}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|seed}} | style="text-align:left;" |Displays the [[world seed]]. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|0 in singleplayer<br>2 in multiplayer}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|setblock}} | style="text-align:left;" |Changes a block to another block. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|setidletimeout}} | style="text-align:left;" |Sets the time before idle players are kicked. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|-}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|setmaxplayers}} | style="text-align:left;" |Sets the maximum number of players allowed to join. | {{tc|yes}} || {{tc|yes}} || {{tc|-}} | {{tc|-}} || {{tc|yes|3}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|setworldspawn}} | style="text-align:left;" |Sets the [[Spawn#Player spawning|world spawn]]. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|spawnpoint}} | style="text-align:left;" |Sets the spawn point for a player. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|spectate}} | style="text-align:left;" |Make one player in spectator mode spectate an entity. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|spreadplayers}} | style="text-align:left;" |Teleports entities to random locations. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|stop}} | style="text-align:left;" |Stops a server. | {{tc|yes}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|4}} || {{tc|yes|4}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|stopsound}} | style="text-align:left;" | Stops a sound. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|structure}} | style="text-align:left;" |Used to save and load structures without having to use structure blocks items in inventories. | {{tc|yes}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|summon}} | style="text-align:left;" |Summons an entity. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|tag}} | style="text-align:left;" |Controls entity tags. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|team}} | style="text-align:left;" |Controls teams. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|teammsg}} | style="text-align:left;" |An alias of {{cmd|tm}}. Specifies the message to send to team. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|no|0}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|teleport}} | style="text-align:left;" |An alias of {{cmd|tp|link=Commands/teleport}}. Teleports entities. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|tell}} | style="text-align:left;" |An alias of {{cmd|msg}} and {{cmd|w}}. Displays a private message to other players. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|no|0}} || {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|tellraw}} | style="text-align:left;" |Displays a JSON message to players. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|testfor}} | style="text-align:left;" |Counts entities matching specified conditions. | {{tc|yes}} || {{tc|yes}} || {{tc|no|Removed}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|testforblock}} | style="text-align:left;" |Tests whether a block is in a location. | {{tc|yes}} || {{tc|yes}} || {{tc|no|Removed}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|testforblocks}} | style="text-align:left;" |Tests whether the blocks in two regions match. | {{tc|yes}} || {{tc|yes}} || {{tc|no|Removed}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|tickingarea}} | style="text-align:left;" |Add, remove, or list ticking areas. | {{tc|yes}} || {{tc|yes}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|time}} | style="text-align:left;" |Changes or queries the world's game time. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|title}} | style="text-align:left;" |Manages screen titles. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|titleraw}} | style="text-align:left;" | Controls screen titles with JSON messages. | {{tc|yes}} || {{tc|yes}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|tm}} | style="text-align:left;" |An alias of {{cmd|teammsg}}. Specifies the message to send to team. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|no|0}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|toggledownfall}} | style="text-align:left;" |Toggles the weather. | {{tc|yes}} || {{tc|yes}} || {{tc|no|Removed}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|tp}} | style="text-align:left;" |An alias of {{cmd|teleport}}. Teleports entities. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|trigger}} | style="text-align:left;" |Sets a trigger to be activated. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|no|0}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|volumearea}} | style="text-align:left;" |Add, remove, or list volume areas. | {{tc|yes}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|w}} | style="text-align:left;" |An alias of {{cmd|tell}} and {{cmd|msg}}. Displays a private message to other players. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|no|0}} || {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|wb}} | style="text-align:left;" | An alias of {{cmd|worldbuilder}}. Ability to edit restricted blocks. | {{tc|yes}} || {{tc|yes}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|weather}} | style="text-align:left;" | Sets the weather. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|whitelist}} | style="text-align:left;" |Manages server whitelist. | {{tc|yes}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|yes|4}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|worldborder}} | style="text-align:left;" |Manages the [[world border]]. | {{tc|-}} || {{tc|-}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|worldbuilder}} | style="text-align:left;" |An alias of {{cmd|wb}}. Ability to edit restricted blocks. | {{tc|yes}} || {{tc|yes}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|wsserver}} | style="text-align:left;" |An alias of {{cmd|connect}}. Attempts to connect to the websocket server. | {{tc|yes}} || {{tc|yes}} || {{tc|-}} | {{tc|-}} || {{tc|yes|0{{only|education|short=1}}<br>2{{only|bedrock|short=1}}}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|xp}} | style="text-align:left;" | An alias of {{cmd|experience}}{{only|java}}. Adds or removes player [[experience]]. | {{tc|yes}} || {{tc|yes}} || {{tc|yes}} | {{tc|yes|2}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |} ===Hidden commands=== {{exclusive|bedrock|section=1}} These commands are unavailable in general cases. Most of them can be accessed with a Websocket Server. {| class="sortable wikitable stikitable collapsible collapsed" style="text-align:center;" |+Summary of Hidden Commands ! style="text-align:left;" |Command ! style="text-align:left;" |Description !{{Tooltip|BE|Available in Bedrock Edition}} !{{Tooltip|EE|Available in Education Edition}} ! {{Tooltip|BE&EE [[OP level]]|Command permission level required in Bedrock and Education Edition to perform the command}} !{{Tooltip|MP only|Commands usable only in multiplayer}} !{{Tooltip|{{EnvSprite|blocks}}|Command modifies or queries blocks}} !{{Tooltip|{{EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}} !{{Tooltip|{{EnvSprite|player}}|Command modifies or queries players}} !{{Tooltip|{{EnvSprite|default}}|Command modifies or queries the world}} |- | style="text-align:left;" |{{cmd|agent}} | style="text-align:left;" |Controls the agent. | {{tc|yes}} || {{tc|yes}} | {{tc|yes|0{{only|education|short=1}}<br>1{{only|bedrock|short=1}}}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|codebuilder}} | style="text-align:left;" |Sets Code Builder state for a player. | {{tc|-}} || {{tc|yes}} | {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|classroommode}} | style="text-align:left;" |Ability to edit restricted blocks. | {{tc|-}} || {{tc|yes}} | {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|closechat}} | style="text-align:left;" |Closes the chat window of the local player if it is open. | {{tc|-}} || {{tc|yes}} | {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|closewebsocket}} | style="text-align:left;" |Closes websocket connection if there is one. | {{tc|yes}} || {{tc|yes}} | {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|code}} | style="text-align:left;" |Launches Code Builder. | {{tc|-}} || {{tc|yes}} | {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|enableencryption}} | style="text-align:left;" |Enable encryption for the current websocket connection. | {{tc|yes}} || {{tc|yes}} | {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|getchunkdata}} | style="text-align:left;" |Gets pixels for a specific chunk. | {{tc|yes}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|getchunks}} | style="text-align:left;" |Gets list of chunks that are loaded. | {{tc|yes}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|geteduclientinfo}} | style="text-align:left;" |Shows the information about the client. | {{tc|-}} || {{tc|yes}} | {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|geteduserverinfo}} | style="text-align:left;" |Shows the information about the server. | {{tc|yes}} || {{tc|-}} | {{tc|no|0}} || {{tc|yes}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|getlocalplayername}} | style="text-align:left;" |Shows the name of the local player. | {{tc|yes}} || {{tc|yes}} | {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|getspawnpoint}} | style="text-align:left;" |Gets the spawn position of the specified player(s). | {{tc|yes}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|gettopsolidblock}} | style="text-align:left;" |Gets the position of the top non-air block below the specified position. | {{tc|yes}} || {{tc|yes}} | {{tc|yes|0{{only|education|short=1}}<br>1{{only|bedrock|short=1}}}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|globalpause}} | style="text-align:left;" |Sets or gets the paused state of the game for all players. | {{tc|yes}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|lesson}} | style="text-align:left;" |Handle Educational Lesson reporting. | {{tc|-}} || {{tc|yes}} | {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" | {{cmd|listd}} | style="text-align:left;" |Lists the information about players on the server. | {{tc|yes}} || {{tc|yes}} | {{tc|yes|3}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|querytarget}} | style="text-align:left;" |Gets transform, name, and id information about the given target entity or entities. | {{tc|yes}} || {{tc|yes}} | {{tc|yes|0{{only|education|short=1}}<br>2{{only|bedrock|short=1}}}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|spawnitem}} | style="text-align:left;" |Spawns an item entity at position. | {{tc|-}} || {{tc|yes}} | {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|takepicture}} | style="text-align:left;" |Takes a photo of a player or from a player's point of view. | {{tc|yes}} || {{tc|yes}} | {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |} ===Removed commands=== {| class="sortable wikitable stikitable collapsible collapsed" style="text-align:center;" |+Summary of Removed Commands !Command ! class="unsortable" |Description ! Version Removed ! class="unsortable" |Reason for Deletion !{{Tooltip|BE|Available in Bedrock Edition}} !{{Tooltip|EE|Available in Education Edition}} !{{Tooltip|JE|Available in Java Edition}} !{{Tooltip|JE OP level|Permission level required in Java Edition to perform the command}} !{{Tooltip|BE&EE OP level|Command permission level required in Bedrock and Education Edition to perform the command}} !{{Tooltip|MP Only|Commands usable only in multiplayer}} !{{Tooltip|{{EnvSprite|blocks}}|Command modifies or queries blocks}} !{{Tooltip|{{EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}} !{{Tooltip|{{EnvSprite|player}}|Command modifies or queries players}} !{{Tooltip|{{EnvSprite|default}}|Command modifies or queries the world}} |- | style="text-align:left;" | <span class="nowrap">{{cmd|achievement}}</span> | style="text-align:left;" |Gives or takes an achievement from a player | data-sort-value="4 1.12 17w13a" |{{nowrap|[[Java Edition 1.12]]}}<br>([[Java Edition 17w13a|17w13a]]) | style="text-align:left;" |[[Achievements]] were superseded by [[advancements]] | {{tc|-}} || {{tc|-}} || {{tc|no|removed}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |<span class="nowrap">{{cmd|banip}}</span> | style="text-align:left;" |Bans a player by IP number | data-sort-value="2 0.31" |{{nowrap|[[Java Edition Indev 0.31]]}} | style="text-align:left;" |Superseded by {{cmd|ban-ip}} | {{tc|-}} || {{tc|-}} || {{tc|no|removed}} |'''?'''|| {{tc|-}} || {{tc|yes|MP}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|blockdata}}}} | style="text-align:left;" |Modifies the data tag of a block | data-sort-value="4 1.13 17w47a" |{{nowrap|[[Java Edition 1.13]]}}<br>([[Java Edition 17w47a|17w47a]]) | style="text-align:left;" |Superseded by {{cmd|data}} | {{tc|-}} || {{tc|-}} || {{tc|no|removed}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|broadcast}}}} | style="text-align:left;" |Broadcasts a message across the entire server | data-sort-value="1 0.0.16a_01" |{{nowrap|[[Java Edition Classic 0.0.16a_01]]}} | style="text-align:left;" |Superseded by {{cmd|say}} | {{tc|-}} || {{tc|-}} || {{tc|no|removed}} | {{tc|yes|1}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|chunk|link=none}}}} | style="text-align:left;" |Force chunks to load constantly or not | data-sort-value="4 1.13.1 pre1" |{{nowrap|[[Java Edition 1.13.1-pre1]]}} | style="text-align:left;" |Superseded by {{cmd|forceload}} | {{tc|-}} || {{tc|-}} || {{tc|no|removed}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{nowrap|{{cmd|clearfixedinv}}}} | style="text-align:left;" |Clears fixed inventory slots | data-sort-value="5 0.16.0" |{{nowrap|[[Pocket Edition v0.16.0 alpha]]}}<br>([[Pocket Edition v0.16.0 alpha build 2|build 2]]) |'''?''' | {{tc|no|removed}} || {{tc|no|removed}} || {{tc|-}} | {{tc|-}} ||'''?'''||'''?''' | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|detect|link=none}}}} | style="text-align:left;" |Execute a command when condition is met. | data-sort-value="6 0.16.0" |{{nowrap|[[Bedrock Edition 1.2.0]]}} | style="text-align:left;" |Superseded by {{cmd|execute}} | {{tc|no|removed}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|entitydata}}}} | style="text-align:left;" |Modifies the data tag of an entity | data-sort-value="4 1.13 17w45b" |{{nowrap|[[Java Edition 1.13]]}}<br>([[Java Edition 17w45b|17w45b]]) | style="text-align:left;" |Superseded by {{cmd|data}} | {{tc|-}} || {{tc|-}} || {{tc|no|removed}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|executeasself}}}} | style="text-align:left;" |Execute a command. | data-sort-value="5 ?" |'''?''' |'''?''' | {{tc|no|removed}} || {{tc|no|removed}} || {{tc|-}} | {{tc|-}} || {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|home}}}} | style="text-align:left;" |Teleports player to the world [[spawn]] | data-sort-value="3 1.2.5" |{{nowrap|[[Java Edition Alpha v1.2.5]]}} | style="text-align:left;" |Superseded by {{cmd|kill}} | {{tc|-}} || {{tc|-}} || {{tc|no|removed}} | {{tc|no|0}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|mixer}} | style="text-align:left;" |Mixer interactivity control. | data-sort-value="7 1.0.21" |{{nowrap|[[Bedrock Edition 1.16.210]]}} | style="text-align:left;" |Mixer was discontinued | {{tc|no|removed}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|locatebiome}} | style="text-align:left;" |Locates biomes. | data-sort-value="4" 1.19 22w19a |{{nowrap|[[Java Edition 1.19]]<br>([[22w19a]])}} | style="text-align:left;" |Superseded by {{cmd|locate}} | {{tc|-}} || {{tc|-}} || {{tc|no|removed}} | colspan="7" |? |- | style="text-align:left;" |{{cmd|placefeature}} | style="text-align:left;" |Used to place a configured feature at a given location. | data-sort-value="4 1.19 22w18a" |{{nowrap|[[Java Edition 1.19]]<br>([[Java Edition 22w18a|22w18a]])}} | style="text-align:left;" |Superseded by {{cmd|place}} | {{tc|-}} || {{tc|-}} || {{tc|no|removed}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|position}} | style="text-align:left;" |Toggles player coordinates to be displayed on the HUD. | data-sort-value="7 1.0.21" |{{nowrap|[[Education Edition 1.0.21]]}} | style="text-align:left;" |Superseded by {{cmd|gamerule}} | {{tc|-}} || {{tc|no|Removed}} || {{tc|-}} | {{tc|-}} || {{tc|no|0}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|replaceitem}}}} | style="text-align:left;" | Replaces items in inventories. | data-sort-value="4 1.17 20w46a" |{{nowrap|[[Java Edition 1.17]]}}<br>([[Java Edition 20w46a|20w46a]]) | style="text-align:left;" |Superseded by {{cmd|item}} | {{tc|yes|Available}} || {{tc|yes|Available}} || {{tc|no|removed}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|resupply}}}} | style="text-align:left;" |Update the [[villager]]s' supply for economic trade. | data-sort-value="9 ?" |'''?''' |'''?''' | {{tc|no|Removed}}|| {{tc|-}} || {{tc|-}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|setfixedinvslot}}}} | style="text-align:left;" |Sets fixed inventory slot with a specific item. | data-sort-value="5 0.16.0" |{{nowrap|[[Pocket Edition v0.16.0 alpha]]}}<br>([[Pocket Edition v0.16.0 alpha build 2|build 2]]) |'''?''' | {{tc|no|removed}} || {{tc|no|removed}} || {{tc|-}} | {{tc|-}} ||'''?'''||'''?''' | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|setfixedinvslots}}}} | style="text-align:left;" |Sets the amount of fixed inventory slots | data-sort-value="5 0.16.0" |{{nowrap|[[Pocket Edition v0.16.0 alpha]]}}<br>([[Pocket Edition v0.16.0 alpha build 2|build 2]]) |'''?''' | {{tc|no|removed}} || {{tc|no|removed}} || {{tc|-}} | {{tc|-}} ||ava Edi||on Inde | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|setspawn}}}} | style="text-align:left;" | Sets the current location as the default spawn location for new players | data-sort-value="2 0.31" |{{nowrap|[[Java Edition Indev 0.31]]}} | style="text-align:left;" |Superseded by {{cmd|setworldspawn}} | {{tc|-}} || {{tc|-}} || {{tc|no|removed}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|solid}}}} | style="text-align:left;" |Toggles between placing stone and placing bedrock | data-sort-value="2 0.31" |{{nowrap|[[Java Edition Indev 0.31]]}} | style="text-align:left;" | [[Bedrock]] was added to the creative inventory as a separate item | {{tc|-}} || {{tc|-}} || {{tc|no|removed}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|stats}}}} | style="text-align:left;" |Update objectives from command results | data-sort-value="4 1.13 17w45a" |{{nowrap|[[Java Edition 1.13]]}}<br>([[Java Edition 17w45a|17w45a]]) | style="text-align:left;" |Merged with {{cmd|execute}} | {{tc|-}} || {{tc|-}} || {{tc|no|removed}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|toggledownfall}}}} | style="text-align:left;" |Toggles the weather | data-sort-value="4 1.13 17w45a" |{{nowrap|[[Java Edition 1.13]]}}<br>([[Java Edition 17w45a|17w45a]]) | style="text-align:left;" |Redundancy with {{cmd|weather}} | {{tc|yes|Available}} || {{tc|yes|Available}} || {{tc|no|removed}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |- | style="text-align:left;" |{{cmd|transferserver}} | style="text-align:left;" |Transfer player to a server. | data-sort-value="6 1.2.3" |{{nowrap|[[Bedrock Edition 1.2.3]]}} |'''?''' | {{tc|no|removed}} || {{tc|no|removed}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{nowrap|{{cmd|unban}}}} | style="text-align:left;" |Pardons a banned player | data-sort-value="3 1.0.16" |{{nowrap|[[Java Edition Alpha v1.0.16]]}} | style="text-align:left;" |Superseded by {{cmd|pardon}} | {{tc|-}} || {{tc|-}} || {{tc|no|removed}} | {{tc|yes|3}} || {{tc|-}} || {{tc|yes|MP}} | {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|videostream}} | style="text-align:left;" |Attempts to connect to the websocket server to send a video stream. | data-sort-value="9 ?" |'''?''' |'''?''' | {{tc|no|Removed}}|| {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|yes|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|videostreamaction}} | style="text-align:left;" |Attempts to run a action on video stream. | data-sort-value="9 ?" |'''?''' |'''?''' | {{tc|no|Removed}}|| {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|yes|1}} || {{tc|-}} | {{tc|-}} || {{tc|yes|-}} || {{tc|-}} || {{tc|-}} |- | style="text-align:left;" |{{cmd|warden_spawn_tracker}} | style="text-align:left;" |Sets the spawn state of the warden. | data-sort-value="4 1.19 22w11a" |{{nowrap|[[Java Edition 1.19]]}}<br> ([[22w11a]]) | style="text-align:left;" |Temporary Command. | {{tc|-}} || {{tc|-}} || {{tc|no|Removed}} | {{tc|yes|2}} || {{tc|-}} || {{tc|-}} | {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}} |} ==== Other removed commands==== =====<small>Developer command</small>===== {{main|developer commands}} {{exclusive|bedrock|education|section=1}} Developer commands are only enabled in internal development builds of Bedrock Edition, and are not normally present in release versions. =====<small>Agent commands</small>===== {{education feature|section=1}} Superseded by {{cmd|agent}} *{{cmd|move}} *{{cmd|turn}} *{{cmd|attack}} *{{cmd|destroy}} *{{cmd|drop}} *{{cmd|dropall}} *{{cmd|inspect}} *{{cmd|inspectdata}} *{{cmd|detect}} *{{cmd|detectredstone}} *{{cmd|transfer}} *{{cmd|createagent}} *{{cmd|tpagent}} *{{cmd|collect}} *{{cmd|till}} *{{cmd|place|link=Commands/place (Bedrock Edition)}} *{{cmd|getitemcount}} *{{cmd|getitemspace}} *{{cmd|getitemdetail}} === Joke commands === These commands only exist in [[April Fools]] versions of the game. *{{cmd|debugdim}} *{{cmd|transform}} *{{cmd|vote}} *{{cmd|warp}}
Summary:
Please note that all contributions to Kiiw may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Kiiw:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information