Templates
Esta página aún no está disponible en tu idioma.
Location: LOTUS_DATA/Templates.yaml
Chat Command: /t or /template or /templates [tag]
Templates allow you to send pre-written and frequently used blocks of text in chat. They offer endless possibilities and are commonly used for various purposes, such as welcome messages, rules, first meeting messages, and commonly used statements.
To access your saved templates, you or another player can type /t [tag] (e.g. /t rules). If the host types the message, the tag will be hidden (so no one will know you are using it to show messages), but the text will be shown to everyone. If a player types the same command, the tag will show for everyone, but the message will be shown privately (only to the player).
Templates
Command Guide
This table serves as a quick reference for the different commands you can use with the template system. The host can use tags to customize the lobby and help players understand the game.
Command | Alias | Description |
---|---|---|
/t list | /t l | Lists all templates by ID (and their tags) |
/t tags | Shows all tags built into the mod | |
/t variables | /t v | Shows all variables that can be used in templates |
/t reload | Reloads all templates | |
/t [tag] | /[alias] | Shows template to all players |
RShift +/t [tag] | RShift +/[alias] | Shows template to dead players |
Tag Customization
Project Lotus has a number of built-in tags. These tags will automatically be displayed when certain lobby/meeting events happen. These are optional, but allow you to further customize your lobby.
Tag | Description |
---|---|
lobby-join | Tag for the template shown to players joining the lobby. |
autostart | Template triggered when the autostart timer begins. |
meeting-first | The template to show during the first meeting. |
meeting-subsequent | The template to show during all meetings after the first. |
meeting-start | The template to show during each meeting. |
Usable Variables
This table serves as a quick reference for the different variables that can be utilized in templates.
Name | Variable | Output |
---|---|---|
All Modifiers | ${AllModifiers} | A list of all modifiers in the mod |
All Roles | ${AllRoles} | A categorized list of all roles in the mod |
Alive Crewmate Count | ${AliveCrewmateCount} | A count of all alive crewmates |
Alive Impostor Count | ${AliveImpostorCount} | A count of all alive impostors |
Alive Neutrals Count | ${AliveNeutralsCount} | A count of all alive neutrals |
Alive Player Count | ${AlivePlayerCount} | A count of all alive players |
Alive Players | ${AlivePlayers} | All alive player names, separated by comma |
AU Version | ${AUVersion} | The current version of Among Us |
Blurb | ${Blurb} | The player’s role blurb |
Color | ${Color} | The color of the player’s avatar |
Crewmate Count | ${CrewmateCount} | A count of all crewmates |
Crewmates | ${Crewmates} | All crewmate names, separated by comma |
Date | ${Date} | The current date (based on host) |
Dead Players | ${DeadPlayers} | All dead player names, separated by comma |
Dead Player Count | ${DeadPlayerCount} | A count of all dead players |
Death | ${Death} | A player’s CoD |
Description | ${Description} | The player’s role description |
Faction | ${Faction} | The player’s faction |
Game Mode | ${Gamemode} | The current game mode selected |
Host | ${Host} | The host’s name |
ImpostorCount | ${ImpostorCount} | A count of all impostors |
Impostors | ${Impostors} | All impostor names, separated by comma |
Killer | ${Killer} | A player’s killer |
Level | ${Level} | A player’s level |
Map | ${Map} | The name of the last map selected |
Mod Name | ${ModName} | The current mod name |
Mod Version | ${ModVersion} | The current mod version |
Modifiers | ${Modifiers} | Shows the player’s modifiers as a list of names |
Mods Descriptive | ${ModsDescriptive} | Displays the description for each of a player’s modifiers |
My Role | ${MyRole} | Echoes the text of /myrole which shows the player’s role and role description. |
Name | ${Name} | The player’s name |
NeutralKillers | ${NeutralKillers} | All neutral killer names, separated by comma |
NeutralKillersCount | ${NeutralKillersCount} | A count of all neutral killers |
Neutrals | ${Neutrals} | All neutral names, separated by comma |
NeutralsCount | ${NeutralsCount} | A count of all neutrals |
Option Name | ${OptionName.[Name]} | Shows the NAME of an option (as in current lang) |
Options | ${Options} | The player’s role options |
Player Count | ${PlayerCount} | A count of all players currently in lobby |
Players | ${Players} | A list of player names separated by a comma |
Role | ${Role} | The player’s role |
Room Code | ${RoomCode} | The current room code |
Tasks Complete | ${TasksComplete} | The # of tasks a player has completed |
Tasks Remaining | ${TasksRemaining} | The # of tasks a player has remaining |
Time | ${Time} | The current time (based on host) |
Total Tasks | ${TotalTasks} | A player’s total # of tasks |
Trigger Meta | ${TriggerMeta} | This variable resolves differently based on the trigger the template is invoked from |
Template Customization
There are endless possibilities when it comes to template customization in Project: Lotus. Not only are all the variables above usable in any templates created by the host, hosts can also use HTML and symbols to customize their templates even further.
Here are some basic tools to get you started:
Usable HTML Tags
HTML Tag | Description |
---|---|
<b> | Bold text |
<i> | Italicized text |
<u> | Underlined text |
<s> | Strikethrough text |
<sub> | Subscript text |
<sup> | Superscript text |
<mark> | Highlighted or marked text |
<size= > | Size of text (Default AU size is 2) |
<color= > | Color of the text (use hex code) |
Usable Unicode Symbols
乂 ⁂ ¤ § ∮ 彡 个 《 「 」 人 요 〖 〗 ロ 米 卄 王 ī l 【 】 · ㅇ ° ◈ ◆ ◇ ◥ ◤ ◢ ◣ 《 》 ︵︶ ★ ☆ ☀ ☂ ☹ ☺ ♥ ♡ ♩ ♪ ♫ ♬ ✓ ♠ ☎ ♀ ♂ ☜ ☝ ☞ ☟ ☯ ☃ ✿ ❀ ☁ ¿ ※ ⁑ ∞ ≠ + ÷ º
Blank Template
Default Template
Misc.
Default lobby-join Template
Default meeting-first Template
Default meeting-start Template
Useful Templates Not Included With Defaults
Nicer meeting-first Template
Helpful Alchemist Templates
Note On Template Creation
- The hyphen (-) is required
- The colon and space after it are required
- The indentation of the word Text (aligning with the indentation of the word Tag) is required
- You must capitalize Tag and Text (and any other parameter used in Template.yaml)