This plugin implements fully customizable and upgradeable spawners.
<dependency>
<groupId>mc.rellox</groupId>
<artifactId>SpawnerMeta</artifactId>
<version>24.8</version>
<scope>provided</scope>
</dependency>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
Getting plugin API:
SpawnerMeta sm = (SpawnerMeta) Bukkit.getPluginManager().getPlugin("SpawnerMeta");
Getting API instance:
APIInstance api = sm.getAPI();
Registering event listeners:
api.register(SpawnerPlaceEvent.class, event -> {
// do stuff here
});
Discord server: https://discord.com/invite/NU9aVbb79d