Added try-catch blocks to capture and log specific errors.
Improved error messages to provide more details.
Additional Commands:
Added list command to list all plugins.
Added status command to display the status of all plugins.
Improved Security:
Added more specific permissions for each command (plugline.enable, plugline.disable, plugline.reload, plugline.info, plugline.resources, plugline.list, plugline.status).
Validated plugin names to prevent command injection.
Optimized Resource Usage:
Maintained the same logic for obtaining memory and thread usage.
Added more detailed metrics on resource usage.
Enhanced User Interface:
Added more colors and formatting to output messages.
Improved help and command usage messages.
Externalized Messages:
Externalized all messages to a messages.yml file for easier customization and translation to other languages.
Implemented bStats:
Added bStats integration for plugin metrics and analytics.