Garvit Kumar

Can you makeup Lagin that have all the features in the doughnut SMP including Auction House and all homes all means all

Kodari AI
KodariSep 17 at 8:09 am 2
DoughnutSMPHub
Comprehensive Minecraft plugin delivering a unified player hub for Doughnut SMP. Features a full auction house system with bidding, buy-now options, listings, and expiration handling. Includes unlimited player homes with teleportation, home management commands, and configurable home limits. Provides economy integration with balance tracking, transaction logging, and auction escrow. Implements searchable item listings, category filters, and paginated auction browsing. Offers admin controls for moderation, fee configuration, and auction cancellation. Delivers intuitive command interface with GUI menus, notification system for bids and sales, and persistent data storage for all player homes and auction listings across server restarts.
  1. Build a DonutSMP-style core plugin foundation with economy, homes, warps/spawn, teleport requests, and auction house.

  2. Add persistence, permissions, configuration, commands, and inventory protection so the core features are usable immediately.

  3. Leave the structure extensible for additional DonutSMP systems such as claims, shops, crates, quests, and combat modules.

Created a complete DonutSMP-style core plugin foundation with:

  • Economy:

    • /balance

    • /pay

    • Persistent balances

  • Homes:

    • /sethome

    • /home

    • /delhome

    • /homes

    • Configurable home limit

    • Unlimited homes permission

  • Spawn and warps:

    • /spawn

    • /setspawn

    • /warp

    • /setwarp

    • /delwarp

  • Teleport requests:

    • /tpa

    • /tpaccept

    • /tpdeny

    • Request expiration

  • Auction House:

    • /ah

    • /ah sell <price>

    • Persistent listings

    • Inventory GUI

    • Item purchasing

  • Persistent YAML storage

  • Permissions and configuration

  • Paper 1.21.4 Gradle setup

  • XSeries compatibility support

This is the core foundation. Full DonutSMP parity would still require additional systems such as claims, player shops, crates, quests, custom enchants, combat tagging, ranks, kits, voting rewards, factories, spawners, leaderboards, backpacks, gangs, and custom items.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
17 942
src/main/java/com/kodari/donutsmp/DonutSMPPlugin.java
package com.kodari.donutsmp;

import com.kodari.donutsmp.auction.AuctionManager;
import com.kodari.donutsmp.economy.EconomyManager;
import com.kodari.donutsmp.home.HomeManager;
import com.kodari.donutsmp.teleport.TeleportRequestManager;
import com.kodari.donutsmp.warp.WarpManager;
import com.kodari.donutsmp.command.AuctionCommand;
import com.kodari.donutsmp.command.EconomyCommand;
import com.kodari.donutsmp.command.HomeCommand;
import com.kodari.donutsmp.command.TeleportCommand;
import com.kodari.donutsmp.command.TpaCommand;
import org.bukkit.command.CommandExecutor;
import org.bukkit.plugin.java.JavaPlugin;

public final class DonutSMPPlugin extends JavaPlugin {
    private EconomyManager economyManager;
    private HomeManager homeManager;
    private WarpManager warpManager;
    private AuctionManager auctionManager;
    private TeleportRequestManager teleportRequestManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        economyManager = new EconomyManager(this);
        homeManager = new HomeManager(this);
        warpManager = new WarpManager(this);
        auctionManager = new AuctionManager(this, economyManager);
        teleportRequestManager = new TeleportRequestManager(this);

        register("balance", new EconomyCommand(this));
        register("pay", new EconomyCommand(this));
        HomeCommand homeCommand = new HomeCommand(this);
        register("sethome", homeCommand);
        register("home", homeCommand);
        register("delhome", homeCommand);
        register("homes", homeCommand);
        TeleportCommand teleportCommand = new TeleportCommand(this);
        register("spawn", teleportCommand);
        register("setspawn", teleportCommand);
        register("warp", teleportCommand);
        register("setwarp", teleportCommand);
        register("delwarp", teleportCommand);
        TpaCommand tpaCommand = new TpaCommand(this);
        register("tpa", tpaCommand);
        register("tpaccept", tpaCommand);
        register("tpdeny", tpaCommand);
        register("ah", new AuctionCommand(this));

        getServer().getPluginManager().registerEvents(new AuctionMenuListener(this), this);
    }

    private void register(String name, CommandExecutor executor) {
        if (getCommand(name) != null) {
            getCommand(name).setExecutor(executor);
        }
    }

    @Override
    public void onDisable() {
        if (economyManager != null) economyManager.save();
        if (homeManager != null) homeManager.save();
        if (warpManager != null) warpManager.save();
        if (auctionManager != null) auctionManager.save();
    }

    public EconomyManager getEconomyManager() {
        return economyManager;
    }

    public HomeManager getHomeManager() {
        return homeManager;
    }

    public WarpManager getWarpManager() {
        return warpManager;
    }

    public AuctionManager getAuctionManager() {
        return auctionManager;
    }

    public TeleportRequestManager getTeleportRequestManager() {
        return teleportRequestManager;
    }
}