Описание
# EconomyShopBuyAddon
An addon plugin that adds a `/buy` command to purchase items directly from your existing shop plugin.
## Features
- **No custom shop items** - Uses items from your existing shop plugin
- **Uses shop pricing** - Prices come directly from your shop configuration
- **Permission support** - Respects item permissions from the shop
## Supported Shop Plugins
- EconomyShopGUI
- EconomyShopGUI-Premium
- ShopGUIPlus
- zShop
- BossShopPro
## Requirements
- **Minecraft 1.21+**
- **Vault** - For economy integration
- **An economy plugin** - EssentialsX, CMI, or any Vault-compatible economy
- **A supported shop plugin** - See list above
## Commands
| Command | Description | Permission |
| ---------------------- | ----------------------------- | ------------------- |
| /buy [amount] | Buy an item from the shop | `economyshop.buy` |
| /buy list [search] | List available items | `economyshop.buy` |
| /buy reload | Reload items from shop config | `economyshop.admin` |
## Permissions
| Permission | Description | Default |
| ------------------- | -------------------- | ------- |
| economyshop.buy | Use the /buy command | true |
| economyshop.admin | Reload the addon | op |
## Examples
```
/buy diamond 10 - Buy 10 diamonds
/buy iron_ingot 64 - Buy 64 iron ingots
/buy list - Show all buyable items
/buy list diamond - Search for items containing "diamond"
```
## Installation
1. Install Vault and an economy plugin (if not already installed)
2. Install a supported shop plugin and configure items
3. Drop `EconomyShopBuyAddon.jar` into your `plugins` folder
4. Restart your server
5. Players can now use `/buy` to purchase items!
All prices come directly from your shop configuration.