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
{
"General settings": {
"Can filter player messages?": true,
"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": 5,
"Alternate color 1": "#212741",
"Alternate color 2": "#303856",
"Opacity": 70,
"Width": 350,
"Position (Top, TopLeft, TopRight, Left, Right, Center, Bottom, BottomLeft, BottomRight)": "TopRight",
"X axis": 15,
"Y axis": 15,
"Single notification settings": {
"Height": 20,
"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"
},
"Message filtering rules": [
{
"Text to match": "Rust Rewards",
"Is RegEx (Advanced)": false,
"Show as notification": true,
"Keep in chat": false,
"Formatting": {
"Color setting": {
"Use custom color": false,
"Custom color": null
},
"Regex formatting (Advanced)": {
"Enabled": false,
"Pattern": null,
"Replacement": null
}
}
},
{
"Text to match": "[DeathNotes]",
"Is RegEx (Advanced)": false,
"Show as notification": true,
"Keep in chat": false,
"Formatting": {
"Color setting": {
"Use custom color": false,
"Custom color": null
},
"Regex formatting (Advanced)": {
"Enabled": false,
"Pattern": null,
"Replacement": null
}
}
},
{
"Text to match": "Raidable Bases",
"Is RegEx (Advanced)": false,
"Show as notification": true,
"Keep in chat": false,
"Formatting": {
"Color setting": {
"Use custom color": false,
"Custom color": null
},
"Regex formatting (Advanced)": {
"Enabled": false,
"Pattern": null,
"Replacement": null
}
}
}
],
"Version": {
"Major": 1,
"Minor": 3,
"Patch": 0
}
}
Credits
@nivex - performance enhancements in version 1.2.14 (thank you)