Slime Worlds (SWM)
Fileconfig.ymlSlime is a compact world format from the SlimeWorldManager family (Grinderwolf SWM, Infernal's Advanced Slime Paper, and compatible forks). Instead of a folder of region files per world, a slime world is one small blob loaded into memory or a database. For skyblock, where a server can hold thousands of small per-island worlds, that means less disk, quicker load and unload, and a lot fewer files lying around.
IgniteSky can host per-island worlds in slime format through the swm hosting strategy. On an Advanced Slime Paper server it works with no code at all: IgniteSky ships a built-in bridge that registers itself automatically. It's optional; without a slime backend IgniteSky uses normal world folders.
When to use it
Turning it on
Set the mode's hosting strategy to swm (see World Hosting Strategies):
modes:
skyblock:
hosting: swmOn an Advanced Slime Paper server that is all you do: when any mode uses swm, IgniteSky detects ASP and registers its built-in provider for you at startup. If swm is set but ASP is not present, IgniteSky logs it and falls back to a folder copy, so the server never breaks.
How it plugs in
SlimeWorldProvider is a small typed SPI in the public API. A bridge implements it against a specific SlimeWorldManager's API (a real dependency, no reflection) and registers it with Bukkit's services manager. IgniteSky looks the service up and, when it needs a new island world, calls one method:
// the SPI IgniteSky defines
Optional<World> provisionWorld(String name, long seed, boolean natural);name- the world IgniteSky wants created or loaded.seed- the world seed (for example ChunkBlock terrain).natural-truefor vanilla terrain (ChunkBlock),falsefor a void island world (Skyblock / OneBlock).- An empty result means the provider could not supply the world, so IgniteSky falls back to a folder copy.
Registering a bridge:
Bukkit.getServicesManager().register(
com.ignitedev.ignitesky.api.world.SlimeWorldProvider.class,
myAswmBridge, // your implementation, calling the SWM API
plugin, // your bridge plugin / addon
org.bukkit.plugin.ServicePriority.Normal);The bridge handles the translation from this one call to whatever the underlying SlimeWorldManager API expects (loaders, property maps, and so on).
Why an SPI
SlimeWorldManager has several competing forks with their own APIs and version-specific methods. IgniteSky only bundles the Advanced Slime Paper bridge and keeps everything else behind the typed SPI, so any other fork can supply its own bridge without IgniteSky pinning to it.