Smoother Chat Experience: Your chat messages now go through a quicker and more seamless filtering process. Enjoy smoother conversations with less delay.
Better Message Control: We've refined the way messages are checked, so you’ll see fewer false warnings and interruptions while chatting.
More Reliable Moderation: Our updated system keeps your server chat clean without getting in your way. Chat as you normally would and let DarikChatManager handle the rest.
AI Detection Configuration: Introduced the option to control the notification behavior during AI analysis. The message that notifies players of ongoing analysis is now only sent if the "ai-settings.notify-analysis" parameter is set to true in the configuration file. By default, this setting is enabled.
Custom Message Suffix (message-suffix): Added a new configuration option, "message-suffix", allowing server administrators to define a custom suffix for chat messages. This setting supports Minecraft color codes and enhances message formatting consistency.
Default value: message-suffix: "&f: ".
Bug Fixes:
Message Formatting Fix: Fixed an issue where non-censored messages were still being formatted incorrectly, leading to unwanted brackets appearing in chat. The plugin now correctly handles both censored and non-censored messages, ensuring they follow the expected format as defined by the server configuration. Additionally, this fix prevents conflicts with third-party plugins like EssentialX that may alter message formatting.
Improved Learning System: The plugin now learns from individual words instead of whole messages. This change helps to catch new slang or slight variations in inappropriate language.
Better Pattern Detection: Messages are now broken down into normalized words, allowing the system to group similar terms. This makes it easier to spot and manage risky behavior.
Enhanced Staff Notifications: When suspicious words are flagged, staff are alerted with clear, configurable messages, ensuring faster response times.
Bug Fix: Corrected a typo in the GUI configuration (changed "click-manage" to "click_manage") to ensure proper display and functionality.
Data Handling Improvements: Adjustments have been made to how learning data is stored and retrieved, making the system more reliable and consistent across server restarts.
Admin Update Notifications: Admins (with the darikchatmanager.admin permission) now receive an in-game notification if a new update is available, ensuring they stay informed immediately upon joining.
Customizable Messages: Update notifications are fully customizable via the messages.yml file, with support for six languages.
Improved User Experience: Update information is now displayed both in the console and in-game, making it easier to keep track of available updates.
Improved Reload Process: The reloadPlugin() method has been refactored to ensure that all configuration files are reloaded and that any dependent components are updated accordingly.
Re-instantiation of LearningSystem:
The LearningSystem is now re-instantiated during a reload. This ensures that critical configuration changes—such as an updated Gemini API key—are properly applied.
Prior to re-instantiation, the current learned data is saved to avoid data loss.
MessageManager & GUI Updates:
The MessageManager now properly reloads its messages from the updated configuration.
The PatternGUI component is refreshed to reflect any changes in the configuration.
Enhanced Error Handling:
Additional try-catch blocks and logging have been implemented to provide better feedback in case of errors during the reload process.
Fixed Missing Message Issue:
Resolved Warning:
The warning [DarikChatManager] Message not found: gui.sections.learning.click-managehas been addressed.
Message Inclusion:
The missing message key gui.sections.learning.click-manage has been added to the default messages.yml file.
General Improvements:
Various minor bug fixes and optimizations have been applied for enhanced stability and performance.
Updated default configuration files to include all necessary keys and values.
Fixed an issue that could prevent newly added messages in messages.yml from being saved properly, particularly for Italian (IT), Portuguese (PT), and French (FR) translations.