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.