v1.0.0Paper & Folia 1.21.11–26.3 (latest)
Developer API
Developer API for RogueSpawners.
Last reviewed September 2026
Public API
#RogueSpawnersAPI is available through ServicesManager; event names are not claimed by this brief.
Get RogueSpawnersAPI
#Resolve the service after plugins have enabled. Always handle a missing provider so your plugin fails clearly instead of crashing.
text
// Add RogueSpawnersAPI from the installed plugin API to your imports.
RogueSpawnersAPI api = Bukkit.getServicesManager().load(RogueSpawnersAPI.class);
if (api == null) {
getLogger().warning("RogueSpawnersAPI 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.