2️Using chat commands
Here's a real basic overview of how chat commands work on a Minecraft multiplayer server.
Last updated
Here's a real basic overview of how chat commands work on a Minecraft multiplayer server.
Last updated
Adapted from Minecraft.wiki: Commands, also known as console commands and slash commands, are advanced features activated by typing certain strings of text into the Minecraft game chat. Commands can be used for all sorts of cool added functions unique to multiplayer servers.
In the game, commands are entered via the chat window, which is displayed by pressing the T key, the / key, or / buttons if you are on Bedrock Edition[BE]. Using the / key also enters the forward-slash that commands require as a prefix, so it is a useful shortcut. The ↑ and ↓ arrow keys can be used to scroll through previously entered text, including all previously executed commands.
Arguments are phrases used in a command to modify what it does or who it targets. <arguments> are shown with comparison brackets, while arguments with multiple options are shown as <option1|option2|option3>.
For example, our /message command has the argument <player>, and the argument <message>. To use this command to send a private message to your friend Michael22, the following would be typed in chat:
/msg Michael22 Hello there! How are you?
In this command, /msg is an alias (or alternate way of writing the same command) for /message. The <player> argument has been replaced with Michael's Minecraft username, and the <message> we are sending is included at the end.
On Java Edition, when the cursor is at a location corresponding to some types of argument (such as a player name), a list of applicable values appears above the text box. If the argument is already containing some characters, the list displays only those values containing the typed command/text. Pressing while entering commands cycles through possible commands or arguments, and can be used to auto-enter them, which is why this is often referred to as "tab-completion."
On Dormcraft, chat commands are used to teleport to players, control settings, make shops, and more. You can find more info about how we use commands throughout this wiki, or check out the Command Reference page if you want all the little details.