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 999 messages can be remembered, and the `↑` and `↓` arrow keys scroll through the history.

The release 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 cannot be used to enter messages or commands, but solely displays status messages, e.g. the beginning of an event or boss fight.

## Chat

The following commands can be used by all players on vanilla servers. Mods, such as [Insert Mod Here] or [Insert Mod here], allow the player to use other, more advanced commands.

* `/me *action*` – sends a message as a third-person action, for example: "\* George sneezes."
* `/p *message*` – if the user is on a party, sends the message only to fellow party members.
* `/playing` or `/players` – gives a list of all players currently on the server.
* `/roll` – gives a random integer between 1 and 100 (inclusive).
* `help` - Displays a list of commands.
* `playing` - Shows the list of players. This can be used in-game by typing /playing into the chat.
* `clear` - Clear the console window.
* `exit` - Shutdown the server and save.
* `exit-nosave` - Shutdown the server without saving.
* `save` - Save the game world.
* `kick <player name>` - Kicks a player from the server.
* `ban <player name>` - Bans a player from the server.
* `password` - Show password.
* `password <pass>` - Change password.
* `version` - Print version number.
* `time` - Display game time.
* `port` - Print the listening port.
* `maxplayers` - Print the max number of players.
* `say <message>` - Send a message to all players. They will see the message in yellow prefixed with **<server>** in the chat.
* `motd` - Print MOTD.
* `motd <message>` - Change MOTD.
* `dawn` - Change time to dawn (4:30 AM).
* `noon` - Change time to noon (12:00 PM).
* `dusk` - Change time to dusk (7:30 PM).
* `midnight` - Change time to midnight (12:00 AM).
* `settle` - Settle all water.

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

Commands (Different Languages)
 /p
 /playing
 /roll
 /help

## Tags

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

The following tags currently exist:

* ``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`` 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`` 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>".
* ``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]``.
* ``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.