Package-level declarations
Types
A class that manages a plugin's i18n. This handles static and dynamic languages. Static languages are languages that never change and are usually loaded from the plugin jar. Dynamic languages are languages that can change at runtime and are usually loaded from a database or file. The plugin will cache dynamic languages to prevent unnecessary loading, and will reload them when invalidated. When a message is requested, the plugin will first check the cached dynamic languages, then the dynamic languages, and finally the static languages. If the get method is called with a CommandSender, the plugin will use the forced language if it is set, otherwise it will use the player's locale. If the player's locale is not found, the default language will be used. If the command sender is not a player, the default language will be used.
A builder class for the i18n manager. This class is used to build the i18n manager with the specified settings. The i18n manager is used to manage the languages for the plugin.
Functions
Sends an internationalized confirmation message to the command sender.
Sends an internationalized custom colored message to the command sender.
Sends an internationalized error message to the command sender.
Sends an internationalized info message to the command sender.
Sends an internationalized warning message to the command sender.
Tries to send an internationalized confirmation message to the command sender. If the translation is missing, sends the alternative message instead.
Tries to send an internationalized custom colored message to the command sender. If the translation is missing, sends the alternative message instead.
Tries to send an internationalized error message to the command sender. If the translation is missing, sends the alternative message instead.
Tries to send an internationalized info message to the command sender. If the translation is missing, sends the alternative message instead.
Tries to send an internationalized warning message to the command sender. If the translation is missing, sends the alternative message instead.