Notify allows users to get notified via chat and/or in Discord when a configured keyword is triggered in the in-game chat. Multiple keywords, groups, and player IDs are supported, just tweak the configuration as desired.
Note: The GUI-related options and support for GUI plugins is for Rust only.
Configuration
{
"Permission required to trigger keywords": false,
"Include original message with notification": true,
"Match only exact keywords": true,
"Auto-reply for triggered keywords": false,
"Notify configured players in chat": false,
"Players to notify in chat": [
"PLAYER_ID",
"PLAYER_ID_2"
],
"Notify configured groups in chat": true,
"Groups to notify in chat": [
"admin",
"moderator"
],
"Notify using GUI Announcements": false,
"Banner color to use for GUI (RGBA or color name)": "0.1 0.1 0.1 0.7",
"Text color to use for GUI (RGB or color name)": "1 1 1",
"Notify using UI Notify": false,
"Notification type for UI Notify": false,
"Notify in Discord channel": false,
"Discord embed color (decimal color code)": "16538684",
"Role IDs to mention on Discord": [
305751989176762388
],
"User IDs to mention on Discord": [
97031326011506688
],
"Discord webhook URL": "https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks",
"Keywords to listen for in chat": [
"admin",
"crash",
"bug"
]
}
Localization
{
"AutoReply": "Your message has triggered a notification to admin",
"KeywordsChat": "{0} ({1}) has used the keywords: {2}",
"DiscordKeywordsFieldName": "Keywords",
"DiscordMentionsFieldName": "Mentions",
"DiscordMessageFieldName": "Message",
"DiscordPlayerFieldName": "Player"
}
MIT License, with distribution exclusivity for uMod.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.