AstralChat registers three placeholder namespaces with AstralCore: chat_* (network-wide queries), channel_* (per-channel queries), and tag_* (per-tag queries). For the underlying placeholder syntax (%a_b_c%, %a_{b_c}%, $e(...)), see Placeholders.
chat_*
Placeholder
Type
Description
%chat_prefix%
Component
The LuckPerms prefix of the viewer's highest-weight group within groups.yml. Walks staff → paid (if showPaidRoles is on) → free.
%chat_equippedTag%
ChatTag
The viewer's equipped tag, or empty when none. Chain into %chat_equippedTag_component%.
%chat_equippedTag_component%
Component
Shorthand for the badge component — what you almost always want in a channel format.
%chat_subscribed_<channel>%
Boolean
true if the viewer is subscribed to that channel.
%chat_privateMessagesEnabled%
Boolean
Reflects /togglepm.
%chat_mentionsEnabled%
Boolean
Reflects the toggle-chat-mentions action.
%chat_showPaidRoles%
Boolean
Reflects the toggle-paid-roles action.
%chat_tags%
ItemProvider
Every tag in tags.yml, ready to be used as a layout provider.
%chat_channels%
ItemProvider
Every channel from config.yml.
%chat_channel_<name>%
ChatChannel
The channel with that name. Chain into %chat_channel_staff_format%, etc.
%chat_prefix% is the integration point with LuckPerms. The plugin reads groups.yml to know which group names belong to which bucket and picks the highest-weight match among the player's inherited groups: