NitAntiAFKBot v1.0.1 - Update Notes
Bug fixes and stability improvements for Paper 1.21.4+
Bug Fixes
•
Fixed LanguageManager: Resolved "Path cannot be null" error on Paper 1.21.4
•
Improved Null Safety: Added comprehensive null checks throughout the plugin
•
Enhanced Exception Handling: Better error recovery and fallback system
•
Fixed Configuration Loading: Messages.yml loading issues resolved
️ Stability Improvements
•
Graceful Degradation: Plugin continues working even if language files are corrupted
•
Auto Fallback System: Automatically falls back to Turkish if language loading fails
•
Default Messages: Hardcoded Turkish messages as backup
•
Better Logging: More informative console messages
Technical Changes
•
Enhanced LanguageManager: Complete rewrite with better error handling
•
Improved Configuration Loading: Safer file loading mechanism
•
Better Exception Handling: Try-catch blocks added throughout
•
Null Safety Checks: Comprehensive null checks for all operations
Code Improvements
•
LanguageManager.loadLanguageMessages(): Added null checks and fallback
•
LanguageManager.loadSection(): Enhanced with safety checks
•
LanguageManager.loadMessages(): Improved error handling
•
Default Messages System: Added hardcoded Turkish messages
Compatibility
•
Paper 1.21.4+: Full compatibility confirmed
•
Spigot 1.8.8+: Maintained backward compatibility
•
All Server Types: Tested on various server configurations
Installation
1.
Backup your current configuration files
2.
Replace the old JAR with NitAntiAFKBot-1.0.1.jar
3.
Restart your server
4.
Check console for any error messages
⭐ This update focuses on stability and bug fixes!
Download the latest version and enjoy a more stable experience!