-
Notifications
You must be signed in to change notification settings - Fork 1
Using API extensions
In case you would like to add some extra sauce to I18N's API you can choose to compile I18N yourself and include one or more of its API extensions in the adapters you intend to make use of by adding them to the respective adapter's dependency list or you can shade the extensions into your own plugin.
When using extensions you will have to make sure that you manually provide all dependencies the respective extension requires. This is done as some platforms already provide the required dependencies per default whilst others might not. One such example is snakeyaml as required by the i18n-ext-yaml module which is already compiled into regular Spigot / Bukkit and BungeeCord distributions.
See the tables below for possible dependencies you will have to include when making use of the specified extensions:
Provides a YamlTranslationStorage as seen in prior versions.
Platform | SnakeYaml |
---|---|
Spigot | Already Included |
BungeeCord | Already Included |
» Home
» For server operators:
» Installing I18N on BungeeCord / Spigot
» Configuring I18N
» For developers:
» Getting Started
» Building a simple translated plugin using I18N
» Making use of injection functionality
» Introduction to lazy-loading of translations
» Using API extensions