Overview
ClansPlus uses language files to display all messages to players. You can customize every message, add new languages, and integrate with PlaceholderAPI.Language System
Selecting a Language
Configure which language file to use inconfig.yml:
config.yml
Language Files
Language files are located in:Supported Languages
ClansPlus includes the following language files:- English (
en) -language_en.yml - Vietnamese (
vi) -language_vi.yml
Creating Custom Languages
- Copy an existing language file (e.g.,
language_en.yml) - Rename it following the pattern:
language_<code>.yml - Translate all messages to your language
- Update
config.ymlto use your language code:
Color Codes
ClansPlus supports both legacy and hex color codes:Legacy Color Codes
Hex Colors
Formatting Codes
&l- Bold&m-Strikethrough&n- Underline&o- Italic&r- Reset formatting
Message Structure
Rank Display
Display name for the MEMBER rank.
Display name for the MANAGER rank.
Display name for the LEADER rank.
Currency Display
Symbol displayed for Vault currency.
Display name for Vault currency.
Symbol displayed for PlayerPoints currency.
Display name for PlayerPoints currency.
Symbol displayed for War Points.
Display name for War Points.
Status Messages
Text displayed for enabled features.
Text displayed for disabled features.
Online Status
Status text for offline players.
Status text for online players.
Core Messages
Prefix
Prefix prepended to most plugin messages.Use
%prefix% in other messages to include this prefix.Common Messages
language_en.yml
Message Placeholders
ClansPlus messages support various placeholders:Player Placeholders
%player%- Player name%target%- Target player name%rank%- Player’s rank display name
Clan Placeholders
%clan%- Clan name%clanName%- Clan name%formatClanName%- Formatted clan display name (custom name if set)%newCustomName%- New custom name value%message%- Clan message/announcement
Currency Placeholders
%price%- Amount of currency%currencySymbol%- Currency symbol from config%currencyName%- Currency display name
Permission Placeholders
%permission%- Permission node required%requiredRank%- Rank required for action%name%- Subject/permission name
Time Placeholders
%seconds%- Number of seconds%minutes%- Number of minutes%hours%- Number of hours
Location Placeholders
%x%- X coordinate%y%- Y coordinate%z%- Z coordinate%world%- World name
Disabling Messages
To disable any message, set it to an empty string:Multi-Line Messages
Use YAML multi-line syntax for longer messages:Subject Permissions Display
Customize how permission subjects are displayed in menus:language_en.yml
Clan Broadcast Messages
Clan broadcasts notify all members of important events:language_en.yml
PlaceholderAPI Integration
ClansPlus integrates with PlaceholderAPI to provide clan data in other plugins.Configuration
config.yml
Available Placeholders
Clan Information:%clansplus_clan_name%- Original clan name%clansplus_clan_customname%- Custom display name%clansplus_clan_formatname%- Formatted name (custom if set, otherwise original)%clansplus_clan_owner%- Clan leader name%clansplus_clan_message%- Clan announcement%clansplus_clan_score%- Clan score%clansplus_clan_warpoint%- Clan war points%clansplus_clan_maxmembers%- Maximum member count%clansplus_clan_members%- Current member count%clansplus_clan_allies%- Number of allies%clansplus_clan_createddate%- Creation timestamp%clansplus_clan_format_createddate%- Formatted creation date
%clansplus_player_rank%- Player’s rank (LEADER, MANAGER, MEMBER)%clansplus_player_format_rank%- Formatted rank display%clansplus_player_joindate%- Timestamp when joined clan%clansplus_player_format_joindate%- Formatted join date%clansplus_player_scorecollected%- Score contributed by player%clansplus_player_lastactivated%- Last activity timestamp%clansplus_player_format_lastactivated%- Formatted last activity
%clansplus_clan_skilllevel_<id>%- Skill level for skill ID- Example:
%clansplus_clan_skilllevel_1%- Level of skill 1
- Example:
%clansplus_clan_subjectpermission_<subject>%- Raw rank for permission%clansplus_clan_format_subjectpermission_<subject>%- Formatted rank display- Example:
%clansplus_clan_subjectpermission_INVITE%
- Example:
%clansplus_top_score_name_<position>%- Clan name at position%clansplus_top_score_value_<position>%- Score at position- Example:
%clansplus_top_score_name_1%- Top clan name - Example:
%clansplus_top_score_value_1%- Top clan score
- Example:
Customizing Placeholder Output
You can format how PlaceholderAPI values are displayed:config.yml
Example Usage in Other Plugins
Chat Plugin (DeluxeChat, ChatControl, etc.):Time Format Configuration
language_en.yml
Best Practices
- Backup Before Editing - Always backup language files before making changes
- Test Color Codes - Use an online tool or test server to preview colors
- Maintain Placeholders - Keep all placeholders intact when translating
- Consistent Formatting - Use similar color schemes throughout messages
- Clear Messages - Keep messages concise and easy to understand
- Preserve Structure - Don’t change message keys, only their values
Reloading Changes
After editing language files, reload the plugin:For help with translations or to contribute new language files, join the ClansPlus Discord: https://discord.gg/NWbTVddmBM
