
Minecraft 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
10.0
Compatibility
Changes
Minecraft Villager Trade Manager โ Version 10.0
โInstant Restock Updateโ
๐ Key Features Implemented
1. Instant Restock System
- โ
Added
instantRestockEnabledboolean flag for instant restocks. - โ
New command:
/villagertrade instantrestock on/off. - โ Villager trades automatically replenish immediately after use.
- โ Platform-safe execution: Folia uses region-threaded scheduling; other platforms use synchronous execution.
2. Database Integration
- โ
Instant restock setting persisted in SQLite
settingstable. - โ
Automatic loading and saving of
instantRestockEnabled. - โ Fully backward compatible with existing database schema.
3. Enhanced Status Display
- โ
/villagertrade statusnow shows Instant Restock status. - โ Clear On/Off indication for administrators.
4. Smart Integration
- โ Instant restock takes precedence over interval-based restocks.
- โ Normal restock system skips processing while instant restock is enabled.
- โ
Seamless integration with existing restock features (
restocktime,restocklimit,unlimitedrestock).
5. Command System Updates
- โ
Added
instantrestocksubcommand. - โ Updated usage help text to include new command.
- โ
Tab completion for
on/offvalues. - โ Updated main command usage message to reflect new options.
6. Performance Optimizations
- โ Efficient instant restock processing with minimal CPU overhead.
- โ Minimal performance impact when feature is disabled.
- โ Platform-appropriate scheduling for optimal performance on Folia and legacy servers.
๐งฉ Compatibility
- Fully compatible with: Folia, Paper, Purpur, Spigot, Bukkit
- Minecraft versions: 1.20.x โ 1.21.x
- Java: 17+
โ๏ธ Migration Notes
- Upgrade from v9.0 is seamless.
- Existing settings, prices, and restock data are preserved.
- No server restart required for migration.
๐ Summary
v10.0 introduces Instant Restock, giving server admins full control to replenish villager trades immediately, while maintaining compatibility, thread safety, and performance across all supported platforms.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:8oLCKGgM:cWzyiCdo"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:8oLCKGgM:cWzyiCdo"
}
