About Chat to Notifications
Filter chat messages by keywords and convert them to notifications. You can configure what messages to exclude in the config file to show as a notification instead.
Multiline messages now supported.
Use examples
- Clear chat spam caused by some plugins by moving them from chat area to notification area, players can then actually see each other's messages.
- Give your players the ability to look back at some of the messages sent by an event plugin for example (which is usually essential for them to complete the event and is usually lost in chat), they can look back at these messages by typing /n, and read what they missed.
- Highlight your broadcasted messages to players when you use the 'say' command.
- On PVE servers, you can convert messages sent by players when they call a monument they are looting by adding them to the filters (@bradley, @trainyard, etc..).
Chat Commands
/n - (Shows list of recently appeared notifications - can be changed in config)
/n disable - (Disables notifications for player)
/n enable - (Enables back notifications for player)
Video (shows an older version)
Configuration
{ "Version": { "Major": 1, "Minor": 2, "Patch": 7 }, "General settings": { "Can filter player messages?": false, "Recent notifications command": "n", "Show time (gametime, servertime, none)": "gametime" }, "Server messages settings - 'say' command": { "Convert all server messages?": false, "Prefix": "[Server]", "Prefix color": "#FFB84C" }, "Notification area settings": { "Time visible (in seconds)": 10, "Max # of notifications visible": 10, "Alternate color 1": "#212741", "Alternate color 2": "#303856", "Opacity": 70.0, "Width": 350.0, "Position (Top, TopLeft, TopRight, Left, Right, Center, Bottom, BottomLeft, BottomRight)": "TopRight", "X axis": 15.0, "Y axis": 15.0, "Single notification settings": { "Height": 20.0, "Font size": 11, "Text alignment (left, right, center)": "center", "Default text color (if not formatted)": "#ffffff" } }, "Recent notifications modal settings": { "Primary color": "#212741", "Secondary color 1": "#18122B", "Secondary color 2": "#303856" }, "Chat partial text to convert to notification": { "[DeathNotes]": { "Shows as? (NotificationOnly | ChatAndNotification | Neither)": "NotificationOnly", "Force Color": false, "Color": "#ffffff", "Enable Regex Formatting": false, "Advanced Formatting - Regex Pattern": "", "Advanced Formatting - Regex Replacement": "" }, "ServerRewards": { "Shows as? (NotificationOnly | ChatAndNotification | Neither)": "NotificationOnly", "Force Color": false, "Color": "#ffffff", "Enable Regex Formatting": true, "Advanced Formatting - Regex Pattern": "^(ServerRewards:)(\\s)(.*)", "Advanced Formatting - Regex Replacement": "<color=#42C6FF>$3</color>" } }, "Regex filters (Advanced)": { "(Rust Rewards :)": { "Shows as? (NotificationOnly | ChatAndNotification | Neither)": "NotificationOnly", "Force Color": false, "Color": "#ffffff", "Enable Regex Formatting": true, "Advanced Formatting - Regex Pattern": "(Rust Rewards :)(.*)", "Advanced Formatting - Regex Replacement": "<color=#FFE932>[Rust Rewards]</color>$2" } } }
Credits
@nivex - performance enhancements in version 1.2.14 (thank you)