Описание
# DonutWorth
**A powerful item worth & selling plugin for Minecraft**
A comprehensive item worth tracking and selling system that integrates seamlessly with your server's economy.
## ✨ Features
- **Dynamic Item Pricing** – Set custom values for any item in the game
- **Interactive Sell GUI** – Easy-to-use interface for selling items
- **⚡ Admin Management** – Powerful admin GUI with pagination support
- **Blacklist System** – Prevent specific items from being sold
- **Live Configuration** – Reload settings without server restart
- **Real-time Worth Display** – Shows item values on hover *(requires ProtocolLib)*
- **Vault Integration** – Works with any economy plugin
## Commands & Permissions
| Command | Description | Permission | Default |
|------------------------|-----------------------------------|----------------------|-------------|
| `/donutworth` | Main plugin command | - | - |
| `/donutworth gui` | Open admin management GUI | `donutworth.gui` | OP |
| `/donutworth reload` | Reload configuration | `donutworth.reload` | OP |
| `/donutworth version` | Check plugin version | `donutworth.version` | OP |
| `/sell` | Open selling interface | `donutworth.sell` | Everyone |
**Aliases:** `/dw` → `/donutworth`
## Requirements
- **Minecraft:** 1.16.5 – 1.21.8
- **Java:** 8 or higher
- **Dependencies:**
- [Vault](https://www.spigotmc.org/resources/vault.34315/) *(Required)*
- [ProtocolLib](https://www.spigotmc.org/resources/protocollib.1997/) *(Required)*
- Any Vault-compatible economy plugin (EssentialsX, CMI, etc.)
## ⚙️ Configuration
### Example `config.yml`
```yaml
prefix: "&8[&bDonutWorth&8]"
messages:
worth-format: "&7Worth: &a$%value%"
sell-success: "&aYou sold your items for &6$%value%!"
reload-success: "&aConfiguration reloaded successfully!"
no-permission: "&cYou don't have permission to use this command!"
sounds:
sell-success: "ENTITY_EXPERIENCE_ORB_PICKUP"
sell-fail: "ENTITY_VILLAGER_NO"
admin-gui:
title: "&bDonutWorth Admin"
items-per-page: 45
sell-gui:
title: "&bSell Items"
sell-menu-size: 54
sell-item-blacklist:
- AIR
- BEDROCK
```
### Example `worth.yml`
```yaml
items:
DIAMOND: 100.0
EMERALD: 50.0
GOLD_INGOT: 25.0
IRON_INGOT: 10.0
COAL: 1.0
multiplier: 1.0
```
## Usage
1. **For Players:** Use `/sell` to open the selling interface
2. **For Admins:** Use `/dw gui` to manage item prices easily
3. **Configuration:** Edit `config.yml` and `worth.yml`, then run `/dw reload`
## Support
This plugin is actively developed and maintained.
**Made with ❤️ by GamingHuzai**