Critical Bug Fix
- Server Sleep Mode Data Loss - Fixed critical issue where villager trades disappeared after servers wake from sleep mode (specifically reported on PebbleHost servers with 60-second idle sleep). Villagers now correctly retain their custom trades through sleep/wake cycles.
New Features
- EntitiesLoadEvent Handler - Added entity load event listener to catch villager loads even when chunks remain loaded, ensuring data restoration regardless of chunk state
- Shutdown Data Persistence - Implemented automatic save of all managed villagers during plugin disable to prevent data loss during server sleep/shutdown cycles
- Startup Data Restoration - Added automatic restoration of already-loaded villagers on plugin enable to handle plugin reloads and server wake-ups
Improvements
- Enhanced Debug Logging - Added detailed logging with trade counts, profession info, and UUIDs to make troubleshooting and verification easier
- Synchronous Storage Method - Implemented synchronous data storage option for shutdown scenarios to prevent async scheduling issues
Bug Fixes
- Fixed villager trades disappearing after server sleep/wake cycles
- Resolved issue where ChunkLoadEvent wasn't firing for already-loaded chunks during server wake
- Prevented data loss when plugin disables during sleep mode
- Fixed non-functional GUI after editing villager name or permission - Editor GUI now properly re-registers inventory mappings and re-renders the page when reopening after name/permission edits, allowing continued trade editing and interaction
New Features
- Configurable Message Prefix - Added support for customizable message prefix via configuration, allowing servers to brand plugin messages with their own prefix or theme
- Command Aliases - Introduced command alias support, enabling custom alternate command names to be configured for better integration with existing server commands
Improvements
- UUID-based Villager Tracking - Refactored villager state and permission tracking to use UUIDs instead of object references, significantly improving data consistency across chunk reloads and entity instance changes
- Config Migration System - Implemented versioned configuration migration to automatically upgrade config files between releases
- Debug Level Enhancement - Converted debug option from simple boolean to numeric levels (0-3) for more granular debugging control
Technical Changes
- Updated YskLib dependency from 1.6.2 to 1.6.7
- Enhanced config reload logic to properly reapply aliases and messages
Bug Fixes
- Improved reliability of villager state persistence across chunk unloads/reloads
- Fixed potential issues with villager tracking when entity instances change
Technical Improvements ⚙️
- Migrated from deprecated YskLib messaging methods to the modern MessageManager module.
- Enhanced messaging system now supports:
- Cached message loading for better performance
- Multi-line message support
- More flexible placeholder system using Map-based placeholders
- Additional helper methods for retrieving messages programmatically
Bug Fixes 🐛
- Fixed "Messages not loaded for VillagerTradeEdit" error by adding explicit message loading during plugin initialization.
Improvements ✨
- Enhanced message system integration with YskLib for proper localization support.
- Expanded configuration messages section with all user-facing text now customizable.
Updates ✨
- Updated YskLib dependency to version 1.6.2 for improved world management capabilities.
- Added support for wildcard (
'*') inenabled-worldsconfiguration to enable plugin across all worlds.
Ysklib 1.6.2 Required !!!!!
✨ What’s New
- Version Bump: Updated to 1.4.2.
- Better Price Handling: Only managed villagers use stable trade prices. Regular villagers keep their normal price swings.
- Hero of the Village Fix: The status effect is only paused when editing managed villagers, so it stays intact for normal trades.
- Fix Shading
✨ What’s New
- Personal Trading: Each player now gets their own trading window with managed villagers, so multiple people can trade at once.
- No Random Discounts: Trade prices stay steady—no surprise price hikes or Hero of the Village discounts.
- Custom Names & Permissions: Rename villagers with colors or styles, and set who can trade with each one.
- Always Static Villagers: Managed villagers stay put and won’t wander or get bumped around.
Fix Folia Error on VTE Summon
Initial Version



