Extension Points
Fileconfig.ymlBeyond the addon API, IgniteSky exposes a small set of service provider interfaces (SPIs) for the integrations people most often need: shop prices, Slime worlds and minion models. Each one is a plain interface you implement and register with Bukkit's services manager.
WorthSource: feed island value from a shop
Config keylevel.worth-syncIf you already price blocks in a shop plugin, register a WorthSource and set level.worth-sync to BUY or SELL. IgniteSky reads each block's price through the SPI and falls back to block-values for anything the shop does not price.
Bukkit.getServicesManager().register(
com.ignitedev.ignitesky.api.worth.WorthSource.class,
myShopSource,
context().getPlugin(),
org.bukkit.plugin.ServicePriority.Normal);level:
worth-sync: SELLSee Island Levels & Worth for the player side.
SlimeWorldProvider: host worlds in Slime format
To store per island worlds in Slime format, set a mode's hosting strategy to swm. On Advanced Slime Paper the built-in provider registers itself; for another fork or a database-backed loader, register your own SlimeWorldProvider. IgniteSky calls provisionWorld(name, seed, natural) when it needs a new island world, and falls back to a plain folder copy if no provider is registered or it returns empty. See Slime Worlds.
Bukkit.getServicesManager().register(
com.ignitedev.ignitesky.api.world.SlimeWorldProvider.class,
myAswmBridge,
context().getPlugin(),
org.bukkit.plugin.ServicePriority.Normal);Minion renderers
Config keymodel.rendererA minion whose model.renderer is not one of the built-ins is drawn by whichever registered MinionRenderer has that id. The built-ins are armor_stand, display, and modelengine / bettermodel when those plugins are installed. Anything else, a custom model engine or your own animated entity, plugs in here.
public final class MyMinions implements MinionRenderer {
@Override
public String id() {
return "mymodels";
}
@Override
public MinionBody spawn(Location location, Map<String, Object> model, MinionView view) {
String modelId = String.valueOf(model.get("model"));
// Spawn the entities, return a body that owns them.
return new MyBody(location, modelId);
}
}
Bukkit.getServicesManager().register(
MinionRenderer.class, new MyMinions(), plugin, ServicePriority.Normal);Config keycom.ignitedev.ignitesky.api.minionThe contract, from com.ignitedev.ignitesky.api.minion:
| Type | Role |
|---|---|
| MinionRenderer | id() names it in the config; spawn(location, model, view) builds a body. model is the type's whole model: section with the tier's overrides merged in |
| MinionBody | entityIds() lists what a player can click (IgniteSky opens the menu for any of them); update(view), play(animation, view), face(location) and remove() keep it in step |
| MinionView | A snapshot: id, island, type, level, max level, state, stored, capacity |
| MinionState | WORKING, IDLE or FULL |
| MinionAnimation | PLACE, WORK, UPGRADE, ROTATE; ignore any you have nothing for |
Every call arrives on the region thread that owns the minion's location, so a body may touch its entities directly, on Paper and on Folia. IgniteSky draws the hologram itself, so a renderer only draws the minion. A renderer that throws while spawning is logged and skipped; the other minions carry on. If a type names an id nobody has registered yet, the minion stands as an armour stand until the bridge loads.
Import sources
The migration importers (superior, bentobox, ignitesky) are built in and not a public SPI. For any other plugin, export its islands to the neutral JSON format and run the ignitesky importer.