wildabyss_

i want a spawners plugin similar to "VirtualSpawners" i want it to have a drop page option to drop all the items in the current page. and hoppers to be able to be used on the spawners.

Kodari AI
KodariOct 26 at 3:49 am 1
SpawnerVault
A comprehensive spawner management plugin offering a virtual item storage system for spawners. Players can open a GUI to view and manage items stored within each spawner, with pagination support for large inventories. The plugin includes a "drop page" feature that allows players to drop all items from the currently viewed page directly into the world. Hoppers are fully compatible with spawners, enabling automated item collection and transfer. The plugin provides intuitive controls for depositing and withdrawing items, with a clean interface that displays item counts and page navigation. Designed for seamless integration with existing spawner mechanics while adding enhanced storage and automation capabilities.

Plan:

  • Add the plugin setup, spawner item command, and persisted virtual-spawner storage.

  • Add a paged GUI with a “Drop This Page” action.

  • Add automatic drop generation and hopper extraction from beneath spawners.

Created the VirtualSpawners plugin. Admins can use /spawner give <player> <entity> [amount]; right-click a spawner to manage its paged storage, or choose Drop This Page to drop that page’s items. A hopper directly beneath a spawner pulls stored items automatically. Generation interval and items per cycle are configurable in config.yml.

wildabyss_

i dont want it to actually spawn skeletons i want it like other spawner plugins where they have mob drops so example skeleton spawners a gui that has "stats, storage, xp" as different tabs, i want the spawners to be stackable multiple inside one and i want the plugin to be named AbyssSpawners

Kodari AI
KodariOct 26 at 4:05 am 2
  1. Rework spawners to generate mob drops without spawning mobs, with stack counts and stored XP.

  2. Update the GUI with Stats, Storage, and XP tabs, including the page-drop action.

  3. Rename the plugin and commands/messages to AbyssSpawners.

Renamed the plugin to AbyssSpawners. Managed spawners generate drops and XP without spawning mobs; matching spawners can be stacked by right-clicking one with another spawner item, and breaking it preserves the stack count.

The GUI now has Stats, Storage, and XP tabs. Storage keeps the paged layout and Drop This Page action, and hoppers can still extract stored items. XP generation is configurable with xp-per-cycle in config.yml.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
10 905
src/main/java/dev/kodari/virtualspawners/VirtualSpawnersPlugin.java
package dev.kodari.virtualspawners;

import dev.kodari.virtualspawners.command.SpawnerCommand;
import dev.kodari.virtualspawners.listener.SpawnerListener;
import dev.kodari.virtualspawners.menu.SpawnerMenuListener;
import dev.kodari.virtualspawners.spawner.SpawnerManager;
import org.bukkit.NamespacedKey;
import org.bukkit.plugin.java.JavaPlugin;

public final class VirtualSpawnersPlugin extends JavaPlugin {
    private NamespacedKey spawnerTypeKey;
    private NamespacedKey spawnerStackKey;
    private SpawnerManager spawnerManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        spawnerTypeKey = new NamespacedKey(this, "spawner_type");
        spawnerStackKey = new NamespacedKey(this, "spawner_stack");
        spawnerManager = new SpawnerManager(this);
        spawnerManager.load();

        getServer().getPluginManager().registerEvents(new SpawnerListener(this, spawnerManager), this);
        getServer().getPluginManager().registerEvents(new SpawnerMenuListener(this, spawnerManager), this);
        getCommand("spawner").setExecutor(new SpawnerCommand(spawnerManager));
        spawnerManager.start();
    }

    @Override
    public void onDisable() {
        if (spawnerManager != null) {
            spawnerManager.save();
        }
    }

    public NamespacedKey getSpawnerTypeKey() {
        return spawnerTypeKey;
    }

    public NamespacedKey getSpawnerStackKey() {
        return spawnerStackKey;
    }
}