A multiplayer chat snippet.
Shows (from up to down) bold, strikethrough, underlined, italicized, and reset (§r) text (also default)
Chat is a messaging system used to communicate with other players, or to enter commands.
Several of these commands are configurable (the defaults are shown here).
Players can press T for keyboards,
for touchscreens,[BE & edu only] or
for controllers[BE only] to open the chat and talk to other players. Chat functions include:
- Chat history - A small scroll bar is on the side of the chat bar. The player can also scroll using the mouse wheel or PgUp and PgDn. The last 100 chat messages are stored. Holding down ⇧ Left Shift or ⇧ Right Shift and attempting to scroll up or down slows down scrolling.
- The player can view their own recently sent messages by pressing the ↑ and ↓ keys while typing.
- Clickable links can be pasted in chat.
- The ability to copy (Ctrl + C) and paste (Ctrl + V) in chat (⌘ Cmd is used as a replacement for Ctrl on some Macs). ⇧ Shift + ↑, ↓, ←, → selects text for the player.
- Font styling: the section symbol (
§) allows players to change the style of the text. See the list of formatting codes for further details.- Note: the section symbol cannot be typed in vanilla clients because they are restricted characters. Even in single player, if
§is pasted and posted in chat, the player who sent it is automatically kicked with an "Illegal characters in chat" message, and a server-sidedisconnect.endOfStreamerror is given. Even in single player, the only available button opens the server selection screen.
- Note: the section symbol cannot be typed in vanilla clients because they are restricted characters. Even in single player, if
- On Bedrock Edition, certain emojis appear as icons in-game, such as the hunger and armor icons.[1] Other emojis and unknown characters show up as a question mark (
?).
Players can also type commands into the chatbox. Commands are identified by the server with the use of a forward slash (/) at the beginning of the message.
- Simply pressing / acts like a command key; it opens the chat with a
/in it.- Typing / and then pressing Tab ↹ lists available commands, similar to entering the
/helpcommand.
- Typing / and then pressing Tab ↹ lists available commands, similar to entering the
While typing, pressing Tab ↹ autocompletes the first possible command or username starting with the letter(s) typed. If there are multiple usernames or commands beginning with the letter(s), the chat displays a list of possibilities; pressing tab again scrolls through the list.
- Some commands may also have additional parameters that may be autocompleted by pressing Tab ↹ at that point.
- Certain commands that handle blocks (
/blockdata,/fill, etc.) have parameters that need the x, y, and z coordinates of the target block(s). Using the Tab ↹ key when these coordinates are needed automatically adds the coordinates of the block the player is looking at.
- Certain commands that handle blocks (
In Java Edition, the chatbox can be reduced in size, the opacity may be adjusted or it may be hidden via the chat settings in the options menu. In Bedrock Edition, the chat settings are found within the chat screen and include options to change the color of the chat, the font, and its size.
In Bedrock Edition, swear words in multiple languages are censored and show up as asterisks.
Errors
If the player types a nonexistent command, the command contains syntax errors, or the player does not have permission to use the specified command, the player receives an error message and the command does not function.
The user then receives an error message that is only seen by the user who has done the error that can be of all reasons why above.
History
| Java Edition Classic | |||||
|---|---|---|---|---|---|
| 0.0.15a (Multiplayer Test 5) | Added the chat system. | ||||
| Chat is available in singleplayer, though attempting to send any messages crashes the game. | |||||
| 0.0.17a | A chat log now appears when typing. | ||||
| Chat is no longer available in singleplayer. | |||||
| 0.0.18a_02 | The characters \, |, @, and $ can now be entered into chat. | ||||
| Java Edition Indev | |||||
| 0.31 | 20091223-1 | Chat is no longer available due to multiplayer being made partially inaccessible in this version. | |||
| Java Edition Alpha | |||||
| v1.0.9 | In private multiplayer testing, the chat system has been reintroduced along with Unicode support.[2] | ||||
| v1.0.12 | Chat now has word wrapping. | ||||
| Java Edition | |||||
| 1.2.4 | Added chat history and improved chat editing. | ||||
| Links are now clickable in chat. | |||||
| Text can now be copied and pasted. | |||||
| When typing a player's name, pressing Tab ↹ will automatically fill in the rest of the username. | |||||
| 1.3.1 | 12w16a | Chat can now be used to enter commands in singleplayer. | |||
| 1.7.2 | 13w37a | "Saved screenshot as" messages can now be clicked to open the screenshot. | |||
| Added the ability to open a URL from the chat by clicking on it. | |||||
| Names can now be clicked to send people private messages. | |||||
Added support for both hover and click events in the chat through /tellraw <player> <raw json message>. | |||||
| 1.8 | 14w02a | Messages are now either chat, system, or action bar messages. Action bar messages are always shown, while chat and system messages are shown only if chat settings are configured to show them. | |||
| Some instances of usernames in the chat will now show the player's UUID when hovered on when debug tooltips are enabled. | |||||
| ? | Chat communication has been improved. | ||||
| Entities now have tooltips in certain chat instances when hovered over. | |||||
| F3 + D now clears the chat history, including previously typed commands. | |||||
| 1.11 | 16w32a | Some warnings now appear above the hotbar instead of in the chat, like "Press [key] to dismount" had. | |||
| 16w38a | Chat messages can now be 256 characters long instead of 100. | ||||
| 1.16 | 20w15a | Chat line spacing can now be adjusted. | |||
| A chat delay can be set between 0 (default) and 6 seconds. | |||||
| 1.16.4 | Pre-release 1 | Added the social interactions screen, which can be used to disable chatting with certain players. | |||
| Release Candidate 1 | Added an option to hide matched names in chat. | ||||
| 1.19 | 22w17a | Chat messages between players are now cryptographically signed. | |||
| Players are given a Mojang provided key-pair on startup. | |||||
Chat styling is now handled via server resource packs with the translation key chat.type.text. | |||||
| 22w18a | Chat from the /say, /msg, /teammsg, and /me commands are now all also cryptographically signed.
| ||||
Servers can now define different chat style formats for clients, which can now be controlled by the server through the chat_type registry (found under the worldgen folder in the vanilla report). | |||||
| 22w19a | Servers can now enable chat preview, which displays a server-controlled preview above the chat edit box, showing how the message appears when sent. | ||||
| Pre-release 1 | A chat preview is now also shown for chat-related commands, such as /say and /msg. | ||||
| Upcoming Java Edition | |||||
| 1.19.1 | 22w24a | It is now possible to report a player for sending abusive messages in the chat via the social interactions screen. | |||
| Pre-release 2 | Messages that are not signed with the Secure Chat system, or have been tampered with by the server will now be marked. | ||||
| The trust status of messages are displayed with both a colored indicator and an icon. Hovering over the icon will provide more information about the trust status. | |||||
| Pre-release 3 | Moved the chat scrollbar to the right of the chat window. | ||||
| System messages are now displayed with a gray color indicator. | |||||
The msg_command chat type has been split apart into msg_command_incoming and msg_command_outgoing. | |||||
The team_name chat type parameter has been renamed to target. | |||||
| Pre-release 4 | Insecure chat messages logged in the server are prefixed with a [Not Secure] tag.
| ||||
| The order of chat messages is now cryptographically verified. | |||||
| Pocket Edition Alpha | |||||
| v0.7.0 | Added the chat system. | ||||
| v0.7.2 | Made some changes to the chat GUI, including making the "Done" button smaller, adding a button to show/hide the keyboard, and making the chat log visible when entering a message. | ||||
| Added Unicode support to chat. | |||||
| v0.7.4 | Support for entering commands into chat has been added. No commands have been implemented, however. | ||||
| v0.8.0 | build 1 | Text being entered into chat no longer extends outside the chat screen. | |||
| v0.9.0 | build 1 | It is no longer possible to interact with the world when tapping on the chat button. | |||
| v0.10.0 | build 1 | The outline of chat messages ends where the message ends and is no longer the width of the entire screen. | |||
| v0.11.0 | build 1 | Added a "hide" button to the chat screen. | |||
| v0.12.1 | build 1 | Relocated the chat button to the top-middle of the screen in Survival mode. | |||
| build 7 | The player can now use chat while in a bed. | ||||
| v0.14.0 | build 1 | Fixed being unable to use colors in chat.[more information needed] | |||
| Pocket Edition | |||||
| 1.0.0 | alpha 1.0.0.0 | Moved the position of chat messages so they no longer cover life points, armor, etc. | |||
| Bedrock Edition | |||||
| 1.2.0 | beta 1.2.0.2 | The chat screen can now be closed by pressing Enter when no text is present. | |||
| Chat messages can now be muted. | |||||
| 1.7.0 | beta 1.7.0.2 | Mentions of player names are now highlighted yellow in chat. | |||
| Typing @ in chat will now show an autocomplete list of player names. | |||||
| 1.9.0 | beta 1.9.0.0 | A notification is now sent to chat when a tamed animal dies. | |||
| 1.11.0 | beta 1.11.0.4 | The message "Press T, ↵ Return, or Gamepad Button8 to open chat" is now sent when the player opens a world. | |||
| 1.13.0 | beta 1.13.0.2 | Added the ability to disable the chat prompt after entering the world. | |||
| ? | Added the ability to change chat color and font. | ||||
| 1.18.30 | release | When entering a message in chat, Ctrl + ← Backspace will now erase the whole word before the caret, Ctrl + Delete will erase the whole word after the caret, Ctrl + ← will move the caret to the beginning of the word before the caret, andCtrl + → will move the caret to the beginning of the next word after the caret. | |||