Skip to content
◆ TTS-STUDIO docs Discord

Plugins / ShopForge

ShopForge

Shops you edit and reload with players online

ShopForge is a GUI shop plugin for Paper and Spigot, 1.17 to 26.x. Each shop is a YAML file with its own categories, items, buy and sell prices and stock, and /shop reload applies changes with players online. You can also build them without opening a file: /shop editor makes shops, categories and items with clicks. Five finished shops with 230 items are copied onto your server the first time it starts, so /shop has something to sell straight away.

How it works in play

Building shops with clicks

Currencies, custom items and market prices

The five shops

Blacksmith (36 items), Farmer's Market (48), Wizard's Tower (48), Quarry (48) and Bazaar (50), each with its own colours, item names and lore. Edit their prices, delete the ones you don't want or use them as templates for your own.

Writing a shop

A shop is one file in plugins/ShopForge/shops/. This one has a single category with one item:

id: farmers-market
display-name: "<#7EC850>Farmer's Market"
size: 54
categories:
  produce:
    icon: WHEAT
    display-name: "Produce"
    items:
      - id: bread
        material: BREAD
        display-name: "Hearth Bread"
        lore:
          - "<gray>Crusty loaf, still warm."
        buy-price: 6
        sell-price: 2
        stock: -1            # -1 = unlimited
        stock-per-player: 0  # 0 = no limit

How to use it

  1. Install: put ShopForge in /plugins (with Vault and an economy plugin for money prices) and restart once. English is the default; set language: es for Spanish.
  2. Adjust the shops in plugins/ShopForge/shops/, add new files, or do both in game with /shop editor.
  3. Apply changes with /shop reload. The next window a player opens has the new prices.
  4. Check the prices with /shop audit: it lists anything a player can buy and sell back for more, in any of your shops, and any recipe whose ingredients cost less than the shops pay for the result. Startup and every reload run it and say in one line if something turned up. It also lists items that can't be traded right now: a custom item that hasn't loaded or a currency that isn't installed.
  5. Shopkeepers (optional, needs Citizens): select an NPC with /npc select and run /shop npc <shop>. Right-clicking the NPC opens that shop.

Commands and permissions

Placeholders

With PlaceholderAPI installed: %shopforge_total_spent%, %shopforge_total_earned% and %shopforge_transactions_count%.

Requirements

FAQ

Do I have to restart after changing a price?
No. Run /shop reload and the next window shows the new price. A price changed in /shop editor applies on the click.

Can I check what a player bought?
Yes. /shop log <player> lists their purchases and sales with amounts and prices.

Can an item be limited to one per player?
Yes. Set stock-per-player: 1. Add stock-refill-hours to choose when it refills.

Can I translate the messages?
Yes. English and Spanish are included in lang/, in MiniMessage, and missing keys fall back to English.

What happens if I make a typo in a shop file?

That shop keeps the version that was loaded before, and the reload tells you the file and the line. An item with an unknown material or a price that isn't a number is skipped on its own, with its name. The other shops, and the rest of that shop, keep working.

For questions or bug reports, use the discussion tab on this page or our Discord.

Keep reading