Documentation Index
Fetch the complete documentation index at: https://docs.rpg-leveling.zuxaw.com/llms.txt
Use this file to discover all available pages before exploring further.
Messages Language Mapping
File:mods/Zuxaw_RPGLeveling/MessagesLanguageMapping.json
This file contains all translatable text strings for the plugin. It was renamed from messages.json in version 0.2.0.
Overview
The file supports full localization and includes messages for:- Stat names and descriptions — Health, Stamina, Damage, Defense, etc.
- HUD messages — Level, XP progress, zone names
- GUI labels and buttons — Stat allocation, navigation, confirmations
- Error messages — Invalid commands, permission errors
- Notification messages — Level up, stat allocation, system messages
- Command descriptions and responses — Help text, feedback messages
Translation Support
The plugin uses this file to support multiple languages. You can create a full translation by editing all text strings in this file.Supported Languages
Any language can be supported by editing the text strings. Common translations include:- English (default)
- French
- Spanish
- German
- Portuguese
- Russian
- Japanese
- Chinese
- And more…
File Structure
The file is organized into logical sections:Common Message Keys
Stat Names
Stat Descriptions
HUD Messages
GUI Labels
Stats GUI — Settings tab (gui tree)
These keys live under the merged gui object in MessagesLanguageMapping.json (same nesting as other GUI strings the plugin writes). Defaults are defined in MessageService.createDefaultMessages(). Custom .ui layouts should leave translatable Text empty and set strings from Java (see StatsGUIPage.appendSettingsTabUi).
| Key | Purpose |
|---|---|
gui.navigation.settings | Sidebar tab label (e.g. SETTINGS) |
gui.settings.title | Settings page heading |
gui.settings.level_hud_section | Section title for level HUD options |
gui.settings.level_hud_description | Short explanation for players |
gui.settings.server_hud_disabled | Shown when EnableHUD is off server-wide |
gui.settings.show_level_hud | Button to show the level progress HUD |
gui.settings.hide_level_hud | Button to hide the level progress HUD |
gui.settings.notif_section_title | Settings heading for toast/title preferences (only if EnableNotification) |
gui.settings.notif_section_intro | Short intro for that block |
gui.settings.notif_xp_title | XP / progression subgroup title |
gui.settings.notif_xp_description | What XP/progression toasts include |
gui.settings.notif_passive_title | Passive subgroup title (only if EnablePassiveNotifications) |
gui.settings.notif_passive_description | What passive popups include |
gui.settings.show_notifications | Generic “Show” for notification rows |
gui.settings.hide_notifications | Generic “Hide” for notification rows |
PlayerLevelData, persisted): HideXpProgressNotifications, HidePassiveNotifications.
Notifications
Command Messages
Example Translation (French)
Here’s an example of a partial French translation:Placeholders
Many messages support placeholders that are replaced with dynamic values:| Placeholder | Description | Example |
|---|---|---|
{level} | Player level | ”You are now level 50” |
{points} | Stat points | ”Available: 15 points” |
{stat} | Stat name | ”Allocated to Damage” |
{current} | Current XP | ”1250 / 2000” |
{required} | Required XP | ”1250 / 2000” |
{min} | Min level | ”Zone 2 (Lvl 25–50)“ |
{max} | Max level | ”Zone 2 (Lvl 25–50)“ |
{id} | Zone/instance ID | ”Zone 3” |
Creating a Translation
To create a full translation:- Copy the default
MessagesLanguageMapping.jsonfile - Translate all text strings to your target language
- Keep the JSON structure intact (don’t change keys, only values)
- Test in-game to ensure all messages display correctly
- Share your translation with the community!
Formatting Tips
- Keep placeholders intact —
{level},{points}, etc. must remain as-is - Maintain similar length — Very long translations may not fit in UI elements
- Use consistent terminology — Use the same word for “level”, “stat”, etc. throughout
- Test thoroughly — Check HUD, GUI, commands, and notifications
File location and reload
- Path:
mods/Zuxaw_RPGLeveling/MessagesLanguageMapping.json - To apply changes without restarting, use /lvl reload (
rpgleveling.command.reload). See Configuration Overview.
See Also
- Configuration Overview — All config files
- Translation Guide — Detailed translation instructions
- Features — List of all stats and features to translate
