Version 1.2.2 - Database Storage and AFK System Improvements
Features:
- Added database storage support (SQLite and MySQL)
- Completely redesigned AFK system with countdown and movement detection
- Added free movement while in AFK mode
- Added protection from damage while in AFK mode
- Added dedicated world support recommendations for AFK
- Improved data persistence and reliability
Changes:
- Replaced YAML file storage with database storage
- Added 5-second countdown with movement detection for AFK
- Removed movement restrictions while in AFK mode
- Added automatic database table creation
- Added support for switching between SQLite and MySQL
- Improved AFK teleportation safety
- Added prevention of Nether/End AFK location setting
- Reduced database connection logging spam
Technical Updates:
- Implemented DatabaseManager for handling database connections
- Added proper connection pooling and error handling
- Improved data loading and saving performance
- Enhanced plugin stability with better data management
- Added boss bar for AFK countdown
- Improved database connection reliability
- Optimized database connection reuse
- Updated plugin version to 1.2.2
Features:
- Implemented comprehensive shard economy system
- Added multiple shard earning methods (playtime, PvP, AFK)
- Created customizable shop system with GUI
- Added support for custom items with lore and model data
- Implemented AFK system with safe teleportation
- Added PlaceholderAPI integration
Changes:
- Added configuration options for all earning methods
- Implemented shop size configuration (9-54 slots)
- Added price editing system for shop items
- Created purchase confirmation interface
- Added admin commands for plugin management
- Implemented permission system
- Added help command with detailed information
- Created comprehensive configuration file
Technical Updates:
- Added support for custom item metadata
- Implemented safe data saving system
- Added reload command for configuration
- Created tab completion for commands
- Implemented proper event handling
- Added proper cleanup on plugin disable