@Nonnull
    public static synchronized HelperPlugin getPlugin() {
        if (plugin == null) {
            JavaPlugin pl = JavaPlugin.getProvidingPlugin(LoaderUtils.class);
            if (!(pl instanceof HelperPlugin)) {
                throw new IllegalStateException("helper providing plugin does not implement HelperPlugin: " + pl.getClass().getName());
            }
            plugin = (HelperPlugin) pl;

            String pkg = LoaderUtils.class.getPackage().getName();
            pkg = pkg.substring(0, pkg.length() - ".internal".length());

            Bukkit.getLogger().info("[helper] helper (" + pkg + ") bound to plugin " + plugin.getName() + " - " + plugin.getClass().getName());

            setup();
        }

        return plugin;
    }
Provides the instance which loaded the helper classes into the server
helper/src/main/java/me/lucko/helper/internal/LoaderUtils.java