Skip to content
TTS-STUDIO docs Discord

Plugins / ShopForge

ShopForge

Shops you edit and reload with players online

ShopForge is a shop plugin for Paper 1.21.x where every shop is a file you can edit and reload with players online, every price is yours to set both ways, and every transaction ends up in a log you can read in game.

WHY SHOPFORGE

WHAT YOU GET

WRITING A SHOPA complete shop, with a category and three items. Drop it in the folder and reload:[CODE=yaml] id: farmers # used by /shop farmers and by permissions display-name: "Farmer's Market" npc-id: -1 # -1 = no Citizens NPC bound to this shop categories: produce: display-name: "Produce" items: wheat: material: WHEAT buy-price: 5.0 sell-price: 2.0 stock: -1 # -1 = infinite per-player-limit: -1 # -1 = no quota carrot: material: CARROT buy-price: 4.0 sell-price: 1.5 potato: material: POTATO buy-price: 4.0 sell-price: 1.5 [/CODE]HOW IT PLAYSA player types [ICODE]/shop[/ICODE] and lands in the default shop with your categories down the side. They click through to Produce, shift-click the wheat to buy a stack, and a confirmation tells them what it will cost before the money leaves. Later they come back with full pockets and run [ICODE]/sell all[/ICODE] to empty them at your prices. You raise the price of wheat in the file, run the reload command, and the next window has the new number — nobody was kicked and nothing restarted.CONFIGURATION

Keep reading