Thunder-Relay/MC/ThunderShop
0 forks
id: 25984
1,459 Lines
  • Java 85.7%
  • Yaml 5.6%
  • Markdown 4.8%
  • XML 3.8%
README.md

ThunderShop

Simple, polished admin shops for Paper 26.2 that use ThunderEconomy for all money handling.

Requirements

  • Java 25
  • Paper 26.2
  • ThunderEconomy (must be installed and enabled)

Installation

  1. Build with Maven (mvn clean package) or open in IntelliJ and run the package goal.
  2. Place ThunderShop-1.0.0.jar next to your ThunderEconomy jar in the plugins/ folder.
  3. Restart the server.

Commands

Players

CommandDescriptionPermission
/shop <name>Open a shopthundershop.use (default: true)
/shopList available shopsthundershop.use

In the shop GUI:

  • Left-Click → Buy the displayed amount
  • Right-Click → Sell the displayed amount
  • Shift + Left/Right → Buy/Sell as many times as possible (money / inventory / items allowing)

Admins

CommandDescriptionPermission
/shopadmin create <name> [size]Create a new shop (size = 9,18,27,36,45,54)thundershop.admin
/shopadmin delete <name>Delete a shopthundershop.admin
/shopadmin edit <name>Open the visual editorthundershop.admin
/shopadmin listList all shopsthundershop.admin
/shopadmin info <name>Show detailed infothundershop.admin
/shopadmin reloadReload config + shops.ymlthundershop.admin

Aliases: /ts, /thundershop, /tsadmin, /shopmanage

Creating & Editing a Shop

  1. /shopadmin create food 27
  2. /shopadmin edit food
  3. Hold the item you want to sell in your hand and left-click an empty slot.
  4. Shift-click the item in the editor to set prices via chat:
    12.50 4.00 16
    

    (buyPrice sellPrice amount)

  5. Players can now open it with /shop food.
  • Buy price 0 = cannot buy
  • Sell price 0 = cannot sell
  • Admin shops have unlimited stock.

Configuration

plugins/ThunderShop/config.yml — messages, default size, sounds.

Shops are stored in plugins/ThunderShop/shops.yml.

Notes

  • All currency symbols, singular/plural and balances come from ThunderEconomy.
  • ThunderShop never stores its own balances.
  • Fully English (code, commands, messages).
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover