FlipLow

MonayShop — Complete Minecraft Shop Plugin

Develop a complete, production-ready Minecraft plugin named MonayShop, implementing a full-featured shop system with the functionality and user experience expected from a premium SMPShop plugin. Build everything from scratch using original Java code. Do not require an existing plugin JAR, proprietary source code, license activation, or paid dependencies.

  1. Compatibility and Project Structure
  • Target Paper 26.2 and Java 25.
  • Use Maven with a correct "pom.xml".
  • Plugin name: "MonayShop".
  • Output filename: "MonayShop.jar".
  • Generate "plugin.yml", Java source files, default YAML configurations, and README.
  • Use modular classes for GUI management, purchases, economy providers, configuration, messages, sounds, and commands.
  • Follow Paper API conventions and avoid deprecated APIs where possible.
  1. Main Shop GUI

Implement "/shop" to open a customizable inventory GUI. The default main menu should use a dark Minecraft-themed design with the title "&8ѕʜᴏᴘ" and three rows.

Include configurable categories:

  • End — END_STONE
  • Nether — MAGMA_BLOCK
  • Gear — TOTEM_OF_UNDYING
  • Food — COOKED_BEEF
  • Shards — AMETHYST_SHARD

Every category must support custom inventory titles, materials, slots, names, lore, colors, enchantment glow, permissions, and click actions. Allow administrators to customize the entire layout through YAML.

  1. Category Shop GUIs

Create separate configurations for "end.yml", "nether.yml", "gear.yml", "food.yml", and "shards.yml". Each category must support configurable items, prices, purchase amounts, inventory slots, custom names, lore, and console-command rewards.

Implement working pagination, next-page and previous-page buttons, back buttons, configurable filler panes, and inventory sizes. Prevent buttons from overlapping shop items.

  1. Purchase System

Support purchasing Minecraft items and command-based rewards. Include a confirmation GUI displaying the selected item, quantity, total cost, and confirm/cancel buttons.

Provide configurable quantity controls, including adding or removing 1, 10, or 64 items, with configurable maximum quantities and per-item restrictions.

Revalidate the price, currency, quantity, balance, and inventory capacity when confirming purchases. Prevent double-click exploits, duplicate rewards, negative prices, invalid amounts, and free-item exploits. Failed purchases must not charge players or grant rewards. Handle full inventories safely.

Support trusted console commands for rewards, with placeholders such as "{player}", "%player%", and "%amount%".

  1. Economy Integrations

Implement optional integrations for:

  • Vault economy
  • PlayerPoints
  • CoinsEngine

Use compatible APIs and detect installed dependencies safely. Allow configured shops to select their currency provider. Support configurable CoinsEngine currency identifiers.

If a provider is missing or unavailable, disable purchases using that provider and display a clear error. Never silently charge the wrong currency. Ensure payment and reward delivery are handled safely.

  1. Configuration Files

Generate these files automatically on first startup:

  • "config.yml"
  • "basic-setup/commands.yml"
  • "basic-setup/messages.yml"
  • "basic-setup/money-format.yml"
  • "basic-setup/sounds.yml"
  • "economy-confirm-gui/vault-confirm.yml"
  • "economy-confirm-gui/playerpoints-confirm.yml"
  • "economy-confirm-gui/coinsengine-confirm.yml"
  • "shop/main-shop-gui.yml"
  • "shop/end.yml"
  • "shop/nether.yml"
  • "shop/gear.yml"
  • "shop/food.yml"
  • "shop/shards.yml"

Support legacy "&" color codes and "&#RRGGBB" hex colors. Preserve existing configurations during reloads and restarts. Include useful default examples and comments.

  1. Messages, Sounds, and Formatting

Make all messages configurable, including purchase success, insufficient funds, invalid items, full inventory, no permission, category restrictions, and reload completion.

Support configurable sounds for clicks, purchases, errors, cancellation, and navigation, with volume and pitch. Include money formatting for K, M, B, and T.

  1. Commands and Permissions

Implement:

  • "/shop" — open the main shop.
  • "/shopreload" — reload configurations safely.

Use "monayshop.use" for shop access, default true, and "monayshop.admin" for administrative commands, default OP. Support configurable command aliases and tab completion.

  1. Reliability and Security

Prevent unauthorized inventory interactions, item stealing, shift-click exploits, number-key exploits, and invalid inventory dragging. Validate all transactions server-side. Restrict console-command rewards to trusted configuration. Clean up purchase sessions when inventories close or players disconnect.

  1. Final Deliverables

Build the complete project and compile the actual "MonayShop.jar". Fix compilation errors and verify the generated JAR contains the correct metadata, commands, permissions, and configuration resources. Test GUI navigation, purchases, confirmation menus, economy integrations, and reload behavior where possible.

Do not return an incomplete skeleton, pseudocode, or placeholder integrations. Include the complete source project and installation instructions. Clearly report anything not tested or not implemented. Deliver the actual compiled JAR only if compilation succeeds.

All implementation must be original and independent. Do not claim exact equivalence to another plugin without a supplied specification and feature-by-feature verification.

Kodari AI
KodariOct 11 at 6:42 am 1
Created MonayShopPlugins
Couldn't delegate to MonayShop
To run another session in parallel you need a total balance of 20 credits. You have 16.

I created the MonayShop plugin project, but its developer session could not start: the workspace requires 20 credits to launch it and currently has 16. No implementation or JAR has been produced. Please add credits and ask me to continue.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code