Updates Notes:
- Updated HyAdvancedTrade to target the latest Hytale server build 2026.03.26-89796e57b.
- Refreshed the plugin manifest and build configuration for the current Hytale server version.
- The project now prefers the live latest HytaleServer.jar during compilation, with fallback support for the bundled local server jar.
- Build and packaged output were updated for the latest server target.
- No configuration changes or migration steps are required for existing setups.
- Updates Notes
- Updated build target to latest tested Hytale API:
v2026.02.19- General compatibility pass for latest Hytale launcher/server update.
- Performance and improvement work was carried out.
Updates Notes
- Updated build target to latest tested Hytale API:
-2026.02.17-255364b8e
- General compatibility pass for latest Hytale launcher/server update.
HyAdvancedExChange v2.0.0 - Major Update
NEW FEATURES
Toggle System
• Added/trade togglecommand - Players can now enable/disable trade requests
• Added custom notification icons for toggle states (Wood_Trunk_Fire_Top for disabled, Rock_Gem_Emerald for enabled)
• Added toggle status messages in all 5 supported languages
• Added protection against unwanted trade requests - when disabled, senders receive a notification
ESC Key Support
• Added ESC key functionality to quickly cancel and close trade windows
• Added proper cleanup when ESC is pressed to prevent memory leaks
• Added notification system for both players when trade is cancelled via ESC
Custom Notification Icons
• Added fully customizable notification icon system in config.yml
• Added 6 different icon types for various events:
-request: Trade request notifications (default: Utility_Leather_Backpack)
-success: Successful trade notifications (default: Rock_Gem_Emerald)
-cancel: Cancelled/failed trade notifications (default: Rock_Gem_Ruby)
-toggle-disabled: Trade requests disabled (default: Wood_Trunk_Fire_Top)
-toggle-enabled: Trade requests enabled (default: Rock_Gem_Emerald)
-toggle-target-disabled: Target has disabled requests (default: Wood_Trunk_Fire_Top)
UI/UX IMPROVEMENTS
Modern Vertical Layout
• Changed UI layout from horizontal to vertical design for better visibility
• Improved item display with cleaner spacing and organization
• Improved visual feedback with better positioned checkmarks
• Improved overall user experience with more intuitive interface
Real-time Synchronization
• Improved UI update system - both players now see changes instantly
• Fixed issue where second player's UI wouldn't update when items were added
• Fixed loading screen bug that occurred during consecutive trades
CONFIGURATION UPDATES
Config Structure
• Addednotification-iconssection with 6 customizable icon types
• Changed config location comment to reflect new plugin name
• Updated sound effect defaults for better audio experience:
- Open: SFX_Chest_Wooden_Open
- Close: SFX_Chest_Wooden_Close
- Request: SFX_Player_Pickup_Item
PERMISSION SYSTEM OVERHAUL
Permission Changes
• Changedhyadvancedtrade.trade→hyexchange.use
• Changedhyadvancedtrade.fromfar→hyexchange.distance.bypass
• Changedhyadvancedtrade.reload→hyexchange.admin.reload
• Improved permission structure for better organization and clarity
INFRASTRUCTURE & OPTIMIZATION
Complete Code Restructure
• Rebuilt entire codebase with professional MVC architecture
• Improved code organization with dedicated service layers:
- LocalizationService
- NotificationDispatcher
- RequestHandlerService
- TradeToggleService (NEW)
• Improved model structure with cleaner data management
• Enhanced modular design for easier maintenance and updates
Automatic Update Checker
• Added automatic update checking system via BuiltByBit API
• Added admin notifications when new versions are available
• Addedhyexchange.admin.updatespermission for update notifications
• Added console logging for update status
• Added smart placeholder system that only works with official releases
Performance Enhancements
• Optimized session management system for better memory usage
• Optimized event handling to reduce server load
• Optimized UI update mechanism for faster response times
• Added memory leak protection with proper cleanup systems
• Added callback management to prevent duplicate notifications
Session Management
• Improved session lifecycle management
• Added automatic session cleanup on trade completion
• Added proper session removal on trade cancellation
• Fixed issue where sessions weren't properly cleaned up after ESC key press
• Fixed infinite loop protection in dismiss handler
LOCALIZATION UPDATES
Language File Updates
• Added toggle-related messages in all 5 languages:
-command.toggle.enabled
-command.toggle.disabled
-error.target_requests_disabled
• Updated command usage messages to include toggle command
• Improved translation quality across all supported languages
BUG FIXES
Critical Fixes
• Fixed duplicate notification issue when cancelling trades
• Fixed loading screen freeze on second consecutive trade
• Fixed UI not updating for second player when items were added
• Fixed notification icon quantity showing "x2" on cancel
• Fixed trade request notification color (now shows green instead of yellow)
• Fixed session cleanup issues causing memory leaks
Minor Fixes
• Fixed deprecated API warning in UpdateChecker (now uses URI.toURL())
• Fixed callback accumulation between trades
• Fixed page not resetting properly before new trade
• Fixed double refresh issue in confirmation system
TECHNICAL DETAILS
Build Information
• Version: 2.0.0
• Build Name: HyAdvancedExChange-2.0.0.jar
• Java Version: 21+
• Dependencies: Zero external dependencies (SnakeYAML included)
File Structure Changes
• Renamed: ExchangeLayout.ui (vertical design)
• Renamed: ExchangeActions.ui (updated button handlers)
• Renamed: ExchangeWindow.ui (improved structure)
• Renamed: ItemSlot.ui (optimized rendering)
• Added: TradeToggleService.java (new service)
IMPORTANT NOTES
Breaking Changes
• Permission names have changed - please update your permission configurations
• Config structure has been updated - old configs will need manual migration
• Plugin name changed from HyExchange to HyAdvancedExChange
Migration Guide
1. Backup your old config.yml
2. Delete old HyExchange folder
3. Install HyAdvancedExChange-2.0.0.jar
4. New config will auto-generate
5. Transfer your custom settings to new config
6. Update permissions in your permission plugin
WHAT'S NEXT?
We're constantly working to improve HyAdvancedExChange. Future updates may include:
• Trade history logging
• Trade statistics dashboard
• Economy plugin integration
• Custom trade limits per player/group
• Blacklist system
• More language support
FEEDBACK & SUPPORT
Found a bug? Have a suggestion? Need help?
• BuiltByBit Messages
• Discord: Join our Discord
Thank you for using HyAdvancedExChange!
Developed by RyuSoftware | v2.0.0
