Skip to main content
The identity block decides what appears as the sender label on every chat message - and, by extension, what tokens the @-mention picker accepts.
config.lua

nameSource

The single most consequential identity setting. Two modes:
Changing nameSource requires a restart awoken_chat - it’s read at boot and threaded through the whole identity pipeline.

Effect on @-mentions

The mention picker matches against only the tokens that match the active name source:
  • 'character' mode: @firstName, @lastName, @First-Last, @FirstLast (squashed), and @AccountName as a fallback when no character is loaded.
  • 'account' mode: @AccountName only. Typing a character first name surfaces nobody.
This mirrors what the chat actually labels people as, so the mention grammar matches the chat grammar.

format & fallback

Only used in character mode. The string is a Lua template with {token} slots that get substituted at send time.

Available tokens

Example formats

prefixWithId

When true, every chat row prefixes the resolved name with [N] where N is the server id:
Useful for staff and PvP servers where moderation needs to identify the source quickly. Set false for pure-RP servers where IDs break immersion. This applies to both name source modes - account-mode also gets the [N] prefix when this is true.

Tags / badges

Small chips rendered before the sender’s name on every chat row. Match a player to a tag by ONE of: license, steam id, discord id, ACE permission. Highest-priority match wins.
config.lua

Tag fields

Priority resolution

Only one tag is shown per player - the highest-priority one whose match condition is met. Use priority to express a hierarchy: dev > staff > vip > donor > member.
A player who matches both staff and member shows STAFF (priority 90 > 10).
Tags are sent to the client at message-send time, not at connect. So adding a tag in config.lua requires restart awoken_chat - the tag list is read on resource start. The CHIP renders live based on the current tag list for whoever’s online.