Chat

From Terraria Wiki
Jump to navigation Jump to search
This article has open info requests.
 
The following is a list of requests for additions or changes to this article. See Category:Article info requests for all current requests across Terraria Wiki.

Control keys related with chat on different game platforms, mainly console versions

When a request is fulfilled, edit this page and remove it. When all requests are fulfilled, remove the {{info request}} template from this page.


Chat is the system by which players in a multiplayer game can communicate. On Desktop version Desktop version, 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.

The following are the keys used for opening chat on other game platforms:

  • Xbox Xbox: LB + D-pad down.

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.

Tags can be used to format messages, allowing the player to change text color or even post game objects. This can be used to send items in chat. 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.[1]

Note that some mods, such as TShock or TerrariaPatcher, allow the player to use other, more advanced commands, which are not discussed here.

Command Ingame description[2] Notes Text color Example
/p <message> Send the message to your party members If the user is in a team, the message is only sent to fellow team members. The color of the text will be the same as the team's color.
If the player is not in any team, informs them with a status message.
 #CC3333
 #3BDA55
 #3B95DA
 #F2DD64
 #E064F2
 #FFF014
<Player_name> message (Red team)

You are not in a party! (When player is not in any team)

/me <message> Send the message in third-person perspective Displays text starting with an asterisk, followed by the player's name and the message.  #CC6600 * Player_name message
/playing
/players
List the names of all players on the server Gives a list of player names, divided by commas.  #FFF014 Player_name1, Player_name2
/roll Roll a number from 1 to 100 Gives a random integer between 1 and 100 (inclusive).  #FFF014 * Player_name rolls a 83
/emoji <emote>
/e <emote>
Show an emoji Makes the player use the respective emote, similar to directly using emote commands. n/a /emoji heart and /heart both sends the Emote Emotion Love.gif "Emotion Love" emote.
/help Lists all the commands you can use List all commands and their description.  #FFF014 /p message: Send the message to your party members
/rps Randomly uses a Rock, Paper, or Scissors emote Makes the player randomly use an emote among "RPS Rock", "RPS Paper", and "RPS Scissors". n/a Emote RPS Rock.gif Emote RPS Paper.gif Emote RPS Scissors.gif
/death Shows your number of deaths Displays the current character's total death count. This death count, as well as the following counts, is tracked per character.  #FF1919 *Player_name was slain 5 times.
/pvpdeath Shows your number of PVP deaths Displays the current character's total PvP death count (i.e. deaths caused by other players).  #FF1919 *Player_name was slain by other players 5 times.
/alldeath Shows everyone's number of deaths Displays death count of all the players in the server.  #FF1919 *Player_name1 was slain 5 times.

*Player_name2 was slain 1 time.

/allpvpdeath Shows everyone's number of PVP deaths Displays PvP death count of all the players in the server.  #FF1919 *Player_name1 was slain by other players 5 times.

*Player_name2 was slain by other players 1 time.

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

English German French Italian Polish Portuguese Russian Chinese
/p /g /g /s /p /g /p <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-0">Lua error: not enough memory.</span></strong>
/me /ich /moi /io /me /eu /me /me
/playing
/players
/spielt
/Spieler
/en train de jouer
/joueurs
/gioca
/giocatori
/playing
/players
/jogando
/jogadores
/playing
/players
/playing
/players
/roll /rollen /lance les dés /numero /roll /rolar /roll /roll
/emoji
/e
/emoji
/e
/emoji
/e
/emoji
/e
/emoji
/e
/emoji
/e
/emoji
/e
/emoji
/e
/help /hilfe /help /help /help /ajuda /help /help
/rps /ssp /rps /rps /rps /ppt /rps /rps
/death /Tod /death /death /death /death /death /death
/pvpdeath /PvPtod /pvpdeath /pvpdeath /pvpdeath /pvpdeath /pvpdeath /pvpdeath
/alldeath /alletod /alldeath /alldeath /alldeath /alldeath /alldeath /alldeath
/allpvpdeath /allePvPtod /allpvpdeath /allpvpdeath /allpvpdeath /allpvpdeath /allpvpdeath /allpvpdeath

Tags

Desktop versionConsole versionMobile version
Desktop/Console/Mobile-Only Content: This section's information applies only to the Desktop, Console, and Mobile versions of Terraria.

Tags change the way parts of messages are displayed, formatted as either [identifier:text] or [identifier/options:text]. They can also be used in Announcement Boxes.

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

Using multiple tags within each other is not possible; for example, [c/ff0000:[n:Player]] will result in "[n:Player]" 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 "[Player]" can be received by typing [c/ff0000:[Player][c/ff0000:]].

Color

An Announcement Box being used to print chat messages in various colors, plus an example of a gradient.
  • Identifier:
    • color
    • c

The color tag 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.] displays "This text is red."
Status message colors
Color Usage Example
 #FFFFFF Player chat messages. Using an Announcement Box,
the text will be indistinguishable from an actual player's input.
n/a
 #32FF82 When most events begin. "The Blood Moon is rising..."
"Impending doom approaches..."
 #AF4BFF When an invasion begins, or when a boss is defeated or summoned. "Skeletron has awoken!"
 #E11919 When a player dies. "<Player name> was slain"
 #FF1919 When a town NPC or pet dies. "<Name of NPC> the <type of NPC> was slain..."
 #327DFF When a town NPC or pet arrives. "<Name of NPC> the <type of NPC> has arrived!"
 #FFF014 General status messages. "Spawn point set!"
"You are not close enough to a pylon to teleport with the pylon network"
 #FF00A0 When an NPC throws a Party. "Looks like <name of NPC> is throwing a party"

One can achieve a color shift/gradient by using many color tags back to back:

  • Example: [c/FF0000:R][c/DF0020:e][c/BF0040:d] [c/9F0060:t][c/800080:o] [c/60009F:b][c/40009F:l][c/2000DF:u][c/0000FF:e] displays "Red to blue"
  • This website can be used to find the hex codes for gradients.

Item

  • Identifier:
    • item
    • i

The item tag displays an item icon. Hovering over it will show its normal tooltip. The text parameter specifies the item type, as a numeric ID, or as the internal name of the item. 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.

All items in chat occupy the same width and height, and will be scaled down if necessary to fit.

  • Example: [i:2] displays a [[Lua error: not enough memory.]] (item ID 2)
  • Example: [i/p57:4] displays a Ruthless [[Lua error: not enough memory.]] (item ID 4)
  • Example: [i/s10:29] a stack of ten [[Lua error: not enough memory.]]s (item ID 29)

Name

  • Identifier:
    • name
    • n

The name tag 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:Player] displays "<Player>"
  • Example: [n:\Pl\[ay\]er] displays "<\Pl[ay]er>"

Achievement

  • Identifier:
    • a

The achievement tag displays an achievement's name in light blue. Clicking on it will open the achievements menu at the achievement's position. The text parameter specifies the achievement via its internal name.

This tag is also registered in the code with the identifier achievement; however, at 11 characters, this does not work.

  • Example: [a:NO_HOBO]
  • Example: [a:PLAY_ON_A_SPECIAL_SEED]
Achievement internal names
Achievement Internal name
Lua error: not enough memory.TIMBER
Lua error: not enough memory.NO_HOBO
Lua error: not enough memory.OBTAIN_HAMMER
Lua error: not enough memory.HEART_BREAKER
Lua error: not enough memory.OOO_SHINY
Lua error: not enough memory.HEAVY_METAL
Lua error: not enough memory.I_AM_LOOT
Lua error: not enough memory.STAR_POWER
Lua error: not enough memory.HOLD_ON_TIGHT
Lua error: not enough memory.EYE_ON_YOU
Lua error: not enough memory.SMASHING_POPPET
Lua error: not enough memory.WORM_FODDER
Lua error: not enough memory.MASTERMIND
Lua error: not enough memory.WHERES_MY_HONEY
Lua error: not enough memory.STING_OPERATION
Lua error: not enough memory.BONED
Lua error: not enough memory.DUNGEON_HEIST
Lua error: not enough memory.ITS_GETTING_HOT_IN_HERE
Lua error: not enough memory.MINER_FOR_FIRE
Lua error: not enough memory.STILL_HUNGRY
Lua error: not enough memory.ITS_HARD
Lua error: not enough memory.BEGONE_EVIL
Lua error: not enough memory.EXTRA_SHINY
Lua error: not enough memory.HEAD_IN_THE_CLOUDS
Lua error: not enough memory.LIKE_A_BOSS
Lua error: not enough memory.BUCKETS_OF_BOLTS
Lua error: not enough memory.DRAX_ATTAX
Lua error: not enough memory.PHOTOSYNTHESIS
Lua error: not enough memory.GET_A_LIFE
Lua error: not enough memory.THE_GREAT_SOUTHERN_PLANTKILL
Lua error: not enough memory.TEMPLE_RAIDER
Lua error: not enough memory.LIHZAHRDIAN_IDOL
Lua error: not enough memory.ROBBING_THE_GRAVE
Lua error: not enough memory.BIG_BOOTY
Lua error: not enough memory.FISH_OUT_OF_WATER
Lua error: not enough memory.OBSESSIVE_DEVOTION
Lua error: not enough memory.STAR_DESTROYER
Lua error: not enough memory.CHAMPION_OF_TERRARIA
Lua error: not enough memory.BLOODBATH
Lua error: not enough memory.GOBLIN_PUNTER
Lua error: not enough memory.KILL_THE_SUN
Lua error: not enough memory.WALK_THE_PLANK
Lua error: not enough memory.DO_YOU_WANT_TO_SLAY_A_SNOWMAN
Lua error: not enough memory.TIN_FOIL_HATTER
Lua error: not enough memory.BALEFUL_HARVEST
Lua error: not enough memory.ICE_SCREAM
Lua error: not enough memory.SLIPPERY_SHINOBI
Lua error: not enough memory.STICKY_SITUATION
Lua error: not enough memory.REAL_ESTATE_AGENT
Lua error: not enough memory.NOT_THE_BEES
Lua error: not enough memory.JEEPERS_CREEPERS
Lua error: not enough memory.FUNKYTOWN
Lua error: not enough memory.INTO_ORBIT
Lua error: not enough memory.ROCK_BOTTOM
Lua error: not enough memory.MECHA_MAYHEM
Lua error: not enough memory.GELATIN_WORLD_TOUR
Lua error: not enough memory.FASHION_STATEMENT
Lua error: not enough memory.VEHICULAR_MANSLAUGHTER
Lua error: not enough memory.BULLDOZER
Lua error: not enough memory.THERE_ARE_SOME_WHO_CALL_HIM
Lua error: not enough memory.DECEIVER_OF_FOOLS
Lua error: not enough memory.SWORD_OF_THE_HERO
Lua error: not enough memory.LUCKY_BREAK
Lua error: not enough memory.THROWING_LINES
Lua error: not enough memory.DYE_HARD
Lua error: not enough memory.FREQUENT_FLYER
Lua error: not enough memory.THE_CAVALRY
Lua error: not enough memory.COMPLETELY_AWESOME
Lua error: not enough memory.TIL_DEATH
Lua error: not enough memory.ARCHAEOLOGIST
Lua error: not enough memory.PRETTY_IN_PINK
Lua error: not enough memory.RAINBOWS_AND_UNICORNS
Lua error: not enough memory.YOU_AND_WHAT_ARMY
Lua error: not enough memory.PRISMANCER
Lua error: not enough memory.IT_CAN_TALK
Lua error: not enough memory.WATCH_YOUR_STEP
Lua error: not enough memory.MARATHON_MEDALIST
Lua error: not enough memory.GLORIOUS_GOLDEN_POLE
Lua error: not enough memory.SERVANT_IN_TRAINING
Lua error: not enough memory.GOOD_LITTLE_SLAVE
Lua error: not enough memory.TROUT_MONKEY
Lua error: not enough memory.FAST_AND_FISHIOUS
Lua error: not enough memory.SUPREME_HELPER_MINION
Lua error: not enough memory.TOPPED_OFF
Lua error: not enough memory.SLAYER_OF_WORLDS
Lua error: not enough memory.YOU_CAN_DO_IT
Lua error: not enough memory.SICK_THROW
Lua error: not enough memory.MATCHING_ATTIRE
Lua error: not enough memory.BENCHED
Lua error: not enough memory.DEFEAT_QUEEN_SLIME
Lua error: not enough memory.DEFEAT_EMPRESS_OF_LIGHT
Lua error: not enough memory.GET_ZENITH
Lua error: not enough memory.FIND_A_FAIRY
Lua error: not enough memory.DEFEAT_DREADNAUTILUS
Lua error: not enough memory.DEFEAT_OLD_ONES_ARMY_TIER3
Lua error: not enough memory.FLY_A_KITE_ON_A_WINDY_DAY
Lua error: not enough memory.TURN_GNOME_TO_STATUE
Lua error: not enough memory.TALK_TO_NPC_AT_MAX_HAPPINESS
Lua error: not enough memory.GET_TERRASPARK_BOOTS
Lua error: not enough memory.THROW_A_PARTY
Lua error: not enough memory.PET_THE_PET
Lua error: not enough memory.GO_LAVA_FISHING
Lua error: not enough memory.FOUND_GRAVEYARD
Lua error: not enough memory.DIE_TO_DEAD_MANS_CHEST
Lua error: not enough memory.DEFEAT_DEERCLOPS
Lua error: not enough memory.GET_GOLDEN_DELIGHT
Lua error: not enough memory.DRINK_BOTTLED_WATER_WHILE_DROWNING
Lua error: not enough memory.GET_CELL_PHONE
Lua error: not enough memory.GET_ANKH_SHIELD
Lua error: not enough memory.GAIN_TORCH_GODS_FAVOR
Lua error: not enough memory.PLAY_ON_A_SPECIAL_SEED
Lua error: not enough memory.ALL_TOWN_SLIMES
Lua error: not enough memory.TRANSMUTE_ITEM
Lua error: not enough memory.PURIFY_ENTIRE_WORLD
Lua error: not enough memory.TO_INFINITY_AND_BEYOND

Glyph

  • Identifier:
    • glyph
    • g

The glyph tag displays a controller button. The text parameter specifies the type of glyph by its index.

Note that this outputs literal button glyphs, and the output may not match functions assigned in the player's current control scheme. While minor, this could limit their usefulness.

  • Example: [g:0] displays A
  • 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: D-pad UpD-pad UpD-pad DownD-pad DownD-pad LeftD-pad RightD-pad LeftD-pad RightBA
Glyphs
Index Image Description
0 A A
1 B B
2 X X
3 Y Y
4 Back Back
5 Start Start
6 Left Shoulder Button Left shoulder button
7 Right Shoulder Button Right shoulder button
8 Left Trigger Left trigger
9 Right Trigger Right trigger
10 Left Stick Left stick
11 Right Stick Right stick
12 Undefined Stick Undefined stick
13 D-pad Right D-pad right
14 D-pad Left D-pad left
15 D-pad Down D-pad down
16 D-pad Up D-pad up
17 Left Stick Left Left stick left
18 Left Stick Right Left stick right
19 Left Stick Up Left stick up
20 Left Stick Down Left stick down
21 Right Stick Left Right stick left
22 Right Stick Right Right stick right
23 Right Stick Up Right stick up
24 Right Stick Down Right stick down
25 Left Stick Wiggling Left and Right Left stick wiggling left and right

Notes

  • On the Desktop version Desktop version, tags can be used when renaming chests. However, the total count of the characters is very limited (only up to 20 characters), including the characters used for tags.

History

  • Desktop 1.4.4: /death, /pvpdeath, /alldeath, and /allpvpdeath commands added.
  • Desktop 1.3.2: Made improvement to chat tags and they should no longer break over long lines.

References

  1. Information taken from the Desktop version Desktop 1.4.4.9 source code, namespace Terraria.Chat.Commands
  2. Description from Lua error: not enough memory. command

Lua error: not enough memory.

Lua error: not enough memory.