nacho_ninja1

Create a Minecraft Paper 1.21.11 shop plugin called WaffleShop.

I have provided a reference plugin JAR called ChurroShop-1.21.11-1.jar. Use it as the functional and GUI reference. Recreate the shop experience and functionality closely, but do NOT copy copyrighted code, assets, branding, or proprietary implementation. Build the plugin from scratch.

BRANDING

Replace all ChurroShop branding with:

WAFFLE SMP Plugin name:

WaffleShop

Everything should have a polished WAFFLE SMP / waffle-themed design using premium golden, brown, cream, and white colors.

Do NOT use cyan/purple/rainbow styling.

SHOP GUI

Make the shop GUI feel like a premium modern Minecraft server shop.

Include:

  • Categories
  • Category icons
  • Item icons
  • Item names
  • Item descriptions/lore
  • Buy price
  • Sell price
  • Current balance
  • Navigation buttons
  • Previous/next page buttons
  • Close button
  • Back button

The GUI should be clean, organized, animated where appropriate, and look like a high-quality large SMP server shop.

ITEM BUYING SYSTEM

When a player clicks an item to purchase it, open a quantity/purchase interface.

The player must be able to select:

+1 +30 +64

And also:

-1 -30 -64

The quantity can never go below 1 and should never exceed the maximum stack/allowed purchase amount.

Display clearly:

QUANTITY: 1

and update it live when the player presses the buttons.

Example:

  • Click +1 → 2
  • Click +30 → 32
  • Click +64 → 96
  • Click -30 → 66
  • Click -64 → 2
  • Click -1 → 1

Have a maximum quantity setting so the server owner can decide the maximum purchase amount.

CONFIRM PURCHASE

Include a large confirmation button.

Example:

BUY 64x DIAMOND

Show:

Total Cost: $XXX Your Balance: $XXX

If the player has enough money:

  • Remove the money
  • Give the items
  • Play a success sound
  • Show a success message
  • Update the GUI immediately

If the player doesn't have enough money:

  • Do not take any money
  • Do not give items
  • Play an error sound
  • Show a clear message

Use Vault for the economy.

SELL SYSTEM

The same quantity system must work when selling.

Players can select:

+1 / +30 / +64 and -1 / -30 / -64

Show:

SELL 64x DIAMOND

and the total amount they will receive.

When selling:

  • Remove the correct amount of items from their inventory
  • Give them the correct amount of money
  • Update the GUI immediately
  • Play a confirmation sound

Prevent selling items the player doesn't actually have.

PAGINATION

The shop must support multiple pages.

Include:

← Previous Page Next Page →

Show the current page, for example:

Page 1 / 5

Categories should also be able to contain multiple pages.

The GUI must never break when there are many items.

CATEGORIES

Create a category system.

Examples:

  • Blocks
  • Ores
  • Farming
  • Food
  • Combat
  • Tools
  • Drops
  • Miscellaneous

Make categories fully editable.

The server owner must be able to:

  • Create categories
  • Delete categories
  • Rename categories
  • Change category icons
  • Change category descriptions
  • Change item prices
  • Add/remove items
  • Change item slots
  • Change item names
  • Change item lore
  • Change buy prices
  • Change sell prices
  • Change page layouts

IMPORTANT: EASY IN-GAME EDITING

I do NOT want to constantly edit YAML files.

Add an admin setup/editor system.

For example:

/waffleshop

/waffleshop admin

/waffleshop edit

Allow authorized admins to configure the shop through GUIs where possible.

Permissions:

waffleshop.admin waffleshop.use

Normal players must not be able to access the editor.

WAFFLE SMP FEATURES

Add premium features such as:

  • Smooth GUI transitions where possible
  • Click sounds
  • Purchase sounds
  • Sell sounds
  • Error sounds
  • Hover lore
  • Balance display
  • Item quantity display
  • Total price calculation
  • Transaction confirmation
  • Transaction history
  • Pagination
  • Search items
  • Back buttons
  • Category navigation
  • Reload command
  • Permission system
  • Admin editor
  • Safe inventory handling
  • Protection against double-click exploits
  • Protection against negative quantities
  • Protection against price manipulation
  • Protection against item duplication

SEARCH

Add a search button.

Players can search for an item by typing its name.

Search results should show matching shop items.

ECONOMY

Use Vault.

Support:

%balance%

or the player's actual Vault balance.

Make all prices configurable.

Support decimal prices.

Example:

BUY: $1,500 SELL: $750

Format large numbers cleanly.

COMMANDS

Add:

/shop /waffleshop /waffleshop reload /waffleshop editor /waffleshop search

Make /shop open the main shop GUI.

CONFIGURATION

Even though the plugin should have an in-game editor, also save everything safely to configuration files so changes persist after restarting the server.

Do not require users to manually write complicated configuration files.

PAPER VERSION

Target:

Paper 1.21.11

Use modern Paper API practices.

Make sure the plugin has a correct plugin.yml and Maven project structure.

The final project MUST compile successfully into:

WaffleShop-1.0.0.jar

Do not give me pseudo-code.

Give me a complete working Maven Java plugin project with all required source files, plugin.yml, pom.xml, configuration/resource files, and classes.

Make sure there are NO missing imports, missing classes, fake APIs, or placeholder methods.

FINAL DESIGN

The final result should feel like a premium WAFFLE SMP shop, inspired by the reference plugin's functionality and layout but rebuilt independently.

Make it substantially more polished than the reference.

Use consistent WAFFLE SMP branding throughout the entire GUI.

The plugin must actually work on Paper 1.21.11.

Kodari AI
KodariOct 2 at 6:49 pm 2
WaffleShop
A premium waffle-themed shop plugin for Paper 1.21.11 with a fully interactive GUI system. Features categorized shopping with pagination, search functionality, and an intuitive quantity selection interface for buying and selling items. Includes a complete in-game admin editor for managing categories, items, prices, and layouts without editing YAML files. Uses Vault economy with decimal price support, transaction history, and robust anti-exploit protections. Provides polished golden, brown, and cream WAFFLE SMP branding throughout with click sounds, animated elements, and live balance displays. Commands include /shop, /waffleshop, and admin editor access with full permission system.
  1. Set up the Maven/Paper 1.21.11 plugin, Vault economy hook, and editable default shop data.

  2. Build the paginated player shop, quantity-based buy/sell flow, search, history, and safe transaction handling.

  3. Add permission-checked in-game category/item editor, commands, and persistent configuration.

Created the WaffleShop Maven project for Paper 1.21.11. It includes the WAFFLE SMP shop GUI, paginated categories and search, Vault-backed quantity-based buying and selling, transaction history, and a permission-protected in-game editor that saves changes to configuration.

The project sets Maven’s output name to WaffleShop-1.0.0.jar. Vault and XSeries are declared as dependencies.

Kodari can make mistakes. Review important code before using.
Files
src
pom.xml
Code
9 1,659
src/main/java/com/wafflesmp/waffleshop/WaffleShop.java
package com.wafflesmp.waffleshop;

import net.milkbowl.vault.economy.Economy;
import org.bukkit.Bukkit;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.RegisteredServiceProvider;
import org.bukkit.plugin.java.JavaPlugin;

public final class WaffleShop extends JavaPlugin {
    private Economy economy;
    private ShopData shopData;
    private ShopMenus shopMenus;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        if (!setupEconomy()) {
            getLogger().severe("Vault and a compatible economy provider are required. WaffleShop will be disabled.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }

        shopData = new ShopData(this);
        shopMenus = new ShopMenus(this, shopData, economy);
        getServer().getPluginManager().registerEvents(shopMenus, this);
        ShopCommand command = new ShopCommand(this, shopMenus);
        PluginCommand shop = getCommand("shop");
        PluginCommand waffleShop = getCommand("waffleshop");
        if (shop == null || waffleShop == null) {
            getLogger().severe("Shop commands are missing from plugin.yml.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }
        shop.setExecutor(command);
        waffleShop.setExecutor(command);
        waffleShop.setTabCompleter(command);
        getLogger().info("WAFFLE SMP shop is ready.");
    }

    private boolean setupEconomy() {
        if (Bukkit.getPluginManager().getPlugin("Vault") == null) {
            return false;
        }
        RegisteredServiceProvider<Economy> registration = getServer().getServicesManager().getRegistration(Economy.class);
        if (registration == null) {
            return false;
        }
        economy = registration.getProvider();
        return economy != null;
    }

    public void reloadShop() {
        reloadConfig();
        shopData.reloadHistory();
    }

    public Economy economy() {
        return economy;
    }

    public ShopData shopData() {
        return shopData;
    }
}