artxylv.

so please make a similar shop to Donut SMP but without crystals and Respawn anchors, and make everything a bit more expensive but with the keys common key 1k, gold key, 5k, Crimston 25k, Prime key 50k

Kodari AI
KodariJul 15 at 12:34 pm 9
DonutMarketShop
A configurable Minecraft shop plugin inspired by Donut SMP markets. It provides a categorized GUI shop with blocks, ores, farming supplies, mob drops, combat materials, and purchasable keys. Players buy items with Vault economy money using left and right clicks, sell items with shift-clicks, and access bulk transactions. Prices are set higher for a premium economy, while crystals and respawn anchors are excluded entirely. Keys include Common Key for $1,000, Gold Key for $5,000, Crimston Key for $25,000, and Prime Key for $50,000.
artxylv.

whats the command

Kodari AI
KodariJul 15 at 12:42 pm 1

The command is:

Plain Text
/shop

You can also try:

Plain Text
/donutshop
artxylv.

https://www.spigotmc.org/resources/donut-crates.132262/ make the keys with thois plugin

Kodari AI
KodariJul 15 at 12:49 pm 9
  1. Check the existing shop’s key definitions and purchase flow.

  2. Verify Donut Crates’ item/key integration from the provided resource.

  3. Replace the shop’s key items with compatible Donut Crates keys and preserve the requested prices.

  4. Update dependencies/config only if the crate plugin requires it.

Integrated the shop with Donut Crates.

Key purchases now run:

Plain Text
dc givekey <player> <crate> <amount>

Configured crate IDs and prices:

Plain Text
Common Key  → common    → $1,000
Gold Key    → gold      → $5,000
Crimston Key → crimston → $25,000
Prime Key   → prime     → $50,000

Players use:

Plain Text
/shop

Make sure Donut Crates has crates named exactly:

Plain Text
common
gold
crimston
prime

The shop also prevents selling these keys and supports buying 1 key with left-click or 16 keys with right-click.

artxylv.

make the shope more astetic and beautfful

Kodari AI
KodariJul 15 at 12:51 pm 9
  1. Redesign the shop GUI layout and navigation.

  2. Improve item names, lore, borders, colors, and category presentation.

  3. Keep the existing Donut Crates key integration and pricing unchanged.

Updated the shop GUI with:

  • Dark and purple glass-pane borders

  • Cleaner category layout

  • Category header with item count

  • Better buy/sell instruction formatting

  • Improved navigation labels

  • Separate “Back to Categories” and “Close Shop” buttons

  • More polished menu spacing and presentation

The existing /shop command, Donut Crates keys, and prices remain unchanged.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
10 1,170
src/main/java/com/kodari/donutmarketshop/DonutMarketShop.java
package com.kodari.donutmarketshop;

import lombok.Getter;
import net.milkbowl.vault.economy.Economy;
import org.bukkit.plugin.RegisteredServiceProvider;
import org.bukkit.plugin.java.JavaPlugin;

public final class DonutMarketShop extends JavaPlugin {

    @Getter
    private Economy economy;

    @Getter
    private ShopManager shopManager;

    @Override
    public void onEnable() {
        if (!setupEconomy()) {
            getLogger().severe("Vault economy was not found. Disabling DonutMarketShop.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }

        saveDefaultConfig();

        shopManager = new ShopManager(this);
        shopManager.load();

        getCommand("shop").setExecutor(new ShopCommand(this));
        getServer().getPluginManager().registerEvents(new ShopListener(this), this);
    }

    private boolean setupEconomy() {
        RegisteredServiceProvider<Economy> registration =
                getServer().getServicesManager().getRegistration(Economy.class);

        if (registration == null) {
            return false;
        }

        economy = registration.getProvider();
        return economy != null;
    }
}