Skip to content

Developer‐API‐Usage

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:

Plugin plugin = Bukkit.getPluginManager().getPlugin("LoreTemplateEngine");
if (!(plugin instanceof LoreTemplateAPI api) || !plugin.isEnabled()) {
    throw new IllegalStateException("LoreTemplateEngine is missing or failed to enable");
}

Thats it basically. Whole api is accessed through this one LoreTemplateAPI class.

Check the source to see all methods: LoreTemplateAPI.java

User Guide

Developer API

Plugin Integrations

Clone this wiki locally