Language & Localization
InviteMe includes built-in support for multiple languages and fully editable message files.
Built-in Languages
Section titled “Built-in Languages”| Code | Language |
|---|---|
en | English (default) |
es | Español |
de | Deutsch |
File Location
Section titled “File Location”Language files are stored at:
plugins/InviteMe/locales/├── en.yml├── es.yml└── de.ymlThese files are created automatically when InviteMe first starts. Edit them directly to customize messages.
Changing the Server Language
Section titled “Changing the Server Language”The server language is set in config.yml:
# files automatically based on available files.Currently InviteMe uses the locale files directly. All three files are active. Player-facing messages use the default locale unless a per-player language system is configured.
Editing Messages
Section titled “Editing Messages”Step 1: Open the locale file
Section titled “Step 1: Open the locale file”Edit plugins/InviteMe/locales/en.yml (or es.yml, de.yml).
Step 2: Find the message key
Section titled “Step 2: Find the message key”Messages are organized in sections. Example structure:
invite: add: success: "<green>✓ {player} has been invited to the server!" already-invited: "<red>✗ {player} is already invited." limit-reached: "<red>✗ You've reached your invitation limit ({limit}/{limit})." no-permission: "<red>✗ You don't have permission to invite players." temp-success: "<green>✓ {player} has been invited for {days} days!"
remove: success: "<green>✓ {player} has been removed from the server!" not-found: "<red>✗ {player} is not in the invitation list." with-reason: "<green>✓ {player} has been removed. Reason: {reason}"
list: header: "<gold>Your Invitations ({count}/{limit}):" entry-permanent: "<white>- {player} <gray>(permanent, invited {days} days ago)" entry-temp: "<white>- {player} <gray>({remaining} days left, expires in {days} days)" empty: "<gray>You haven't invited anyone yet."Step 3: Edit the value
Section titled “Step 3: Edit the value”Keep the {placeholder} variables intact — they’re replaced with real values at runtime:
invite: add: success: "<green>✓ {player} has been invited to the server!"
invite: add: success: "<aqua>🎉 Welcome {player}! They've been added to the whitelist."Step 4: Reload
Section titled “Step 4: Reload”/im reloadChanges take effect immediately — no restart needed.
Color Codes and Formatting
Section titled “Color Codes and Formatting”InviteMe uses MiniMessage format for colors and styling:
| Format | Result |
|---|---|
<red> | Red text |
<green> | Green text |
<gold> | Gold/yellow text |
<aqua> | Cyan text |
<gray> | Gray text |
<white> | White text |
<bold> | Bold |
<italic> | Italic |
<underlined> | Underlined |
<click:run_command:/invite menu>text</click> | Clickable text |
<hover:show_text:'Tooltip text'>text</hover> | Hover tooltip |
Example with formatting:
invite: add: success: "<green><bold>✓</bold> <white>{player}</white> <gray>has been invited!</gray>"Adding a New Language
Section titled “Adding a New Language”-
Copy
plugins/InviteMe/locales/en.ymlto a new file:plugins/InviteMe/locales/fr.yml -
Translate all values (keep all keys and
{placeholder}variables unchanged) -
Reload:
/im reload
Note: InviteMe will not auto-detect new language files unless the plugin is updated to include them. For now, adding a new locale file works for custom setups.
Restoring Default Messages
Section titled “Restoring Default Messages”If you accidentally corrupt a locale file:
-
Delete the file:
rm plugins/InviteMe/locales/en.yml -
Reload InviteMe:
/im reload
InviteMe will recreate the file with default messages.
Missing Keys Warning
Section titled “Missing Keys Warning”When InviteMe starts, it checks locale files for missing keys. If your file is outdated after an update, you’ll see:
[InviteMe] WARNING: Missing keys in en.yml: invite.add.pending, invite.menu.page-infoFix: Delete the locale file and reload to get a fresh copy with all keys, then re-apply your customizations.
Next Steps
Section titled “Next Steps”- ⚙️ All config options: Config Reference
- 📖 Commands: /invite Command Guide
- ❓ FAQ: Frequently Asked Questions