Ultimate Minecraft villager trade management plugin - Control every aspect of villager trading economics with advanced features like item banning, custom pricing, and multi-database support.
/vtrade help askquestion "How do I ban diamond items?"Example AI Interactions:
/vtrade help askquestion "How do I set up custom prices for armorers?"
/vtrade help askquestion "What items should I ban to prevent economy exploits?"
/vtrade help askquestion "How does the villager leveling system work?"
/vt setprice armorer diamond_leggings 30/vt banitem diamond_sword, /vt unbanitem diamond_sword/vt listbanneditems to see all banned items/vt instantrestock on for immediate trade refresh/vt restocktime <minutes>/vt restocklimit <count>/vt unlimitedrestock on for no restrictionsMinecraft-Villager-Trade-Manager-11.0.jar in the plugins/ folderplugins/VillagerTradeManager/config.yml as needed/reload (not recommended for production)# Enable/disable the plugin
settings:
trade_management_enabled: true
# Database selection
database:
type: "sqlite" # Options: sqlite, supabase, postgresql
# Restock settings
custom_restock_enabled: false
restock_interval_minutes: 30
restock_limit_per_day: 3
unlimited_restock: false
instant_restock_enabled: false
database:
type: "sqlite"
sqlite:
file: "villager_data.db"
database:
type: "supabase"
supabase:
url: "https://your-project.supabase.co"
apiKey: "your-anon-key"
serviceKey: "your-service-key"
schema: "public"
database:
type: "postgresql"
postgresql:
connectionString: "postgresql://user:password@host:5432/database"
| Command | Description | Example |
|---|---|---|
/vt on/off | Enable/disable trade management | /vt on |
/vt status | Show current settings and banned items | /vt status |
| Command | Description | Example |
|---|---|---|
/vt setprice <profession> <item> <cost> | Set custom price for any trade | /vt setprice armorer diamond_leggings 30 |
/vt resetprice <profession> <trade> | Reset trade to default price | /vt resetprice armorer armorer_l4_emerald_13_diamond_boots_1 |
/vt listtrades <profession> | List all trades for a profession | /vt listtrades armorer |
| Command | Description | Example |
|---|---|---|
/vt banitem <item> | Ban item from all villager trades | /vt banitem diamond_sword |
/vt unbanitem <item> | Allow item in villager trades | /vt unbanitem diamond_sword |
/vt listbanneditems | Show all banned items | /vt listbanneditems |
| Command | Description | Example |
|---|---|---|
/vt restock on/off | Enable custom restock system | /vt restock on |
/vt restocktime <minutes> | Set restock interval | /vt restocktime 45 |
/vt restocklimit <count> | Set daily restock limit | /vt restocklimit 5 |
/vt unlimitedrestock on/off | Toggle unlimited restocks | /vt unlimitedrestock on |
/vt instantrestock on/off | Enable instant restock | /vt instantrestock on |
| Command | Description | Example |
|---|---|---|
/vt analyzetrades | Show trade statistics | /vt analyzetrades |
/vt inspectvillager | Analyze nearest villager's trades | /vt inspectvillager |
| Command | Description | Example |
|---|---|---|
/vt exporttrades json/yaml | Export trade configuration | /vt exporttrades json |
/vt tradedetection on/off/status | Control dynamic trade detection | /vt tradedetection status |
/vt cleardynamictrades | Clear old dynamic trade data | /vt cleardynamictrades |
Prevent entire items from appearing in villager trades:
# Ban diamond swords (prevents all enchanted variants too)
/vt banitem diamond_sword
# Ban enchanted golden apples
/vt banitem enchanted_golden_apple
# Check what's banned
/vt listbanneditems
# Allow items again
/vt unbanitem diamond_sword
# Simple format (recommended)
/vt setprice armorer diamond_leggings 25
/vt setprice librarian protection_4 30
/vt setprice farmer emerald 2
### Database Migration
The plugin automatically handles database schema updates. When you update from older versions, the plugin will:
1. **Detect version differences**
2. **Apply migrations automatically**
3. **Preserve existing data**
4. **Log migration progress**
---
## 🔧 Troubleshooting
### Common Issues
#### Plugin Not Loading
Error: Could not load plugin
**Solution**: Ensure Java 17+ and compatible Minecraft version
#### Database Connection Failed
Failed to establish database connection
**Solutions**:
- Check database credentials
- Verify network connectivity (for cloud databases)
- Plugin automatically falls back to SQLite
#### Commands Not Working
/vt: Unknown command
**Solution**: Check console for permission errors or plugin conflicts
#### High CPU Usage
**Solutions**:
- Reduce `trade_monitor_frequency` in config
- Decrease `villager_scan_radius`
- Enable Folia for better performance
### Debug Mode
Enable debugging in `config.yml`:
```yaml
logging:
debug_database: true
debug_trades: true
debug_restock: true
performance:
trade_monitor_frequency: 60 # Ticks between checks
villager_scan_radius: 32 # Blocks to scan
http://localhost:8080/health (if enabled)Enable Prometheus metrics in config.yml:
metrics:
enabled: true
prometheus:
enabled: true
MIT License - Free for personal and commercial use.
🎮 Ready to master your server's villager economy? Install Villager Trade Manager V11.0 today!
This plugin is open-source and licensed under the MIT License. You are free to use, modify, and distribute with proper credit.
**V12.0 brings universal trade control to Villager Trade Manager —

Complete control over villager trading economics with custom pricing and discount prevention Minecraft Villager Trade Manager is a comprehensive Paper/Spigot plugin that gives server administrators complete control over villager trading economics. Take co