Messages
MultiLang has customizable messages that can be translated. This guide covers all available message keys and how to configure them.Message File
Plugin messages are stored inplugins/MultiLang/messages.yml.
Default Messages
You can view the default message values in the GitHub repository.Available Message Keys
Message Examples
Console Message
Key:console
Default:
Subcommand Not Found
Key:subcommands.not-found
Default:
Subcommand Edit Error
Key:subcommands.edit
Default:
/lang edit syntax is incorrect.
Already Selected Language
Key:already
Default:
Current Language
Key:current
Default:
{language} is replaced with the language name.
Current Language (Other Player)
Key:current-other
Default:
{player} and {language} are replaced with actual values.
Player Not Found
Key:not-found
Default:
Language Not Found
Key:lang-not-found
Default:
Language Changed
Key:changed
Default:
{language} is replaced with the language name.
GUI Title
Key:gui.title
Default:
GUI Current Language Item
Key:gui.current
Default:
Customizing Messages
You can customize any message by editingmessages.yml:
All messages support Minecraft color codes (e.g.,
&a for green, &c for
red, &l for bold).Placeholders
Some messages support placeholders:{language}- The language name{player}- The player name
Complete Example
Here’s a complete example of customized messages:Best Practices
- Keep messages clear - Use clear, concise language
- Use color codes - Make important messages stand out
- Test messages - Make sure messages display correctly in-game
- Be consistent - Use consistent color schemes and formatting
Related Guides
- Configuration - General configuration guide
- GUI - Customize the language selection GUI