Guide to Minecraft Commands

INTRODUCTION TO MINECRAFT COMMANDS

Throughout your journey into the lands of Minecraft, you’ll gather resources, create useful tools and weapons, build your dream establishments, and take on the most dangerous bosses hiding in the shadows. As you survive in this blocky world of Minecraft, you can take advantage of Minecraft console commands to help you and assist against dangers to make for an improved adventure with your friends!

The use of Minecraft commands brings many benefits for you and your players whether you’re spawning in blocks to build with, creating the most powerful enchanted sword, setting a world border, or adding a scoreboard to your server, nearly anything is possible with the right command. Get your friends together and prepare to unlock endless new possibilities as we show you how to use Minecraft commands and the many commands you can use on your Minecraft server!

HOW TO USE MINECRAFT COMMANDS

  1. Open Minecraft and either start a single-player world or join a server.
  2. In Minecraft, press “Enter” to open the chat.
  3. You can now type commands into the chat like this:
    using Minecraft commands

USING MINECRAFT ADMIN COMMANDS

If you wish to run admin commands, you will need to ensure you are a Minecraft admin.

  • In single-player, you can pause and press “Open to LAN” and allow cheats to enable admin commands.
    Create LAN Minecraft server

  • On a server, on the left under “TOOLS” press “Live Server Console”. In the console, type the command “op USERNAME” to provide your account with Operator status to run Minecraft admin commands.
    Minecraft server console

MINECRAFT COMMANDS LIST

list of Minecraft commands

COMMAND SYNTAX GUIDE

In the list of Minecraft commands seen below, there are many variables/syntax that can be included or may be required when using a command. Below, we have included a syntax guide that you can use to determine when you may need to include more information in a command.

SYNTAX MEANING
<name> An argument that needs to be replaced with the correct value.
[name] This is an optional entry for the command.
(name|name) You are required to pick one of the entries shown in the command.
[name|name] It is optional to pick one of the entries shown in the command.

PLAYER COMMANDS

PLAYER COMMAND DESCRIPTION
/me <action message> Displays a message that the player is performing.
/? or /help Provide a list of Minecraft commands and how to use them.
/list Lists all players currently on the Minecraft server.
/tell or /w or /msg <target> <message> Messages a player directly.
/seed Displays the world seed of the world you’re inside of.
/tm or /teammsg Sends a message to your team.
/trigger <objective> <add|set> <value> Works in conjunction with the scoreboard commands to set and add triggers.

OP & ADMIN COMMANDS

ADMIN COMMAND DESCRIPTION
/advancement (grant |revoke) Provides, removes, or checks player advancements.
/attribute <target> <attribute> (get |base |modifier) Queries, adds, removes, or sets a specific attribute to an entity.
/execute (run |if |unless |as |at |store |positioned |rotated |facing |align |anchoredlin) Used to execute another command allowing to change the executor, the position, and angle it was executed at.
/bossbar (add |remove |list |set |get) Create, modify, and remove a bossbar.
/clear <targets> Clears items from your or a specific target’s inventory.
/data (merge |get |remove| modify) Gathers, merges, modifies, and removes block entity and entity NBT data.
/datapack (enable |disable |list) Enables, disables, and lists datapacks that are installed.
/debug (enable |disable |list) Begins and disables debugging, allowing for listing of the data.
/defaultgamemode (survival |creative |adventure |spectator) Sets the default gamemode for the game or server.
/difficulty [peaceful |easy |normal |hard] Changes your player difficulty.
/effect (clear |give) [target] Adds or removes status effects. Target is optional.
/enchant <target> <enchantment> <level> Add an specific enchantment and level to the specified player.
/xp or /experience (add |set |query) Adds or sets a player to a specified amount of experience points.
/forceload (add |remove |query) Adds and removes chunks that remain constantly loaded.
/function <name> Runs a specified function.
/gamerule <gamerule> Allows for adding, removing, and modifying gamerules.
/give <target> <item> <amount> Gives a player a specific amount of items.
/item (replace |modify) Manipulates items inside of a player’s inventory.
/kick <target> <reason> Kicks a player off of a server.
/kill <target> Used to kill entities including players, mobs, and items.
/locate <structure |biome |poi> Locates the closet structure, biome, or point of interest.
/loot (replace |insert |give |spawn) Drops items from an inventory slot onto the floor.
/fill <from> <to> <block> [replace|keep|outline|
hollow|destroy]
Fills in a region with a specific type of block.
/clone <begin> <end> <destination> [replace|masked|filtered] Copies blocks from one place to another location.
/place (feature |jigsaw |structure |template) Run this command to place specific features, jigsaw, or structures at a set location.
/setblock <pos> <block> [destroy |keep |replace] Changes or removes blocks in a specific location.
/particle <name> <pos> Creates a specific particle as a set location.
/playsound <sound> (master |music |record |weather |block |hostile |neutral |player |ambient |voice) Plays the specified sound.
/stopsound <targets> (* |master |music |record |weather |block |hostile |neutral |player |ambient |voice) Stops the specified sound or all sounds if * is used.
/reload Reloads loot tables, advancements, and functions for the game and server.
/recipe (give |take) Will give or take a player recipes.
/say <message> Broadcasts a message.
/schedule (function |clear) Will schedule a delay for a specific function.
/scoreboard (objectives |players) Used to modify and create scoreboards.
/setworldspawn <pos> Sets the default world spawn point.
/spectate <target> Makes a player in spectator mode spectate a player.
/spreadplayers <center> <spreadDistance> <maxRange> (<respectTeams>|under) Teleports player entities to random locations.
/summon <entity> <pos> Spawns in a specific entity.
/tag <targets> (add |remove |list) Add, remove, and list specific entity tags.
/team (list |add |remove |empty |join |leave |modify) Create, join, leave, and modify teams.
/tp or /teleport (<location>|<destination>|<targets>) Teleports a specified player to a location.
/tellraw <target> <message> Sends a JSON based message to a player.
/time (set |add |query) Changes the time on the game and server.
/title <target> (clear |reset |title |subtitle |actionbar |times) Allows for managing titles and subtitles that display.
/weather (clear |rain |thunder) Sets the weather from clear, rain, and thunder.
/wordborder (add |set |center |damage |get |warning) Adds or removes a Worldborder.
/jfr (start |stop) Starts and stops JFR profiling.
/publish Opens a single player world to your local network for a LAN server.

MINECRAFT SERVER TYPE & PLUGIN COMMANDS

Along with regular Minecraft commands, different Minecraft server types, Minecraft plugins, and Minecraft mods can be installed to a server to add even more content and this includes new commands. Since there are many different server types, plugins, and mods, we will only provide a few examples and we recommend checking for a wiki page for that particular installation to learn more about the commands offered from that!

  • Minecraft plugin - EssentialsX | New commands are featured in this plugin including /fly, /ban, /banip, /repair, /home, /setspawn, /invsee, and so many more that enhance Minecraft servers. *Requires a Minecraft server using Spigot/Paper server types.
  • Minecraft server type - Paper | This server type adds support for plugins to a server and commands such as /plugins, /timings, /ban, and /version.
  • Minecraft server type - Forge | Installing this server type adds support for mods to a Minecraft server, including new commands such as /forge tps, /forge track, forge generate, and forge entity.

CONCLUSION

When using Minecraft commands on your server, you access a key that unlocks and enhances all aspects of your server including the joy players will have as they play and try out these new features! No matter if you’re looking to create the most overpowered weapons and armor in the game, copying and pasting builds to different parts of the map, or creating your own custom RPG world with unique sounds, there are commands for every type of player and idea imaginable. Start using commands on your own Minecraft game server and see what you can create!

Jul 3, 12:00 pm
9807
Kevin Lott
Your reaction

0

0

0

0

0

0

0