
Global Villager Discounts
Synchronize villager curing discounts across all players
- Загрузки
- 793
- Подписчики
- 4
- Обновлён
- 9 июня 2026 г.
- Лицензия
- MIT
Опубликован 13 декабря 2025 г.
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 curing a zombie villager, that discount becomes available to everyone.
How It Works
- Player cures a zombie villager → earns discount.
- Plugin captures and stores the discount.
- Any other player trading with that villager gets the same discount.
- Discounts auto-clear on profession change.
Note: Hero of the Village discounts are not shared.
Features
- 🔌 Plug & Play: No configuration needed.
- 💾 Persistent: Discounts survive restarts.
- 🛡️ Safe: Prices never below 1 emerald.
- ⚡ Lightweight: Minimal performance impact.
- 🌍 Multi-Language: English & Turkish, add your own!
- 🔒 Villager Locking: Lock villagers to prevent player changes.
- 📊 Tab Completion: Easy command usage.
Commands
All commands require you to look directly at a villager first.
| 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. |
Language Support
Built-in: English (en) & Turkish (tr)
# config.yml
language: en # or tr
Add Your Own Language
- Copy
lang/en.ymltolang/de.yml. - Translate all messages.
- Set
language: dein config.yml. - Restart server.
Requirements
- Server: Spigot, Paper, or Purpur 26.1+
- Java: 25
Compatibility
| Server | Supported |
|---|---|
| Spigot | ✅ |
| Paper | ✅ |
| Purpur | ✅ |
| Folia | ❌ |
Source Code
License
MIT License
Ченджлог
1.5.0Релиз26.1, 26.1.1, 26.1.2 · 9 июня 2026 г.
💸 GlobalVillagerDiscounts 1.5.0 - Performance & Bug Fix Update
This update makes the plugin much faster, fixes server lag during resets, and resolves a bug with far-away villagers.
🚀 Improvements
- No more lag during
/gvd clearall: Running the reset command is now instant and will not freeze the server, even on very large servers with many players. - Fixed unloaded villagers bug: When clearing all discounts, villagers that are far away or in unloaded areas will now correctly have their discounts cleared when they are loaded back.
- Smoother trading: Optimized how the plugin loads trade prices when players open a villager shop screen, making it much lighter on the server.
- Better targeting: Improved the system that detects which villager you are looking at when running commands.
🛡️ Bug Fixes
- Custom trade compatibility: Fixed a crash/error when interacting with custom or modded villagers that have empty trade slots.
1.4.0Релиз26.1, 26.1.1, 26.1.2 · 28 мая 2026 г.
Added 26.2+ support.
1.3.0Релиз1.21.9, 1.21.10, 1.21.11 · 24 декабря 2025 г.
Changelog
[1.3.0] - 2024-12-24
✨ New Features
File-Based Language System
- English (en) and Turkish (tr) included
- Users can add their own translations by creating
lang/xx.ymlfiles - Configure with
language: xxin config.yml
Villager Locking
/gvd lock- Lock villagers so players can't change share settings/gvd unlock- Unlock villagers- Locked status visible in
/gvd info
Tab Completion
- Auto-complete for all commands
- Shows available subcommands and options
Simplified Command Structure
- No more
/gvd adminprefix - Commands have permission-based access
- No more
🔄 Changed
| Command | Permission | Description |
|---|---|---|
/gvd info |
- | UUID only visible for admins |
/gvd share on/off |
- | Blocked on locked villagers (non-admin) |
/gvd clear |
gvd.admin |
Clear target villager's discounts |
/gvd clearall |
gvd.admin |
Clear ALL discounts |
/gvd lock |
gvd.admin |
Lock villager |
/gvd unlock |
gvd.admin |
Unlock villager |
🐛 Bug Fixes
- Fixed profession display showing raw CraftProfession object
- Fixed career change log not respecting language setting
1.2.0Релиз1.21.9, 1.21.10, 1.21.11 · 14 декабря 2025 г.
v1.2.0 🎉
New Features
- 🔧 Recipe-Based Storage - Discounts now stored by item hash, not index
- 🔄 Career Change Handler - Discounts auto-clear when villager changes profession
- 🗑️
/gvd clearall- Clear all synced discounts from all villagers at once
Improvements
- More accurate discount matching across profession changes
- Better admin control with clearall command
Commands
/gvd info- View synced discount info/gvd clear- Clear single villager/gvd clearall- Clear ALL villagers/gvd disable/enable- Toggle sync
1.1.0Релиз1.21.9, 1.21.10, 1.21.11 · 14 декабря 2025 г.
v1.1.0
New Features
- 🔧 Admin Commands -
/gvd info|clear|disable|enable - ✅ Spigot Compatibility - Works on Spigot, Paper, and Purpur
Improvements
- PDC-based storage (separate from vanilla gossip)
- Manual raycast for Spigot support
- Permission system (
gvd.admin, default: OP)
Комментарии
Загружаем…