Placeholders
SolarityChat provides several placeholders that can be used in its own configuration files and with other plugins that support PlaceholderAPI.
SolarityChat Placeholders
| Placeholder | Description |
|---|---|
%solaritychat_tag% |
Player's currently equipped tag display name. |
%solaritychat_warnings% |
Player's total number of warnings. |
%solaritychat_color% |
Player's selected chat color code (MiniMessage). |
%solaritychat_color_id% |
Player's selected chat color ID. |
%solaritychat_color_display% |
Player's selected chat color display name. |
%solaritychat_vault_balance% |
Player's current economy balance. |
%solaritychat_vault_balance_formatted% |
Player's formatted economy balance. |
%solaritychat_vault_prefix% |
Player's prefix from Vault or LuckPerms. |
%solaritychat_vault_suffix% |
Player's suffix from Vault or LuckPerms. |
%solaritychat_vault_rank% |
Player's group or rank from Vault or LuckPerms. |
Using Placeholders
All SolarityChat placeholders are automatically registered with PlaceholderAPI. You can use them in any plugin that supports PAPI by using the formats listed above.
Within SolarityChat's own configuration files (like format.yml or announcements.yml), you can also use any external placeholders from other plugins, provided you have PlaceholderAPI installed.
Example usage in format.yml:
prefix:
text: '%luckperms_prefix%'
hover:
- '<white>Balance: <green>$%vault_eco_balance%'