Chat

**Chat** is the system by which players in a multiplayer game can communicate. Chat messages received are shown near the bottom left corner of the screen. Players can press `↵ Enter` to open the chat box, type a message, then press `↵ Enter` again to send it. It is also possible to cut, copy and paste entire messages being entered, using `Ctrl`+ `X`, `Ctrl`+ `C`, and `Ctrl`+ `V` respectively. The alternative shortcuts `⇧ Shift`+ `Delete`, `Ctrl`+ `Insert` and `⇧ Shift`+ `Insert`, respectively, also work.

While the chat box is open, a log of received messages is shown. Up to 500 messages can be remembered, and the `↑` and `↓` arrow keys scroll through the history.

Version 1.3 introduced tags, which can be used to display items in chat messages. To do this, have the inventory open before opening the chat box, and hold `Alt` while clicking an item in the main inventory to enter it into the message.

The server admin can use the "say" command to chat with their players from the console.

The chat display is functional in single player. It can still be used to enter messages or commands, though it is mainly used to display status messages, e.g. the beginning of an event or boss fight.

## Commands

For server commands, see Server#List of console commands.
The following commands can be used by all players on vanilla servers. Mods, such as TShock or TerrariaPatcher, allow the player to use other, more advanced commands.

If the server is using a language other than English, some commands will be different:

## Tags

     **PC/Console/Mobile/Old Chinese/tModLoader/tModLoader 1.3-Legacy-Only Content**: This **section's**  information applies *only* to the **PC**, **Console**, **Mobile**, **Old Chinese**, **tModLoader**, and **tModLoader Legacy** versions of *Terraria*.
Since version 1.3, chat messages can now contain tags. Tags change the way parts of messages are displayed. They are parts of a message in the format `[*tag*:*text*]` or `[*tag*/*options*:*text*]`.

Tags can also be used in Announcement Boxes.

The *options* parameter is optional, and the *tag* name must not exceed 10 letters.

The following tags currently exist:

### Color

* ``color`` or ``c`` – displays the *text* parameter in a different color. The *options* parameter specifies the color RGB values as a hexadecimal number.

Example: ``[c/FF0000:This text is red.]``

### Item

* ``item`` or ``i`` – displays an item. Moving the mouse over the item shows its normal tip text. The *text* parameter specifies the item type, either as a numeric ID or a name. The *options* parameter contains a comma-separated list of options that consist of a letter followed by a number. ``p`` specifies a modifier; ``s`` or ``x`` specify the number of stacked items.

Examples: ``[i/p57:4]`` displays a Ruthless Iron Broadsword (item ID 4); ``[i/s10:29]`` a stack of ten Life Crystals (item ID 29).
### Name

* ``name`` or ``n`` – displays a player's name in angle brackets. This is prepended to all messages from players. The characters ``[``, ``]``, and ``\`` can be escaped using a backslash.

Example: ``[n:Marcus]`` displays "<Marcus>". ``[n:\Ma\[rc\]us]`` displays "<\Ma[rc]us>".
### Achievement

* ``a`` – shows an achievement. Clicking on it shows the achievements dialog. The *text* parameter specifies the achievement via its internal key.

Example: ``[a:NO_HOBO]``.

### Glyphs

* ``glyph`` or ``g`` – displays a controller button. See the Glyphs section below for possible values.

Invalid tags (for example, a non-existent achievement), are displayed with the *text* parameter as normal text.

* Example: ``[g:0]`` displays
* Example: ``[g:16][g:16][g:15][g:15][g:14][g:13][g:14][g:13][g:1][g:0]`` displays the classic Konami Code:

## Notes

* Using multiple tags within each other is not possible; for example, `[c/ff0000:[n:Marcus]]` will result in "[n:Marcus]" with the last bracket not accepting the color. In addition, the name tag will not complete because of how the outside bracket was supposed to be used rather than the inside – order of operations, basically. However, it is possible to color a closing bracket if it directly follows the colon, so the output "[Marcus]" can be received by typing `[c/ff0000:[Marcus][c/ff0000:]]`.
* The ``c`` tag can work when it comes to renaming chests. However, with very limited characters, the player can only type 20 characters, including the characters for changing the color.
* The ``a`` tag is also registered in the code with the name ``achievement``; however, at 11 letters, this does not work.

## History

PC version
* Desktop 1.4.4: Commands `/death`, `/pvpdeath`, `/alldeath`, and `/allpvpdeath` were added.

* Desktop 1.3.2: Made improvement to chat tags and they should no longer break over long lines.

* Desktop 1.3.1: Glyph tag added.

* Desktop 1.3.0.1: Tags added.

* Desktop-Release: Introduced.

Console version
* Console-Release: Introduced.

Mobile version
* Mobile-Release: Introduced.

Nintendo 3DSversion
* 3DS-Release: Introduced.

1. ↑ Description from `/help` command