freehujaif67

Make an auction house plugin like donut smp you can view by right clicking it and right click to buy items and add a confirm purchase make the auction house INVENTORY GUI modern and polish and simple like donut smp also add licence key system in config file which starts with RAV-random letters

Kodari AI
KodariAug 7 at 8:58 am 2
AuctionHouseGUI
A modern auction house plugin with a polished inventory GUI. Players right-click an auction block to open the main auction interface, browse listed items, and right-click to purchase with a confirmation dialog. Features a license key system in config.yml requiring keys starting with "RAV-" for plugin activation. Includes item listing, browsing, buying, and a clean, intuitive GUI design inspired by Donut SMP's auction house.
  1. Core plugin setup: Gradle build, plugin metadata, configuration, and RAV- licence validation.

  2. Auction storage/economy: persistent listings, Vault transactions, expiry handling, and seller payouts.

  3. GUI experience: paginated auction house, right-click purchase flow, polished confirmation screen, and inventory protection.

  4. Player commands: /ah, /ah sell <price>, and admin reload support.

  1. Built a complete RAV Auction House plugin from scratch with:

    • /ah browsing command

    • /ah sell <price> listing command

    • /ah reload admin command

    • Vault economy integration

    • Persistent listings saved to listings.yml

    • Configurable listing duration and price limits

    • Automatic expired listing cleanup

  2. Added a polished inventory GUI:

    • Paginated auction browsing

    • 28 listings per page

    • Right-click an item to open purchase confirmation

    • Confirm/cancel purchase screen

    • Protected inventory interactions and drag events

    • Seller, price, and purchase information in item lore

  3. Added licence validation:

    • Configured in config.yml

    • Requires the format RAV-XXXXXXXX

    • Plugin disables itself when the licence key is invalid

  4. Added Vault dependency configuration and plugin metadata in plugin.yml.

freehujaif67

Remove the glass from auction house INVENTORY GUI add my INVENTORY GUI(lime shulker box),information,page refresh with description and use color in the text add sign and you can type and search the item to buy them if someone is selli them also use small letter font like "ᴍɪɴᴇᴄʀᴀꜰᴛ"

Kodari AI
KodariAug 7 at 9:18 am 2
  1. Redesign the auction GUI: remove glass filler items and add lime shulker-box information, refresh, and navigation controls with colored descriptions and small-cap labels.

  2. Add sign-based auction search: players can enter a query, then browse only matching listings.

  3. Update click handling and messages while preserving purchase confirmation and existing listing behavior.

  1. Removed all glass filler panes from the auction inventory GUI.

  2. Added a cleaner modern control bar with:

    • Lime shulker-box information button

    • Sign search button

    • Refresh button

    • Previous/next page buttons

    • Auction house overview button

  3. Added colored lore and small-cap styling such as ᴀᴜᴄᴛɪᴏɴ ʜᴏᴜꜱᴇ, ʀᴇꜰʀᴇꜱʜ, and ꜱᴇᴀʀᴄʜ ɪᴛᴇᴍꜱ.

  4. Added sign-based searching:

    • Click the search sign in the GUI.

    • A temporary sign opens nearby.

    • Type the item name and submit.

    • Results only show matching items currently listed.

  5. Search supports both material names and custom item display names.

  6. Search state is preserved while switching pages and refreshing.

  7. Added cleanup for temporary search signs when the player quits or search times out.

  8. Preserved the existing right-click purchase confirmation flow and seller payment behavior.

freehujaif67

Also add sound like if someone trying to purchase there own item then it won't allow them to buy it and there will be a villager sound and if someone trying to purchase item and they don't have enough money for it it will also make villager sound and if they have enough money and purchased the item it will make the XP sound same with all the buttons in the INVENTORY GUI and then compile the full plugin

Kodari AI
KodariAug 7 at 9:22 am 1
  1. Add purchase validation sounds: villager denial for self-purchases and insufficient funds, XP success sound.

  2. Add XP feedback to every auction GUI button without affecting navigation, refresh, search, or confirmation behavior.

  3. Verify the completed plugin’s build configuration and leave it ready for the automatic verifier build.

The purchase flow already has the required self-listing and funds checks, so I’m adding cross-version XSeries sound feedback at those exact branches and to successful GUI controls.

Updated AuctionMenu with:

  • XP level-up sound for auction GUI buttons, navigation, refresh, search, and confirmation actions.

  • Villager “no” sound when:

    • A player tries to buy their own listing.

    • A player lacks sufficient funds.

  • XP sound after a successful purchase.

  • Uses XSeries XSound for cross-version compatibility.

The plugin is ready for the automatic verifier compilation.

freehujaif67

How do I compile

Kodari AI
KodariAug 7 at 9:23 am 1

The project does not include a Gradle Wrapper, so compile it with a locally installed Gradle.

From the project root:

Shell
gradle clean build

The compiled plugin will be created at:

Plain Text
build/libs/

Copy the generated .jar file into your server’s:

Plain Text
plugins/

Then restart the server.

If Gradle is not installed:

  • Install Gradle 8.x

  • Ensure Java 17+ is installed

  • Run:

Shell
java -version
gradle -version
gradle clean build

On Windows PowerShell:

Powershell
cd "C:\path\to\AuctionHouseGUI"
gradle clean build
Copy-Item "build\libs\*.jar" "C:\path\to\server\plugins\"

On Linux/macOS:

Shell
cd /path/to/AuctionHouseGUI
gradle clean build
cp build/libs/*.jar /path/to/server/plugins/

The server will also need Vault and an economy provider such as EssentialsX installed.

freehujaif67

There shouldnt be a confirm button if I don't have money for it or if it's my own item and the lime shulker is supposed to say my own listening where it will show the user it'd own item and not every INVENTORY GUI should have XP sound give them another sound the XP button should be only if someone purchased the item also add lime glass pane as confirm in confirm purchase INVENTORY GUI and red glass pane for cancel and add lentern in the INVENTORY GUI and the information about the auction house will be in the lentern description also the plugin will be called rAuctionHouse a lil example of INVENTORY GUI in the screenshot

1 image attached
Kodari AI
KodariAug 7 at 9:38 am 2
  1. Rename the plugin to rAuctionHouse across metadata and user-facing GUI text.

  2. Correct GUI behavior: lime shulker opens “my listings,” lantern shows auction information, and controls use distinct sounds.

  3. Refine confirmation: only show the confirm option for valid purchases, with lime/red glass controls for confirm/cancel.

  4. Preserve search, pagination, and purchase logic while applying the new layout and sounds.

The existing purchase flow validates ownership and funds only after opening confirmation, so I’m moving those checks into the confirmation-opening step. I’m also adding a filtered “my listings” view, replacing the information control with a lantern, and separating normal button feedback from the XP purchase sound.

Updated the plugin to rAuctionHouse with:

  • Lime shulker box now opens ᴍʏ ʟɪꜱᴛɪɴɢꜱ, showing only the player’s own listings.

  • Lantern added for ᴀᴜᴄᴛɪᴏɴ ɪɴꜰᴏʀᴍᴀᴛɪᴏɴ.

  • Players cannot open the confirmation GUI when:

    • Buying their own listing.

    • They do not have enough money.

  • Villager denial sound plays for invalid purchases.

  • Confirm button changed to a lime stained-glass pane.

  • Cancel button changed to a red stained-glass pane.

  • Normal GUI controls use a button-click sound.

  • XP sound is reserved for successful purchases.

  • Pagination and refresh now work correctly in both the main auction view and personal listings.

  • Plugin metadata, title, prefix, and project name updated to rAuctionHouse.

Compile from the project folder with:

Shell
gradle clean build

The plugin JAR will be in:

Plain Text
build/libs/
freehujaif67

I can't search item it's saying no safe place to search item it should be like when you click on the sign the sign will open and you have to type the item I. The sign also add format like this example /ah sell 100k instead of typing 100000 also remove the all item text it look ass and in the auction house INVENTORY GUI it should say auction house instead of rauction house also there are more slots in the top but it's for some reason add items in 2nd slot when iam selling it also add book next page sound in auction house next page and book previous page sound in auction house previous page arrow also add a select page(enderchest as icon and if you click on it it will make enderchest sound) in the auction house INVENTORY GUI and when you open it it will show all the Minecraft items example on the 3rd screenshot and if you click on one of them if someone is selling that specific item it will show to the user who click on the item and also confirm purchase like shown in 4th screenshot and you can search on the select item INVENTORY GUI and can go to other pages and example if a item has enchantment in the bow it will still show the ebow in the normal bow section

4 images attached
Kodari AI
KodariAug 7 at 10:23 am 5
  1. Fix sign search input and add human-friendly sell prices such as 100k.

  2. Correct the auction layout/title and move listings out of the top control row.

  3. Add an item-selector GUI with pagination, search, item-type filtering, and listing results.

  4. Add the requested navigation controls and sounds, then leave the project ready for verifier compilation.

The first fixes are in: sign search no longer requires a “safe” solid-floor position, and /ah sell now accepts suffixes such as 100k, 1.5m, and 2b. I’m continuing with the layout and item-selector flow.

The selector flow is now wired: the ender chest opens a paginated Minecraft-item browser, item search uses the same sign editor, selecting BOW filters all bow listings including enchanted bows, and page navigation uses book-page sounds. I’m applying the final 45-slot top-grid adjustment so listings no longer occupy an unexpectedly small/offset area.

Implemented the requested auction house updates:

  • Fixed sign search so it searches nearby open space instead of requiring a solid block underneath.

  • Added price suffix support:

    • /ah sell 100k

    • /ah sell 1.5m

    • /ah sell 2b

  • Changed the main GUI title to ᴀᴜᴄᴛɪᴏɴ ʜᴏᴜꜱᴇ.

  • Removed the “All items” title text.

  • Moved auction listings into the full top 5 rows instead of starting in an offset slot.

  • Added an ENDER CHEST item selector button.

  • Added a paginated Minecraft item selector GUI.

  • Added sign search inside the item selector GUI.

  • Selecting an item filters auction listings by its base material.

  • Enchanted items still match their normal material:

    • Enchanted bows appear under BOW.

    • Enchanted tools match their regular tool type.

  • Added book page-turn sounds for previous and next page buttons.

  • Added an ender chest sound when opening the item selector.

  • Added button sounds when selecting an item or navigating controls.

  • Preserved the lime confirm and red cancel glass panes.

  • Updated the /ah sell usage message with price examples.

Compile with:

Shell
gradle clean build

The JAR will be generated in:

Plain Text
build/libs/
freehujaif67

When iam clicking on the ender chest there is no select item INVENTORY GUI and when iam clicking on sign there is no sign popping on my screen to search item also add if you left click on your item on auction house it will cancel the item from auction house and give back the user who listen it on auction also there is no book and quill sound on auction house arrow buttons for next page and previous page

Kodari AI
KodariAug 7 at 10:38 am 2
  1. Fix the ender-chest and sign-search interactions so both open their intended GUI/input flow.

  2. Add left-click self-listing cancellation with item return and seller notification.

  3. Add book-and-quill sounds to previous/next auction-page buttons and verify listener registration.

Implemented:

  • Ender chest now opens the item-selection GUI correctly.

  • Search sign opens after a short server delay so it properly appears on-screen.

  • Search works from both the auction GUI and item-selector GUI.

  • Left-clicking your own listing cancels it.

  • Cancelled items are returned to the seller’s inventory, with overflow dropped safely.

  • Added a cancellation confirmation message.

  • Right-click purchase behavior remains unchanged.

  • Added book page-turn sound for previous and next page arrows, with compatibility fallbacks.

  • Fixed the ender-chest button handling so it is no longer swallowed by the other control checks.

Compile with:

Shell
gradle clean build

The JAR will be located in:

Plain Text
build/libs/
Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
13 1,243
src/main/java/com/kodari/ravah/RavAuctionHouse.java
package com.kodari.ravah;

import com.kodari.ravah.command.AuctionCommand;
import com.kodari.ravah.economy.EconomyService;
import com.kodari.ravah.gui.AuctionListener;
import com.kodari.ravah.gui.AuctionMenu;
import com.kodari.ravah.license.LicenseManager;
import com.kodari.ravah.listing.ListingManager;
import org.bukkit.ChatColor;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public class RavAuctionHouse extends JavaPlugin {
    private ListingManager listingManager;
    private EconomyService economyService;
    private AuctionMenu auctionMenu;

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

        if (!LicenseManager.isValid(getConfig().getString("license-key", ""))) {
            getLogger().severe("The configured RAV licence key is invalid. Plugin disabled.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }

        economyService = new EconomyService(this);
        if (!economyService.setup()) {
            getLogger().severe("Vault and a compatible economy provider are required. Plugin disabled.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }

        listingManager = new ListingManager(this);
        listingManager.load();
        auctionMenu = new AuctionMenu(this, listingManager, economyService);

        getServer().getPluginManager().registerEvents(new AuctionListener(auctionMenu), this);
        PluginCommand command = getCommand("ah");
        if (command != null) {
            AuctionCommand auctionCommand = new AuctionCommand(this);
            command.setExecutor(auctionCommand);
            command.setTabCompleter(auctionCommand);
        }
        getLogger().info("rAuctionHouse enabled with " + listingManager.size() + " active listing(s).");
    }

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

    public void reloadPlugin() {
        reloadConfig();
        listingManager.load();
    }

    public String message(String key, Object... replacements) {
        String value = getConfig().getString("messages." + key, key);
        for (int i = 0; i < replacements.length; i++) {
            value = value.replace("{" + i + "}", String.valueOf(replacements[i]));
        }
        String prefix = getConfig().getString("messages.prefix", "");
        return color(prefix + value);
    }

    public String color(String text) {
        return ChatColor.translateAlternateColorCodes('&', text == null ? "" : text);
    }

    public ListingManager getListingManager() {
        return listingManager;
    }

    public EconomyService getEconomyService() {
        return economyService;
    }

    public AuctionMenu getAuctionMenu() {
        return auctionMenu;
    }
}