Internationalization (I18N)
CommandPrompter supports custom language translations. You can select your language by setting the Locale key in config.yml (e.g., en_US, es_ES).
All translation files support UTF-8 encoding.
Bundled locales are loaded from the plugin JAR. Custom translations or overrides can be placed in plugins/CommandPrompter/locales/.
Locale Properties
The locale files contain key-value pairs for customizing plugin messages.
prompt.cancelled
Sent when a prompt is cancelled.
None
prompt.timed_out
Sent when a prompt times out.
None
prompt.error.invalid_title_filter
Error when a TITLE filter is used on a non-compound tag.
None
prompt.error.session_active
Error when a player tries to start a prompt while already in one.
None
prompt.error.command_failed
Error when the final dispatched command fails.
%message%
validation.invalid_integer
Error when an integer validation fails.
None
validation.invalid_string
Error when a string validation fails (e.g., empty input).
None
player_ui.search_instruction
Instruction sent when searching in the Player UI.
None
dialog.no_options
Warning when a dialog choice has no options.
None
dialog.too_many_options
Warning when a dialog tab completion has too many options.
%count%
command.error.players_only
Error when a non-player tries to run a player-only command.
None
command.error.missing_preset
Error when a required preset is missing from presets.json.
None
command.cancel.no_active_prompt
Error when trying to cancel without an active prompt.
None
command.delegate.unknown_permission
Error when a delegate command uses an unknown permission key.
%key%
command.reload.success
Success message for the reload command.
None
command.reload.failed
Error message when the reload command fails.
%error%
command.version
Shows the installed plugin version.
%version%
Last updated
Was this helpful?