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>
/e <emote ID>
Show an emoji Makes the player use the respective emote, similar to directly using emote commands. n/a /emoji heart, /heart, and /e 0 all send 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 /d /g /p /p
/me /ich /moi /io /ja /eu /me /me
/playing
/players
/spielt
/Spieler
/en train de jouer
/joueurs
/gioca
/giocatori
/gra
/gracze
/jogando
/jogadores
/playing
/players
/playing
/players
/roll /rollen /lance les dés /numero /rzuć /rolar /roll /roll
/emoji
/e
/emoji
/e
/emoji
/e
/emoji
/e
/emotikon
/e
/emoji
/e
/emoji
/e
/emoji
/e
/help /hilfe /help /help /pomoc /ajuda /help /help
/rps /ssp /rps /rps /kpn /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.

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
Timber!!TIMBER
No HoboNO_HOBO
Stop! Hammer Time!OBTAIN_HAMMER
Heart BreakerHEART_BREAKER
Ooo! Shiny!OOO_SHINY
Heavy MetalHEAVY_METAL
I Am Loot!I_AM_LOOT
Star PowerSTAR_POWER
Hold on Tight!HOLD_ON_TIGHT
Eye on YouEYE_ON_YOU
Smashing, Poppet!SMASHING_POPPET
Worm FodderWORM_FODDER
MastermindMASTERMIND
Where's My Honey?WHERES_MY_HONEY
Sting OperationSTING_OPERATION
BonedBONED
Dungeon HeistDUNGEON_HEIST
It's Getting Hot in HereITS_GETTING_HOT_IN_HERE
Miner for FireMINER_FOR_FIRE
Still HungrySTILL_HUNGRY
It's Hard!ITS_HARD
Begone, Evil!BEGONE_EVIL
Extra Shiny!EXTRA_SHINY
Head in the CloudsHEAD_IN_THE_CLOUDS
Like a BossLIKE_A_BOSS
Buckets of BoltsBUCKETS_OF_BOLTS
Drax AttaxDRAX_ATTAX
PhotosynthesisPHOTOSYNTHESIS
Get a LifeGET_A_LIFE
The Great Southern PlantkillTHE_GREAT_SOUTHERN_PLANTKILL
Temple RaiderTEMPLE_RAIDER
Lihzahrdian IdolLIHZAHRDIAN_IDOL
Robbing the GraveROBBING_THE_GRAVE
Big BootyBIG_BOOTY
Fish Out of WaterFISH_OUT_OF_WATER
Obsessive DevotionOBSESSIVE_DEVOTION
Star DestroyerSTAR_DESTROYER
Champion of TerrariaCHAMPION_OF_TERRARIA
BloodbathBLOODBATH
Goblin PunterGOBLIN_PUNTER
Kill the SunKILL_THE_SUN
Walk the PlankWALK_THE_PLANK
Do You Want to Slay a Snowman?DO_YOU_WANT_TO_SLAY_A_SNOWMAN
Tin-Foil HatterTIN_FOIL_HATTER
Baleful HarvestBALEFUL_HARVEST
Ice ScreamICE_SCREAM
Slippery ShinobiSLIPPERY_SHINOBI
Sticky SituationSTICKY_SITUATION
Real Estate AgentREAL_ESTATE_AGENT
Not the Bees!NOT_THE_BEES
Jeepers CreepersJEEPERS_CREEPERS
FunkytownFUNKYTOWN
Into OrbitINTO_ORBIT
Rock BottomROCK_BOTTOM
Mecha MayhemMECHA_MAYHEM
Gelatin World TourGELATIN_WORLD_TOUR
Fashion StatementFASHION_STATEMENT
Vehicular ManslaughterVEHICULAR_MANSLAUGHTER
BulldozerBULLDOZER
There are Some Who Call Him...THERE_ARE_SOME_WHO_CALL_HIM
Deceiver of FoolsDECEIVER_OF_FOOLS
Sword of the HeroSWORD_OF_THE_HERO
Lucky BreakLUCKY_BREAK
Throwing LinesTHROWING_LINES
Dye HardDYE_HARD
The Frequent FlyerFREQUENT_FLYER
The CavalryTHE_CAVALRY
Completely AwesomeCOMPLETELY_AWESOME
Til Death...TIL_DEATH
ArchaeologistARCHAEOLOGIST
Pretty in PinkPRETTY_IN_PINK
Rainbows and UnicornsRAINBOWS_AND_UNICORNS
You and What Army?YOU_AND_WHAT_ARMY
PrismancerPRISMANCER
It Can Talk?!IT_CAN_TALK
Watch Your Step!WATCH_YOUR_STEP
Marathon MedalistMARATHON_MEDALIST
Glorious Golden PoleGLORIOUS_GOLDEN_POLE
Servant-in-TrainingSERVANT_IN_TRAINING
Good Little SlaveGOOD_LITTLE_SLAVE
Trout MonkeyTROUT_MONKEY
Fast and FishiousFAST_AND_FISHIOUS
Supreme Helper Minion!SUPREME_HELPER_MINION
Topped OffTOPPED_OFF
Slayer of WorldsSLAYER_OF_WORLDS
You Can Do It!YOU_CAN_DO_IT
Sick ThrowSICK_THROW
Matching AttireMATCHING_ATTIRE
BenchedBENCHED
Just DessertsDEFEAT_QUEEN_SLIME
Fae FlayerDEFEAT_EMPRESS_OF_LIGHT
Infinity +1 SwordGET_ZENITH
Hey! Listen!FIND_A_FAIRY
Don't Dread on MeDEFEAT_DREADNAUTILUS
Hero of EtheriaDEFEAT_OLD_ONES_ARMY_TIER3
A Rather Blustery DayFLY_A_KITE_ON_A_WINDY_DAY
HeliophobiaTURN_GNOME_TO_STATUE
Leading LandlordTALK_TO_NPC_AT_MAX_HAPPINESS
Boots of the HeroGET_TERRASPARK_BOOTS
Jolly JamboreeTHROW_A_PARTY
Feeling PettyPET_THE_PET
Hot Reels!GO_LAVA_FISHING
Quiet NeighborhoodFOUND_GRAVEYARD
Dead Men Tell No TalesDIE_TO_DEAD_MANS_CHEST
An Eye For An EyeDEFEAT_DEERCLOPS
Feast of MidasGET_GOLDEN_DELIGHT
Unusual Survival StrategiesDRINK_BOTTLED_WATER_WHILE_DROWNING
Black MirrorGET_CELL_PHONE
Ankhumulation CompleteGET_ANKH_SHIELD
Torch GodGAIN_TORCH_GODS_FAVOR
A Rare RealmPLAY_ON_A_SPECIAL_SEED
The Great Slime MitosisALL_TOWN_SLIMES
A Shimmer In The DarkTRANSMUTE_ITEM
And Good Riddance!PURIFY_ENTIRE_WORLD
To Infinity... and Beyond!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 /help command