mastar_probg

napravi mi Profesionalen ShopGUI na ime ExilionShop iskam chat prefih suobshteniq i mn drygi neshta iskam da stane brytalno da mogat razlichni valuti da se turgyvat da se zadavat naprimer mobcoins essentials money coins tokens i tn neshta da ima kategorii da mogat se prodavat kopyvat iskam neshto kato ShopGUIplus plugina da stane no po dobur i hybav

Kodari AI
KodariApr 17 at 7:17 pm 84,620 (v2)
ExilionShop
A professional, feature-rich GUI shop plugin inspired by ShopGUI+ but with a premium look and feel. Supports multiple currencies (Vault/EssentialsX, CoinsEngine tokens/coins/mobcoins/gems and more), fully configurable categories loaded from separate YAML files, paginated item listings, a sleek confirmation GUI with ×1/×8/×16/×32/×64 quantity selection, sell-all support, custom sounds, chat-prefix messages, per-category permissions, and an admin reload command.
  • Multi-currency (Vault + CoinsEngine via reflection), separate shops/*.yml files per category, paginated ShopGUI, ConfirmGUI with amount selector

  • TransactionManager handles buy/sell logic; GUIListener routes clicks to each GUI’s handler; all builders keep reference to player for balance display

  • 28 files total: build.gradle, plugin.yml, 3 resources, 3 example shops, 20 Java source files

All 28 files created — ExilionShop is a complete, professional shop plugin with full multi-currency support (Vault + CoinsEngine via reflection), separate per-category YAML shop files under shops/, a paginated 6-row ShopGUI (left-click buy / right-click sell), a polished ConfirmGUI with ×1/×8/×16/×32/×64 multiplier selector and a “Sell All” button, styled chat-prefix messages in messages.yml, configurable sounds, per-category permissions, admin /shopadmin reload, and a TransactionManager that handles batch item giving and safe inventory removal.

mastar_probg

iskam na vshi4ko da se prodava po 1 i da ima sqko sobstven INVENTORY GUI ot koito da mozesh da si dobavqsh da zakypish oshte ot nego kato v ShopGUIPLUS

Kodari AI
KodariApr 18 at 6:22 am 32,226 (v2)

Let me read all existing files first.

Прочетох всички файлове. Ето какво ще направя:

  • Изтривам ConfirmGUI и заменям с нов ItemShopGUI — посветен GUI за всеки item (като ShopGUI+), с декоративен хедър, голям item preview, buy/sell панели, live цена и количество регулация с −64 −16 −1 | qty | +1 +16 +64

  • Обновявам ShopGUI — ляв и десен click отварят ItemShopGUI

  • Обновявам ShopManager — amount по default е 1 за всички items

  • Обновявам всички .yml примери с amount: 1

Готово! Ето какво се промени:


✅ Промени

🆕 ItemShopGUI — Нов посветен GUI за всеки item (54 слота)

Plain Text
┌─────────────────────────────────────────────────────┐
│  [══════════ ДЕКОРАТИВЕН ХЕДЪР ══════════]           │
│  [BUY][BUY][BUY]  [═]  [ITEM]  [═]  [SELL][SELL][SELL] │
│  [BUY][BUY][BUY]  [═]  [ITEM]  [═]  [SELL][SELL][SELL] │
│  [💰Currency] [🪙Balance]  [QTY]  [✦SellAll]        │
│  [-64] [-16] [-1]  [⬡ QTY]  [+1] [+16] [+64]       │
│  [← BACK]  ══════════════════════════  [✖ CLOSE]    │
└─────────────────────────────────────────────────────┘
  • BUY бутони — зелени ако можеш да си го позволиш, червени ако не

  • SELL бутони — оранжеви ако имаш items, червени ако нямаш

  • Live preview — item се обновява с текущото количество и цена

  • Sell All — продава всичко което имаш с 1 клик

  • Quantity система — −64 −16 −1 | ⬡ qty | +1 +16 +64, всичко live refresh

🔧 ShopGUI — И ляв и десен клик отварят ItemShopGUI

🔧 TransactionManager — amount вече е 1 по default (чисти транзакции по 1)

🔧 Всички .yml — amount: 1, реалистични единични цени, повече items

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
28 2,337
src/main/java/com/exilion/shop/ExilionShop.java
package com.exilion.shop;

import com.exilion.shop.command.ShopAdminCommand;
import com.exilion.shop.command.ShopCommand;
import com.exilion.shop.config.ConfigManager;
import com.exilion.shop.config.MessageManager;
import com.exilion.shop.currency.CurrencyManager;
import com.exilion.shop.listener.GUIListener;
import com.exilion.shop.manager.ShopManager;
import com.exilion.shop.manager.TransactionManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class ExilionShop extends JavaPlugin {

    private ConfigManager configManager;
    private MessageManager messageManager;
    private CurrencyManager currencyManager;
    private ShopManager shopManager;
    private TransactionManager transactionManager;

    @Override
    public void onEnable() {
        this.configManager = new ConfigManager(this);
        this.messageManager = new MessageManager(this);
        this.currencyManager = new CurrencyManager(this);
        this.shopManager = new ShopManager(this);
        this.transactionManager = new TransactionManager(this);

        getCommand("shop").setExecutor(new ShopCommand(this));
        getCommand("shopadmin").setExecutor(new ShopAdminCommand(this));
        getServer().getPluginManager().registerEvents(new GUIListener(this), this);

        getLogger().info("ExilionShop v" + getDescription().getVersion() + " enabled!");
    }

    @Override
    public void onDisable() {
        getLogger().info("ExilionShop disabled.");
    }

    public void reload() {
        configManager.reload();
        messageManager.reload();
        currencyManager.reload();
        shopManager.reload();
    }
}