Discord
v1.0.4Paper & Folia 1.21.11–26.3 (latest)

Developer API

Developer API for RogueShop.

Last reviewed September 2026

Public API

#

Developer extension points cover RogueShopAPI, events, currencies and custom items; use only interfaces present in the installed build.

Get RogueShopAPI

#

Resolve the service after plugins have enabled. Always handle a missing provider so your plugin fails clearly instead of crashing.

text
// Add RogueShopAPI from the installed plugin API to your imports.
RogueShopAPI api = Bukkit.getServicesManager().load(RogueShopAPI.class);

if (api == null) {
    getLogger().warning("RogueShopAPI is unavailable; disabling this integration.");
    getServer().getPluginManager().disablePlugin(this);
    return;
}

// Keep the reference and call only methods exposed by your installed version.

Still stuck? Ask in Discord.