You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adam Burdík edited this page Sep 28, 2026
·
1 revision
To use any of the plugin methods you need LoreTemplateAPI instance.
You can get it like this:
Pluginplugin = Bukkit.getPluginManager().getPlugin("LoreTemplateEngine");
if (!(plugininstanceofLoreTemplateAPIapi) || !plugin.isEnabled()) {
thrownewIllegalStateException("LoreTemplateEngine is missing or failed to enable");
}
Thats it basically. Whole api is accessed through this one LoreTemplateAPI class.