If you use a pickaxe with the silk touch enchantment while breaking a spawner, you will receive the spawner you broke. When placing the spawner again, the spawner will spawn the mob it spawned when breaking it.
Plugin Link:
https://www.spigotmc.org/resources/silkspawners-with-api.60063/
If you use a pickaxe with the silk touch enchantment while breaking a spawner, you will receive the spawner you broke. When placing the spawner again, the spawner will spawn the mob it spawned when breaking it.
Plugin Link:
https://www.spigotmc.org/resources/silkspawners-with-api.60063/