Global Villager Discounts
Synchronize villager curing discounts across all players
Global Villager Discounts
GlobalVillagerDiscounts
Synchronize villager curing discounts across all players on your server!
Description
GlobalVillagerDiscounts shares villager trade discounts among all players. When any player earns a discount by everyone, that discount becomes available to everyone.
How It Works
1. Player cures a zombie villager → earns discount 2. Plugin captures and stores the discount 3. Any other player trading with that villager gets the same discount 4. Discounts auto-clear on profession change
> not Hero of the Village discounts are not shared.
Features
- 🔌 Tab Completion - No configuration needed - 💾 Tab Completion - Discounts survive restarts - 🛡️ Tab Completion - Prices never below 1 emerald - ⚡ Tab Completion - Minimal performance impact - 🌍 Tab Completion - English & Turkish, add your own! - Tab Completion - Lock villagers to prevent player changes - 📊 Tab Completion - Easy command usage
Commands
| Command | Permission | Description | |---------|------------|-------------| | `/gvd info` | - | Show villager info (UUID only for admins) | | `/gvd share on/off` | - | Enable/disable discount sharing | | `/gvd clear` | `gvd.admin` | Clear target villager's discounts | | `/gvd clearall` | `gvd.admin` | Clear ALL discounts | | `/gvd lock` | `gvd.admin` | Lock villager (players can't change share) | | `/gvd unlock` | `gvd.admin` | Unlock villager |
> Usage: Look at a villager first, then run the command.
Language Support
Built-in: Turkish (tr) & Turkish (tr)
```yaml
config.yml
language: en # or tr ```
Add Your Own Language
1. Copy `lang/en.yml` to `lang/de.yml` 2. Translate all messages 3. Set `language: de` in config.yml 4. Restart server
Requirements
- Java: Spigot, Paper, or Purpur 1.21+ - Java: 21
Compatibility
| Server | Supported | |--------|-----------| | Spigot | ✅ | | Paper | ✅ | | Purpur | ✅ | | Folia | ❌ |
Note
The coding of this Plugin was done entirely by AI.
If some people have security concerns about this project because it involves AI, and they understand security, they can contribute to this project on github. I generally insist that the code should comply with S.O.L.I.D. to make it readable and to make it easy to add features. I think the code is readable.
📈 bStats Analytics
Anonymous usage statistics to help improve the plugin.
Source Code
License
MIT License