Sem van Dellen

Make a auction plugin for me paper aternos server with a cool ah looking like the old donutsmp ah me server name is FrogSMP and make the GUI in the typing of the country netherlands make it cool and easy it needs to work for bedrock and java all versions

Kodari AI
KodariSep 10 at 1:23 pm 2
FrogSMPAuctionHouse
A cross-platform auction house plugin for FrogSMP with a Dutch-themed GUI interface. Players can list items for auction, browse active listings, place bids, and claim won items through an interactive inventory system. Features include a main auction browser with category filters, bid management, automatic auction expiry, and transaction logging. The GUI uses a modern Dutch design with orange accents and tulip motifs, supporting both Java and Bedrock editions through Paper's cross-platform compatibility. Includes configurable auction durations, starting bids, and bid increments with a user-friendly interface displaying item details, current bids, and time remaining in Dutch language.
  1. Build a Dutch FrogSMP veilinghuis with a DonutSMP-style 54-slot GUI.

  2. Add Vault economy integration, persistent listings, expiry, tax, buying, cancelling, and claiming.

  3. Add Java/Bedrock-friendly inventory event handling, commands, configuration, and cross-version item creation.

Built the FrogSMP Dutch auction house plugin.

Features included:

  • DonutSMP-style 54-slot veilinghuis GUI

  • Dutch interface and messages

  • /ah, /ah sell <prijs> [aantal], /ah own, /ah expired

  • Buy, cancel, and reclaim expired listings

  • Persistent listings in listings.yml

  • Configurable auction duration, tax, and maximum listings

  • Vault economy support

  • Bedrock-friendly inventory interaction through Geyser

  • Cross-version item support using XSeries

  • Java/Paper compatibility targeted at modern Paper servers

Required on Aternos:

  • Vault

  • An economy plugin such as EssentialsX

  • Geyser/Floodgate for Bedrock players

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
12 885
src/main/java/com/frogsmp/auction/FrogAuctionPlugin.java
package com.frogsmp.auction;

import com.frogsmp.auction.command.AuctionCommand;
import com.frogsmp.auction.listener.AuctionListener;
import com.frogsmp.auction.service.AuctionService;
import net.milkbowl.vault.economy.Economy;
import org.bukkit.Bukkit;
import org.bukkit.plugin.RegisteredServiceProvider;
import org.bukkit.plugin.java.JavaPlugin;

public class FrogAuctionPlugin extends JavaPlugin {
    private AuctionService auctionService;
    private Economy economy;

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

        RegisteredServiceProvider<Economy> registration = Bukkit.getServicesManager().getRegistration(Economy.class);
        if (registration == null) {
            getLogger().severe("Vault of een economy-plugin ontbreekt. FrogSMP-AuctionHouse wordt uitgeschakeld.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }

        economy = registration.getProvider();
        auctionService = new AuctionService(this, economy);
        auctionService.load();
        auctionService.startExpiryTask();

        AuctionCommand command = new AuctionCommand(this);
        getCommand("ah").setExecutor(command);
        getCommand("ah").setTabCompleter(command);
        Bukkit.getPluginManager().registerEvents(new AuctionListener(), this);
        getLogger().info("FrogSMP Veilinghuis is ingeschakeld.");
    }

    @Override
    public void onDisable() {
        if (auctionService != null) {
            auctionService.stopAndSave();
        }
    }

    public AuctionService getAuctionService() {
        return auctionService;
    }

    public Economy getEconomy() {
        return economy;
    }
}