(Editing) Tags: Visual edit Mobile edit Mobile web edit |
m (→Glyphs) |
||
(11 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
− | ''' |
+ | '''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 {{key|chat}} to open the chat box, type a message, then press {{key|chat}} again to send it. It is also possible to cut, copy and paste entire messages being entered, using {{key|Ctrl}}+ {{key|X}}, {{key|Ctrl}}+ {{key|C}}, and {{key|Ctrl}}+ {{key|V}} respectively. The alternative shortcuts {{key|Shift}}+ {{key|Delete}}, {{key|Ctrl}}+ {{key|Insert}} and {{key|Shift}}+ {{key|Insert}}, respectively, also work. |
− | While the chat box is open, a log of received messages is shown. Up to |
+ | While the chat box is open, a log of received messages is shown. Up to 500 messages can be remembered, and the {{key|↑}} and {{key|↓}} arrow keys scroll through the history. |
{{eil|1.3.0.1|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 {{key|Alt}} while clicking an item in the main inventory to enter it into the message. |
{{eil|1.3.0.1|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 {{key|Alt}} while clicking an item in the main inventory to enter it into the message. |
||
− | The server admin can use the [[Server#List of console commands|" |
+ | The server admin can use the [[Server#List of console commands|"say" command]] to chat with their players from the console. |
− | The chat display is functional in single player. It |
+ | 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 == |
== Commands == |
||
Line 13: | Line 13: | ||
The following commands can be used by all players on vanilla servers. [[Mods]], such as [https://github.com/NyxStudios/TShock/releases TShock] or [https://forums.terraria.org/index.php?threads/1-3-terrariapatcher-plugins-and-more-works-with-tmodloader-now.24615/#Download TerrariaPatcher], allow the player to use other, more advanced commands. |
The following commands can be used by all players on vanilla servers. [[Mods]], such as [https://github.com/NyxStudios/TShock/releases TShock] or [https://forums.terraria.org/index.php?threads/1-3-terrariapatcher-plugins-and-more-works-with-tmodloader-now.24615/#Download TerrariaPatcher], allow the player to use other, more advanced commands. |
||
+ | {| class="terraria lined" |
||
− | * <code>{{gameText|ChatCommand.No}}''action''</code> – sends a message as a third-person action, for example: "* George sneezes." |
||
− | * <code>{{gameText|ChatCommand.Party}} ''message''</code> – if the user is on a [[Teams|party]], sends the message only to fellow party members. |
||
− | * <code>{{gameText|ChatCommand.Playing_0}}</code> or <code>{{gameText|ChatCommand.Playing_1}}</code> – gives a list of all players currently on the server. |
||
− | * <code>{{gameText|ChatCommand.Roll}}</code> – gives a random integer between 1 and 100000 (inclusive). |
||
− | |||
− | If the server is using a language other than English, some commands will be different: |
||
− | |||
− | {| class="terraria" |
||
− | ! English !! [[:de:|German]] !! [[:fr:|French]] !! [[Terraria Wiki/it|Italian]] !! [[:pl:|Polish]] !! [[:pt:|Portuguese]] !! [[:ru:|Russian]] !! [[:zh:|Chinese]] |
||
|- |
|- |
||
+ | ! width=10% | Command |
||
− | | {{code|{{gameText|ChatCommand.Emote}}}} |
||
− | + | ! Ingame description<ref>Description from <code>{{#invoke:gameText|getRaw|ChatCommand.Help}}</code> command</ref> |
|
+ | ! width=40% | Notes |
||
− | | {{code|{{gameText|ChatCommand.Emote|lang=fr}}}} |
||
+ | ! width=10% | Text color |
||
− | | {{code|{{gameText|ChatCommand.Emote|lang=it}}}} |
||
+ | ! Example |
||
− | | {{code|{{gameText|ChatCommand.Emote|lang=pl}}}} |
||
− | | {{code|{{gameText|ChatCommand.Emote|lang=pt}}}} |
||
− | | {{code|{{gameText|ChatCommand.Emote|lang=ru}}}} |
||
− | | {{code|{{gameText|ChatCommand.Emote|lang=zh}}}} |
||
|- |
|- |
||
− | | |
+ | | <code>{{#invoke:gameText|getRaw|ChatCommand.Party}} ''<message>''</code> |
− | | {{ |
+ | | {{#explode:{{#invoke:gameText|getRaw|ChatCommandDescription.Party}}|:|1}} |
+ | | If the user is in a [[teams|team]], the message is only sent to fellow team members. The color of the text will be the same as the team's color.<br/>If the player is not in any team, informs them with a status message. |
||
− | | {{code|{{gameText|ChatCommand.Party|lang=fr}}}} |
||
+ | | {{color box|#CC3333|text=y}}<br/><!--Red |
||
− | | {{code|{{gameText|ChatCommand.Party|lang=it}}}} |
||
+ | -->{{color box|#3BDA55|text=y}}<br/><!--Green |
||
− | | {{code|{{gameText|ChatCommand.Party|lang=pl}}}} |
||
+ | -->{{color box|#3B95DA|text=y}}<br/><!--Blue |
||
− | | {{code|{{gameText|ChatCommand.Party|lang=pt}}}} |
||
+ | -->{{color box|#F2DD64|text=y}}<br/><!--Yellow |
||
− | | {{code|{{gameText|ChatCommand.Party|lang=ru}}}} |
||
+ | -->{{color box|#E064F2|text=y}}<br/><!--Pink |
||
− | | {{code|{{gameText|ChatCommand.Party|lang=zh}}}} |
||
+ | -->{{color box|#FFF014|text=y}}<!--Status message--> |
||
+ | | <span style="color:#CC3333;"><Player_name> message</span> {{note|small=y|paren=y|Red team}}<br/> |
||
+ | <span style="color:#FFF014;">{{gameText|LegacyMultiplayer.10}} {{note|small=y|paren=y|When player is not in any team}}</span> |
||
|- |
|- |
||
− | | |
+ | | <code>{{#invoke:gameText|getRaw|ChatCommand.Emote}} ''<message>''</code> |
+ | | {{#explode:{{#invoke:gameText|getRaw|ChatCommandDescription.Emote}}|:|1}} |
||
− | | {{code|{{gameText|ChatCommand.Playing_0|lang=de}}}}<br/>{{code|{{gameText|ChatCommand.Playing_1|lang=de}}}} |
||
+ | | Displays text starting with an asterisk, followed by the player's name and the message. |
||
− | | {{code|{{gameText|ChatCommand.Playing_0|lang=fr}}}}<br/>{{code|{{gameText|ChatCommand.Playing_1|lang=fr}}}} |
||
+ | | {{color box|#CC6600|text=y}} |
||
− | | {{code|{{gameText|ChatCommand.Playing_0|lang=it}}}}<br/>{{code|{{gameText|ChatCommand.Playing_1|lang=it}}}} |
||
+ | | <span style="color:#CC6600;">* Player_name message</span> |
||
− | | {{code|{{gameText|ChatCommand.Playing_0|lang=pl}}}}<br/>{{code|{{gameText|ChatCommand.Playing_1|lang=pl}}}} |
||
− | | {{code|{{gameText|ChatCommand.Playing_0|lang=pt}}}}<br/>{{code|{{gameText|ChatCommand.Playing_1|lang=pt}}}} |
||
− | | {{code|{{gameText|ChatCommand.Playing_0|lang=ru}}}}<br/>{{code|{{gameText|ChatCommand.Playing_1|lang=ru}}}} |
||
− | | {{code|{{gameText|ChatCommand.Playing_0|lang=zh}}}}<br/>{{code|{{gameText|ChatCommand.Playing_1|lang=zh}}}} |
||
|- |
|- |
||
− | | {{ |
+ | | <code>{{#invoke:gameText|getRaw|ChatCommand.Playing_0}}</code><br/><code>{{#invoke:gameText|getRaw|ChatCommand.Playing_1}}</code> |
− | | {{ |
+ | | {{#explode:{{#invoke:gameText|getRaw|ChatCommandDescription.Playing}}|:|1}} |
+ | | Gives a list of player names, divided by commas. |
||
− | | {{code|{{gameText|ChatCommand.Roll|lang=fr}}}} |
||
+ | | {{color box|#FFF014|text=y}} |
||
− | | {{code|{{gameText|ChatCommand.Roll|lang=it}}}} |
||
+ | | <span style="color:#FFF014;">Player_name1, Player_name2</span> |
||
− | | {{code|{{gameText|ChatCommand.Roll|lang=pl}}}} |
||
− | | {{code|{{gameText|ChatCommand.Roll|lang=pt}}}} |
||
− | | {{code|{{gameText|ChatCommand.Roll|lang=ru}}}} |
||
− | | {{code|{{gameText|ChatCommand.Roll|lang=zh}}}} |
||
|- |
|- |
||
+ | | <code>{{#invoke:gameText|getRaw|ChatCommand.Roll}}</code> |
||
+ | | {{#explode:{{#invoke:gameText|getRaw|ChatCommandDescription.Roll}}|:|1}} |
||
+ | | Gives a random integer between 1 and 100 (inclusive). |
||
+ | | {{color box|#FFF014|text=y}} |
||
+ | | <span style="color:#FFF014;">* Player_name {{gameText|LegacyMultiplayer.9}} 83</span> |
||
+ | |- |
||
+ | | <code>{{#invoke:gameText|getRaw|ChatCommand.Emoji_0}} ''<emote>''</code><br/><code>{{#invoke:gameText|getRaw|ChatCommand.Emoji_1}} ''<emote>''</code> |
||
+ | | {{#explode:{{#invoke:gameText|getRaw|ChatCommandDescription.Emoji}}|:|1}} |
||
+ | | Makes the player use the respective [[emote]], similar to directly using emote commands. |
||
+ | | {{na}} |
||
+ | | <code>{{#invoke:gameText|getRaw|ChatCommand.Emoji_0}} {{gameText|EmojiName.EmotionLove}}</code> and <code>{{gameText|EmojiCommand.EmotionLove}}</code> both sends the [[File:Emote Emotion Love.gif|link=]] "Emotion Love" emote. |
||
+ | |- |
||
+ | | <code>{{#invoke:gameText|getRaw|ChatCommand.Help}}</code> |
||
+ | | {{#explode:{{#invoke:gameText|getRaw|ChatCommandDescription.Help}}|:|1}} |
||
+ | | List all commands and their description. |
||
+ | | {{color box|#FFF014|text=y}} |
||
+ | | <span style="color:#FFF014;">{{#invoke:gameText|getRaw|ChatCommandDescription.Party}}</span> |
||
+ | |- |
||
+ | | <code>{{#invoke:gameText|getRaw|ChatCommand.RPS}}</code> |
||
+ | | {{#explode:{{#invoke:gameText|getRaw|ChatCommandDescription.RPS}}|:|1}} |
||
+ | | Makes the player randomly use an emote among "RPS Rock", "RPS Paper", and "RPS Scissors". |
||
+ | | {{na}} |
||
+ | | [[File:Emote RPS Rock.gif|link=]] [[File:Emote RPS Paper.gif|link=]] [[File:Emote RPS Scissors.gif|link=]] |
||
+ | |- |
||
+ | | <code>{{#invoke:gameText|getRaw|ChatCommand.Death}}</code> |
||
+ | | {{#explode:{{#invoke:gameText|getRaw|ChatCommandDescription.Death}}|:|1}} |
||
+ | | Displays the current character's total death count. This death count, as well as the following counts, is tracked per character. |
||
+ | | {{color box|#FF1919|text=y}} |
||
+ | | <span style="color:#FF1919;">{{gameText|LegacyMultiplayer.23|x_0=Player_name|x_1=5}}</span> |
||
+ | |- |
||
+ | | <code>{{#invoke:gameText|getRaw|ChatCommand.PVPDeath}}</code> |
||
+ | | {{#explode:{{#invoke:gameText|getRaw|ChatCommandDescription.PVPDeath}}|:|1}} |
||
+ | | Displays the current character's total [[PvP]] death count (i.e. deaths caused by other players). |
||
+ | | {{color box|#FF1919|text=y}} |
||
+ | | <span style="color:#FF1919;">{{gameText|LegacyMultiplayer.24|x_0=Player_name|x_1=5}}</span> |
||
+ | |- |
||
+ | | <code>{{#invoke:gameText|getRaw|ChatCommand.AllDeath}}</code> |
||
+ | | {{#explode:{{#invoke:gameText|getRaw|ChatCommandDescription.AllDeath}}|:|1}} |
||
+ | | Displays death count of all the players in the server. |
||
+ | | {{color box|#FF1919|text=y}} |
||
+ | | <span style="color:#FF1919;">{{gameText|LegacyMultiplayer.23|x_0=Player_name1|x_1=5}}</span><br/> |
||
+ | <span style="color:#FF1919;">{{gameText|LegacyMultiplayer.25|x_0=Player_name2|x_1=1}}</span> |
||
+ | |- |
||
+ | | <code>{{#invoke:gameText|getRaw|ChatCommand.AllPVPDeath}}</code> |
||
+ | | {{#explode:{{#invoke:gameText|getRaw|ChatCommandDescription.AllPVPDeath}}|:|1}} |
||
+ | | Displays PvP death count of all the players in the server. |
||
+ | | {{color box|#FF1919|text=y}} |
||
+ | | <span style="color:#FF1919;">{{gameText|LegacyMultiplayer.24|x_0=Player_name1|x_1=5}}</span><br/> |
||
+ | <span style="color:#FF1919;">{{gameText|LegacyMultiplayer.26|x_0=Player_name2|x_1=1}}</span> |
||
+ | |} |
||
+ | |||
+ | If the server is using a language other than English, some commands will be different: |
||
+ | {{#arraydefine:chat_command:keys|{{#invoke:gameText|listKeys|ChatCommand}}|¦|sort=asc}}<!-- |
||
+ | -->{{#arraydefine:chat_command:langs|en, de, fr, it, pl, pt, ru, zh}} |
||
+ | {| class="terraria lined" |
||
+ | ! English !! [[:de:|German]] !! [[:fr:|French]] !! [[Terraria Wiki/it|Italian]] !! [[:pl:|Polish]] !! [[:pt:|Portuguese]] !! [[:ru:|Russian]] !! [[:zh:|Chinese]] |
||
+ | {{#arrayprint:chat_command:keys||@@@@|<nowiki/> |
||
+ | {{!}}- |
||
+ | {{#arrayprint:chat_command:langs||§§§§|<nowiki/> |
||
+ | {{!}} <code>{{#invoke:gameText|getRaw|ChatCommand.@@@@|lang=§§§§}}</code><!-- {{code}} template increases expensive parser function count --> |
||
+ | }}}} |
||
|} |
|} |
||
Line 71: | Line 118: | ||
The following tags currently exist: |
The following tags currently exist: |
||
+ | === Color === |
||
− | * {{code|color}} or {{code|c}} – displays the ''text'' parameter in a different name. The ''options'' parameter specifies the color {{wikipedia|RGB}} values as a {{wikipedia|hexadecimal}} number. |
||
+ | * {{code|color}} or {{code|c}} – displays the ''text'' parameter in a different color. The ''options'' parameter specifies the color {{wikipedia|RGB}} values as a {{wikipedia|hexadecimal}} number. |
||
: Example: {{code|[c/FF0000:This text is red.]}} |
: Example: {{code|[c/FF0000:This text is red.]}} |
||
+ | |||
+ | {| class="terraria lined" |
||
+ | |+ Status message colors |
||
+ | ! Color |
||
+ | ! Usage |
||
+ | ! Example |
||
+ | |- |
||
+ | | {{color box|#FFFFFF|text=y}} |
||
+ | | [[Player]] chat messages. Using an Announcement Box,<br/>the text will be indistinguishable from an actual player's input. |
||
+ | | {{na}} |
||
+ | |- |
||
+ | | {{color box|#32FF82|text=y}} |
||
+ | | When most [[events]] begin. |
||
+ | | "<span style="color:#32FF82;">{{gameText|LegacyMisc.8}}</span>"<br/>"<span style="color:#32FF82;">{{gameText|LegacyMisc.52}}</span>" |
||
+ | |- |
||
+ | | {{color box|#AF4BFF|text=y}} |
||
+ | | When an [[invasion]] begins, or when a [[boss]] is defeated or summoned. |
||
+ | | "<span style="color:#AF4BFF;">{{gameText|Announcement.HasAwoken|x_0=Skeletron}}</span>" |
||
+ | |- |
||
+ | | {{color box|#E11919|text=y}} |
||
+ | | When a player dies. |
||
+ | | "<span style="color:#E11919;">{{gameText|DeathTextGeneric.Slain|x_0=<Player name>}}</span>" |
||
+ | |- |
||
+ | | {{color box|#FF1919|text=y}} |
||
+ | | When a town [[NPC]] or pet dies. |
||
+ | | "<span style="color:#FF1919;">{{gameText|DeathText.Slain|x_0={{gameText|Game.NPCTitle|x_0=<Name of NPC>|x_1=<type of NPC>}}}}</span>" |
||
+ | |- |
||
+ | | {{color box|#327DFF|text=y}} |
||
+ | | When a town NPC or pet arrives. |
||
+ | | "<span style="color:#327DFF;">{{gameText|Announcement.HasArrived|x_0={{gameText|Game.NPCTitle|x_0=<Name of NPC>|x_1=<type of NPC>}}}}</span>" |
||
+ | |- |
||
+ | | {{color box|#FFF014|text=y}} |
||
+ | | General [[status messages]]. |
||
+ | | "<span style="color:#FFF014;">{{gameText|Game.SpawnPointSet}}</span>"<br/>"<span style="color:#FFF014;">{{gameText|Net.CannotTeleportToPylonBecausePlayerIsNotNearAPylon}}</span>" |
||
+ | |- |
||
+ | | {{color box|#FF00A0|text=y}} |
||
+ | | When an NPC throws a [[Party]]. |
||
+ | | "<span style="color:#FF00A0;">{{gameText|Game.BirthdayParty_1|x_0=<name of NPC>}}</span>" |
||
+ | |} |
||
+ | |||
+ | === Item === |
||
* {{code|item}} or {{code|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 [[Item IDs|numeric ID]] or a name. The ''options'' parameter contains a comma-separated list of options that consist of a letter followed by a number. {{code|p}} specifies a [[Data IDs#Prefix IDs|modifier]]; {{code|s}} or {{code|x}} specify the number of stacked items. |
* {{code|item}} or {{code|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 [[Item IDs|numeric ID]] or a name. The ''options'' parameter contains a comma-separated list of options that consist of a letter followed by a number. {{code|p}} specifies a [[Data IDs#Prefix IDs|modifier]]; {{code|s}} or {{code|x}} specify the number of stacked items. |
||
: Examples: {{code|[i/p57:4]}} displays a Ruthless [[{{itemNameFromId|4}}]] (item ID 4); {{code|[i/s10:29]}} a stack of ten [[{{itemNameFromId|29}}]]s (item ID 29). |
: Examples: {{code|[i/p57:4]}} displays a Ruthless [[{{itemNameFromId|4}}]] (item ID 4); {{code|[i/s10:29]}} a stack of ten [[{{itemNameFromId|29}}]]s (item ID 29). |
||
+ | |||
+ | === Name === |
||
* {{code|name}} or {{code|n}} – displays a player's name in angle brackets. This is prepended to all messages from players. The characters {{code|[}}, {{code|]}}, and {{code|\}} can be escaped using a backslash. |
* {{code|name}} or {{code|n}} – displays a player's name in angle brackets. This is prepended to all messages from players. The characters {{code|[}}, {{code|]}}, and {{code|\}} can be escaped using a backslash. |
||
− | : Example: {{code|[n:Marcus]}} displays "<Marcus>". |
+ | : Example: {{code|[n:Marcus]}} displays "<Marcus>". {{code|[n:\Ma\[rc\]us]}} displays "<\Ma[rc]us>". |
+ | |||
+ | === Achievement === |
||
* {{code|a}} – shows an [[Achievements|achievement]]. Clicking on it shows the achievements dialog. The ''text'' parameter specifies the achievement via its internal key. |
* {{code|a}} – shows an [[Achievements|achievement]]. Clicking on it shows the achievements dialog. The ''text'' parameter specifies the achievement via its internal key. |
||
: Example: {{code|[a:NO_HOBO]}}. |
: Example: {{code|[a:NO_HOBO]}}. |
||
+ | |||
+ | {{#arraydefine:achievements|<!-- define all achievements |
||
+ | -->TIMBER,<!-- |
||
+ | -->NO_HOBO,<!-- |
||
+ | -->OBTAIN_HAMMER,<!-- |
||
+ | -->HEART_BREAKER,<!-- |
||
+ | -->OOO_SHINY,<!-- |
||
+ | -->HEAVY_METAL,<!-- |
||
+ | -->I_AM_LOOT,<!-- |
||
+ | -->STAR_POWER,<!-- |
||
+ | -->HOLD_ON_TIGHT,<!-- |
||
+ | -->EYE_ON_YOU,<!-- |
||
+ | -->SMASHING_POPPET,<!-- |
||
+ | -->WORM_FODDER,<!-- |
||
+ | -->MASTERMIND,<!-- |
||
+ | -->WHERES_MY_HONEY,<!-- |
||
+ | -->STING_OPERATION,<!-- |
||
+ | -->BONED,<!-- |
||
+ | -->DUNGEON_HEIST,<!-- |
||
+ | -->ITS_GETTING_HOT_IN_HERE,<!-- |
||
+ | -->MINER_FOR_FIRE,<!-- |
||
+ | -->STILL_HUNGRY,<!-- |
||
+ | -->ITS_HARD,<!-- |
||
+ | -->BEGONE_EVIL,<!-- |
||
+ | -->EXTRA_SHINY,<!-- |
||
+ | -->HEAD_IN_THE_CLOUDS,<!-- |
||
+ | -->LIKE_A_BOSS,<!-- |
||
+ | -->BUCKETS_OF_BOLTS,<!-- |
||
+ | -->DRAX_ATTAX,<!-- |
||
+ | -->PHOTOSYNTHESIS,<!-- |
||
+ | -->GET_A_LIFE,<!-- |
||
+ | -->THE_GREAT_SOUTHERN_PLANTKILL,<!-- |
||
+ | -->TEMPLE_RAIDER,<!-- |
||
+ | -->LIHZAHRDIAN_IDOL,<!-- |
||
+ | -->ROBBING_THE_GRAVE,<!-- |
||
+ | -->BIG_BOOTY,<!-- |
||
+ | -->FISH_OUT_OF_WATER,<!-- |
||
+ | -->OBSESSIVE_DEVOTION,<!-- |
||
+ | -->STAR_DESTROYER,<!-- |
||
+ | -->CHAMPION_OF_TERRARIA,<!-- |
||
+ | -->BLOODBATH,<!-- |
||
+ | -->GOBLIN_PUNTER,<!-- |
||
+ | -->KILL_THE_SUN,<!-- |
||
+ | -->WALK_THE_PLANK,<!-- |
||
+ | -->DO_YOU_WANT_TO_SLAY_A_SNOWMAN,<!-- |
||
+ | -->TIN_FOIL_HATTER,<!-- |
||
+ | -->BALEFUL_HARVEST,<!-- |
||
+ | -->ICE_SCREAM,<!-- |
||
+ | -->SLIPPERY_SHINOBI,<!-- |
||
+ | -->STICKY_SITUATION,<!-- |
||
+ | -->REAL_ESTATE_AGENT,<!-- |
||
+ | -->NOT_THE_BEES,<!-- |
||
+ | -->JEEPERS_CREEPERS,<!-- |
||
+ | -->FUNKYTOWN,<!-- |
||
+ | -->INTO_ORBIT,<!-- |
||
+ | -->ROCK_BOTTOM,<!-- |
||
+ | -->MECHA_MAYHEM,<!-- |
||
+ | -->GELATIN_WORLD_TOUR,<!-- |
||
+ | -->FASHION_STATEMENT,<!-- |
||
+ | -->VEHICULAR_MANSLAUGHTER,<!-- |
||
+ | -->BULLDOZER,<!-- |
||
+ | -->THERE_ARE_SOME_WHO_CALL_HIM,<!-- |
||
+ | -->DECEIVER_OF_FOOLS,<!-- |
||
+ | -->SWORD_OF_THE_HERO,<!-- |
||
+ | -->LUCKY_BREAK,<!-- |
||
+ | -->THROWING_LINES,<!-- |
||
+ | -->DYE_HARD,<!-- |
||
+ | -->FREQUENT_FLYER,<!-- |
||
+ | -->THE_CAVALRY,<!-- |
||
+ | -->COMPLETELY_AWESOME,<!-- |
||
+ | -->TIL_DEATH,<!-- |
||
+ | -->ARCHAEOLOGIST,<!-- |
||
+ | -->PRETTY_IN_PINK,<!-- |
||
+ | -->RAINBOWS_AND_UNICORNS,<!-- |
||
+ | -->YOU_AND_WHAT_ARMY,<!-- |
||
+ | -->PRISMANCER,<!-- |
||
+ | -->IT_CAN_TALK,<!-- |
||
+ | -->WATCH_YOUR_STEP,<!-- |
||
+ | -->MARATHON_MEDALIST,<!-- |
||
+ | -->GLORIOUS_GOLDEN_POLE,<!-- |
||
+ | -->SERVANT_IN_TRAINING,<!-- |
||
+ | -->GOOD_LITTLE_SLAVE,<!-- |
||
+ | -->TROUT_MONKEY,<!-- |
||
+ | -->FAST_AND_FISHIOUS,<!-- |
||
+ | -->SUPREME_HELPER_MINION,<!-- |
||
+ | -->TOPPED_OFF,<!-- |
||
+ | -->SLAYER_OF_WORLDS,<!-- |
||
+ | -->YOU_CAN_DO_IT,<!-- |
||
+ | -->SICK_THROW,<!-- |
||
+ | -->MATCHING_ATTIRE,<!-- |
||
+ | -->BENCHED,<!-- |
||
+ | -->DEFEAT_QUEEN_SLIME,<!-- |
||
+ | -->DEFEAT_EMPRESS_OF_LIGHT,<!-- |
||
+ | -->GET_ZENITH,<!-- |
||
+ | -->FIND_A_FAIRY,<!-- |
||
+ | -->DEFEAT_DREADNAUTILUS,<!-- |
||
+ | -->DEFEAT_OLD_ONES_ARMY_TIER3,<!-- |
||
+ | -->FLY_A_KITE_ON_A_WINDY_DAY,<!-- |
||
+ | -->TURN_GNOME_TO_STATUE,<!-- |
||
+ | -->TALK_TO_NPC_AT_MAX_HAPPINESS,<!-- |
||
+ | -->GET_TERRASPARK_BOOTS,<!-- |
||
+ | -->THROW_A_PARTY,<!-- |
||
+ | -->PET_THE_PET,<!-- |
||
+ | -->GO_LAVA_FISHING,<!-- |
||
+ | -->FOUND_GRAVEYARD,<!-- |
||
+ | -->DIE_TO_DEAD_MANS_CHEST,<!-- |
||
+ | -->DEFEAT_DEERCLOPS,<!-- |
||
+ | -->GET_GOLDEN_DELIGHT,<!-- |
||
+ | -->DRINK_BOTTLED_WATER_WHILE_DROWNING,<!-- |
||
+ | -->GET_CELL_PHONE,<!-- |
||
+ | -->GET_ANKH_SHIELD,<!-- |
||
+ | -->GAIN_TORCH_GODS_FAVOR,<!-- |
||
+ | -->PLAY_ON_A_SPECIAL_SEED,<!-- |
||
+ | -->ALL_TOWN_SLIMES,<!-- |
||
+ | -->TRANSMUTE_ITEM,<!-- |
||
+ | -->PURIFY_ENTIRE_WORLD,<!-- |
||
+ | -->TO_INFINITY_AND_BEYOND |
||
+ | }}<!-- |
||
+ | |||
+ | -->{| class="terraria sortable lined" |
||
+ | ! Achievement |
||
+ | ! Internal name |
||
+ | {{#arrayprint:achievements||@@@@|<nowiki/> |
||
+ | {{!}}- |
||
+ | {{!}} {{gameText|Achievements.@@@@_Name}} |
||
+ | {{!}} <code>@@@@</code> |
||
+ | }} |
||
+ | |} |
||
+ | |||
+ | === Glyphs === |
||
* {{code|glyph}} or {{code|g}} – displays a controller button. See the Glyphs section below for possible values. |
* {{code|glyph}} or {{code|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. |
Invalid tags (for example, a non-existent achievement), are displayed with the ''text'' parameter as normal text. |
||
+ | * Example: {{code|[g:0]}} displays {{g|a}} |
||
− | === Glyphs === |
||
+ | * Example: {{code|[g:16][g:16][g:15][g:15][g:14][g:13][g:14][g:13][g:1][g:0]}} displays the classic {{wikipedia|Konami Code}}: {{g|up-dpad}}{{g|up-dpad}}{{g|down-dpad}}{{g|down-dpad}}{{g|left-dpad}}{{g|right-dpad}}{{g|left-dpad}}{{g|right-dpad}}{{g|b}}{{g|a}} |
||
+ | |||
{| class="terraria sortable" |
{| class="terraria sortable" |
||
|- |
|- |
||
Line 142: | Line 367: | ||
== Notes == |
== Notes == |
||
− | * Using |
+ | * Using multiple tags within each other is not possible; for example, <code>[c/ff0000:[n:Marcus]]</code> will result in "<span style="color:#f00">[n:Marcus</span>]" 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 "<span style="color:#f00">[Marcus]</span>" can be received by typing <code>[c/ff0000:[Marcus][c/ff0000:]]</code>. |
* The {{code|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 {{code|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 {{code|a}} tag is also registered in the code with the name {{code|achievement}}; however, at 11 letters, this does not work. |
* The {{code|a}} tag is also registered in the code with the name {{code|achievement}}; however, at 11 letters, this does not work. |
||
== History == |
== History == |
||
+ | {{history|Desktop 1.4.4|Commands <code>/death</code>, <code>/pvpdeath</code>, <code>/alldeath</code>, and <code>/allpvpdeath</code> were added.}} |
||
{{history|Desktop 1.3.2|Made improvement to chat tags and they should no longer break over long lines.}} |
{{history|Desktop 1.3.2|Made improvement to chat tags and they should no longer break over long lines.}} |
||
{{history|Desktop 1.3.1|Glyph tag added.}} |
{{history|Desktop 1.3.1|Glyph tag added.}} |
||
Line 157: | Line 383: | ||
{{Game mechanics}} |
{{Game mechanics}} |
||
+ | {{language info|en=Chat}} |
||
− | [[fr:Tchat]] |
||
− | [[zh:聊天]] |
||
− | {{translation projects}} |
Latest revision as of 02:23, 3 January 2024
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
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.
Command | Ingame description[1] | 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 "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 | |
/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
|
---|---|---|---|---|---|---|---|
/alldeath
|
/alletod
|
/alldeath
|
/alldeath
|
/alldeath
|
/alldeath
|
/смерти_все
|
/alldeath
|
/allpvpdeath
|
/allePvPtod
|
/allpvpdeath
|
/allpvpdeath
|
/allpvpdeath
|
/allpvpdeath
|
/смерти_пвп_все
|
/allpvpdeath
|
/death
|
/Tod
|
/death
|
/death
|
/death
|
/death
|
/смерти
|
/death
|
/emoji
|
/emoji
|
/emoji
|
/emoji
|
/emotikon
|
/emoji
|
/эмодзи
|
/表情符号
|
/e
|
/e
|
/e
|
/e
|
/e
|
/e
|
/э
|
/e
|
/me
|
/ich
|
/moi
|
/io
|
/ja
|
/eu
|
/я
|
/表情
|
/help
|
/hilfe
|
/help
|
/help
|
/pomoc
|
/ajuda
|
/помощь
|
/帮助
|
/pvpdeath
|
/PvPtod
|
/pvpdeath
|
/pvpdeath
|
/pvpdeath
|
/pvpdeath
|
/смерти_пвп
|
/pvpdeath
|
/p
|
/g
|
/g
|
/s
|
/d
|
/g
|
/в
|
/队
|
/playing
|
/spielt
|
/en train de jouer
|
/gioca
|
/gra
|
/jogando
|
/в игре
|
/玩
|
/players
|
/Spieler
|
/joueurs
|
/giocatori
|
/gracze
|
/jogadores
|
/игроки
|
/玩家
|
/rps
|
/ssp
|
/rps
|
/rps
|
/kpn
|
/ppt
|
/кнб
|
/rps
|
/roll
|
/rollen
|
/lance les dés
|
/numero
|
/rzuć
|
/rolar
|
/жребий
|
/滚动
|
Tags
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
orcolor
– displays the text parameter in a different color. The options parameter specifies the color RGB values as a hexadecimal number.c
- Example:
[c/FF0000:This text is red.]
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" |
Item
oritem
– 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.i
specifies a modifier;p
ors
specify the number of stacked items.x
- Examples:
displays a Ruthless Iron Broadsword (item ID 4);[i/p57:4]
a stack of ten Life Crystals (item ID 29).[i/s10:29]
Name
orname
– displays a player's name in angle brackets. This is prepended to all messages from players. The charactersn
,[
, and]
can be escaped using a backslash.\
- Example:
displays "<Marcus>".[n:Marcus]
displays "<\Ma[rc]us>".[n:\Ma\[rc\]us]
Achievement
– shows an achievement. Clicking on it shows the achievements dialog. The text parameter specifies the achievement via its internal key.a
- Example:
.[a:NO_HOBO]
Achievement | Internal name
|
---|---|
Timber!! | TIMBER
|
No Hobo | NO_HOBO
|
Stop! Hammer Time! | OBTAIN_HAMMER
|
Heart Breaker | HEART_BREAKER
|
Ooo! Shiny! | OOO_SHINY
|
Heavy Metal | HEAVY_METAL
|
I Am Loot! | I_AM_LOOT
|
Star Power | STAR_POWER
|
Hold on Tight! | HOLD_ON_TIGHT
|
Eye on You | EYE_ON_YOU
|
Smashing, Poppet! | SMASHING_POPPET
|
Worm Fodder | WORM_FODDER
|
Mastermind | MASTERMIND
|
Where's My Honey? | WHERES_MY_HONEY
|
Sting Operation | STING_OPERATION
|
Boned | BONED
|
Dungeon Heist | DUNGEON_HEIST
|
It's Getting Hot in Here | ITS_GETTING_HOT_IN_HERE
|
Miner for Fire | MINER_FOR_FIRE
|
Still Hungry | STILL_HUNGRY
|
It's Hard! | ITS_HARD
|
Begone, Evil! | BEGONE_EVIL
|
Extra Shiny! | EXTRA_SHINY
|
Head in the Clouds | HEAD_IN_THE_CLOUDS
|
Like a Boss | LIKE_A_BOSS
|
Buckets of Bolts | BUCKETS_OF_BOLTS
|
Drax Attax | DRAX_ATTAX
|
Photosynthesis | PHOTOSYNTHESIS
|
Get a Life | GET_A_LIFE
|
The Great Southern Plantkill | THE_GREAT_SOUTHERN_PLANTKILL
|
Temple Raider | TEMPLE_RAIDER
|
Lihzahrdian Idol | LIHZAHRDIAN_IDOL
|
Robbing the Grave | ROBBING_THE_GRAVE
|
Big Booty | BIG_BOOTY
|
Fish Out of Water | FISH_OUT_OF_WATER
|
Obsessive Devotion | OBSESSIVE_DEVOTION
|
Star Destroyer | STAR_DESTROYER
|
Champion of Terraria | CHAMPION_OF_TERRARIA
|
Bloodbath | BLOODBATH
|
Goblin Punter | GOBLIN_PUNTER
|
Kill the Sun | KILL_THE_SUN
|
Walk the Plank | WALK_THE_PLANK
|
Do You Want to Slay a Snowman? | DO_YOU_WANT_TO_SLAY_A_SNOWMAN
|
Tin-Foil Hatter | TIN_FOIL_HATTER
|
Baleful Harvest | BALEFUL_HARVEST
|
Ice Scream | ICE_SCREAM
|
Slippery Shinobi | SLIPPERY_SHINOBI
|
Sticky Situation | STICKY_SITUATION
|
Real Estate Agent | REAL_ESTATE_AGENT
|
Not the Bees! | NOT_THE_BEES
|
Jeepers Creepers | JEEPERS_CREEPERS
|
Funkytown | FUNKYTOWN
|
Into Orbit | INTO_ORBIT
|
Rock Bottom | ROCK_BOTTOM
|
Mecha Mayhem | MECHA_MAYHEM
|
Gelatin World Tour | GELATIN_WORLD_TOUR
|
Fashion Statement | FASHION_STATEMENT
|
Vehicular Manslaughter | VEHICULAR_MANSLAUGHTER
|
Bulldozer | BULLDOZER
|
There are Some Who Call Him... | THERE_ARE_SOME_WHO_CALL_HIM
|
Deceiver of Fools | DECEIVER_OF_FOOLS
|
Sword of the Hero | SWORD_OF_THE_HERO
|
Lucky Break | LUCKY_BREAK
|
Throwing Lines | THROWING_LINES
|
Dye Hard | DYE_HARD
|
The Frequent Flyer | FREQUENT_FLYER
|
The Cavalry | THE_CAVALRY
|
Completely Awesome | COMPLETELY_AWESOME
|
Til Death... | TIL_DEATH
|
Archaeologist | ARCHAEOLOGIST
|
Pretty in Pink | PRETTY_IN_PINK
|
Rainbows and Unicorns | RAINBOWS_AND_UNICORNS
|
You and What Army? | YOU_AND_WHAT_ARMY
|
Prismancer | PRISMANCER
|
It Can Talk?! | IT_CAN_TALK
|
Watch Your Step! | WATCH_YOUR_STEP
|
Marathon Medalist | MARATHON_MEDALIST
|
Glorious Golden Pole | GLORIOUS_GOLDEN_POLE
|
Servant-in-Training | SERVANT_IN_TRAINING
|
Good Little Slave | GOOD_LITTLE_SLAVE
|
Trout Monkey | TROUT_MONKEY
|
Fast and Fishious | FAST_AND_FISHIOUS
|
Supreme Helper Minion! | SUPREME_HELPER_MINION
|
Topped Off | TOPPED_OFF
|
Slayer of Worlds | SLAYER_OF_WORLDS
|
You Can Do It! | YOU_CAN_DO_IT
|
Sick Throw | SICK_THROW
|
Matching Attire | MATCHING_ATTIRE
|
Benched | BENCHED
|
Just Desserts | DEFEAT_QUEEN_SLIME
|
Fae Flayer | DEFEAT_EMPRESS_OF_LIGHT
|
Infinity +1 Sword | GET_ZENITH
|
Hey! Listen! | FIND_A_FAIRY
|
Don't Dread on Me | DEFEAT_DREADNAUTILUS
|
Hero of Etheria | DEFEAT_OLD_ONES_ARMY_TIER3
|
A Rather Blustery Day | FLY_A_KITE_ON_A_WINDY_DAY
|
Heliophobia | TURN_GNOME_TO_STATUE
|
Leading Landlord | TALK_TO_NPC_AT_MAX_HAPPINESS
|
Boots of the Hero | GET_TERRASPARK_BOOTS
|
Jolly Jamboree | THROW_A_PARTY
|
Feeling Petty | PET_THE_PET
|
Hot Reels! | GO_LAVA_FISHING
|
Quiet Neighborhood | FOUND_GRAVEYARD
|
Dead Men Tell No Tales | DIE_TO_DEAD_MANS_CHEST
|
An Eye For An Eye | DEFEAT_DEERCLOPS
|
Feast of Midas | GET_GOLDEN_DELIGHT
|
Unusual Survival Strategies | DRINK_BOTTLED_WATER_WHILE_DROWNING
|
Black Mirror | GET_CELL_PHONE
|
Ankhumulation Complete | GET_ANKH_SHIELD
|
Torch God | GAIN_TORCH_GODS_FAVOR
|
A Rare Realm | PLAY_ON_A_SPECIAL_SEED
|
The Great Slime Mitosis | ALL_TOWN_SLIMES
|
A Shimmer In The Dark | TRANSMUTE_ITEM
|
And Good Riddance! | PURIFY_ENTIRE_WORLD
|
To Infinity... and Beyond! | TO_INFINITY_AND_BEYOND
|
Glyphs
orglyph
– displays a controller button. See the Glyphs section below for possible values.g
Invalid tags (for example, a non-existent achievement), are displayed with the text parameter as normal text.
- Example:
displays[g:0]
- Example:
displays the classic Konami Code:[g:16][g:16][g:15][g:15][g:14][g:13][g:14][g:13][g:1][g:0]
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
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.c
- The
tag is also registered in the code with the namea
; however, at 11 letters, this does not work.achievement
History
- 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-Release: Introduced.
- Mobile-Release: Introduced.
- 3DS-Release: Introduced.
- ↑ Description from
/help
command