- Updated BotnetProtection class to function as a listener; command handling functionality has been moved to the BotnetCommand class.
- Refined the ProtectionListener class to focus solely on managing botnet protection functions.
- Updated the suspicious commands list; replaced common commands with potential exploit commands.
- Strengthened command permission management; only players with admin privileges can use specific commands.
- Updated welcome messages and log messages indicating the status of protection mechanisms.
Update:
Symbols have been updated. Unnecessary and incompatible symbols have been replaced. The /setprotection command has been adjusted to prevent repeated activation and deactivation notifications. Now, if the protection is already enabled, using /setprotection on will inform the user that protection is already enabled. Similarly, using /setprotection off when protection is disabled will notify the user that it is already turned off. This enhances the user experience by preventing redundant messages.
In the executeCountermeasure method, added a check to prevent kicking players who are OP, sending them a warning message instead.
