HomeJavaModsMinecraft Villager Trade Manager
Minecraft Villager Trade Manager
ModsJava

Minecraft Villager Trade Manager

by AlanTheDev · on Modrinth

Complete control over villager trading economics with custom pricing and discount prevention Minecraft Villager Trade Manager is a comprehensive…

⬇ Download on Modrinth
Minecraft Villager Trade Manager — screenshot 1Minecraft Villager Trade Manager — screenshot 2Minecraft Villager Trade Manager — screenshot 3Minecraft Villager Trade Manager — screenshot 4Minecraft Villager Trade Manager — screenshot 5Minecraft Villager Trade Manager — screenshot 6Minecraft Villager Trade Manager — screenshot 7

Minecraft Villager Trade Manager V12.0 - Complete Villager Economy Control

Paper Spigot Purpur Bukkit Folia License: MIT Java 21+

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.



🎯 Key Features

🤖 AI-Powered Help SystemNEW in V12

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?"

💰 Universal Trade Pricing

🚫 Item Banning SystemNEW in V11

💾 Multi-Database SupportNEW in V11

Advanced Restock System

🎮 Multi-Platform Compatibility

📊 Real-Time Monitoring


📦 Installation

Requirements

Steps

  1. Download the plugin JAR file
  2. Stop your Minecraft server
  3. Place Minecraft-Villager-Trade-Manager-11.0.jar in the plugins/ folder
  4. Start your server to generate configuration files
  5. Configure plugins/VillagerTradeManager/config.yml as needed
  6. Restart server or use /reload (not recommended for production)

⚙️ Configuration

Basic Configuration

# 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 Configuration

SQLite (Recommended)

database:
  type: "sqlite"
  sqlite:
    file: "villager_data.db"

Supabase (Cloud REST API)

database:
  type: "supabase"
  supabase:
    url: "https://your-project.supabase.co"
    apiKey: "your-anon-key"
    serviceKey: "your-service-key"
    schema: "public"

PostgreSQL (Direct JDBC) ⭐ NEW in V11

database:
  type: "postgresql"
  postgresql:
    connectionString: "postgresql://user:password@host:5432/database"

🖥️ Commands

Main Commands

Command Description Example
/vt on/off Enable/disable trade management /vt on
/vt status Show current settings and banned items /vt status

Trade Pricing

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

Item Banning ⭐ NEW in V11

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

Restock Management

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

Trade Analysis

Command Description Example
/vt analyzetrades Show trade statistics /vt analyzetrades
/vt inspectvillager Analyze nearest villager's trades /vt inspectvillager

Advanced Commands

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

💾 Database Options

SQLite (Default - Recommended)

Supabase (Cloud REST API)

PostgreSQL (Direct JDBC) ⭐ NEW in V11


🔧 Advanced Features

Item Banning System

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

Custom Pricing Examples

# 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 Tuning

performance:
  trade_monitor_frequency: 60  # Ticks between checks
  villager_scan_radius: 32     # Blocks to scan

📊 Metrics & Monitoring

Health Checks

Prometheus Integration

Enable Prometheus metrics in config.yml:

metrics:
  enabled: true
  prometheus:
    enabled: true

🤝 Support

Getting Help

System Requirements


📈 Version History

V11.0 (Latest)

V10.x


📜 License

MIT License - Free for personal and commercial use.


🙏 Credits


🎮 Ready to master your server's villager economy? Install Villager Trade Manager V11.0 today!


🧱 Technical Notes


🧭 Ideal Use Cases


🆕 V11.0 Highlights


🧾 License

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 —

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more