Changelog – Version 3.0.0
This version introduces major changes, improving the flexibility of the API while removing deprecated elements. This update is not backward compatible.
Major Changes
- Reworked message handling:
- Removed the Messages enum in favor of direct handling via the message handler.
- Removed unused messages.
- Improved CommandManager:
- CommandManager is now generic: CommandManager<T extends Plugin>.
- Allows better flexibility and compatibility with different plugin types.
- Command system overhaul:
- Removed SimpleCommand extends Command<JavaPlugin>.
- New modular and adaptable approach.
New Features
- Automatic usage message generation:
- Added a system that dynamically generates a usage message based on the sender's permissions if no usage message is defined.
Bugs
- Implement inGameOnly verification:
- Commands can now enforce that they must be executed by a player and not from the console.
General Improvements
- Various optimizations and code enhancements.
Migration: This version is not backward compatible. If you were using SimpleCommand or the old message handling system, you will need to update your code accordingly.
Next Steps: Update your implementation to use the new structure and benefit from a more flexible API.