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
- Build with Maven (
mvn clean package) or open in IntelliJ and run the package goal. - Place
ThunderShop-1.0.0.jarnext to yourThunderEconomyjar in theplugins/folder. - Restart the server.
Commands
Players
| Command | Description | Permission |
|---|---|---|
/shop <name> | Open a shop | thundershop.use (default: true) |
/shop | List available shops | thundershop.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
| Command | Description | Permission |
|---|---|---|
/shopadmin create <name> [size] | Create a new shop (size = 9,18,27,36,45,54) | thundershop.admin |
/shopadmin delete <name> | Delete a shop | thundershop.admin |
/shopadmin edit <name> | Open the visual editor | thundershop.admin |
/shopadmin list | List all shops | thundershop.admin |
/shopadmin info <name> | Show detailed info | thundershop.admin |
/shopadmin reload | Reload config + shops.yml | thundershop.admin |
Aliases: /ts, /thundershop, /tsadmin, /shopmanage
Creating & Editing a Shop
/shopadmin create food 27/shopadmin edit food- Hold the item you want to sell in your hand and left-click an empty slot.
- Shift-click the item in the editor to set prices via chat:
12.50 4.00 16(buyPrice sellPrice amount)
- 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).