Skip to content

Using API extensions

BlackyPaw edited this page Aug 1, 2016 · 1 revision

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:


i18n-ext-yaml:

Provides a YamlTranslationStorage as seen in prior versions.

Platform SnakeYaml
Spigot Already Included
BungeeCord Already Included