Forward your server's chat to your DIscord server using Webhooks.
Psystec's Discord: discord. /EyRgFdA
- Global Chat forward.
- Team Chat forward.
- Notifies when a player connects or disconnects.
- Chat format can be customized.
- You can Enable/Disable Discord metions in Rust chat.
- Can configure the discord chat to show the players steam icon.
- Ignore messages containing banned words being sent to the discord.
To reload the config file with a console command you will need chattodiscord.admin
chattodiscord-- Displays the commands.chattodiscord loadconfig-- Loads the config file, handy for if you make changes in the config file.
- If you don't want to display the clients steam icon if discord leave the
SteamApiKeyempty. - If you don't want to display GLOBAL chats, leave the
GlobalChatWebhookempty. - If you don't want to display TEAM chats, leave the
TeamChatWebhookempty. - If you don't want to display player connections in chats, leave the
ConnectionWebhookempty.
{
"SteamApiKey": "https://steamcommunity.com/dev/apikey",
"GlobalChatWebhook": "",
"TeamChatWebhook": "",
"ConnectionWebhook": "",
"AllowMentions": false,
"AllowSpecialCharacters": true,
"GlobalChatFormat": "[{time}] [**GLOBAL**] **{username}**: `{message}`",
"TeamChatFormat": "[{time}] [**TEAM**] **{username}**: `{message}`",
"ConnectionFormat": "[{time}] **{username}**: {connectionstatus}",
"DateFormat": "yyyy-MM-dd HH:mm:ss",
"FilterBadWords": [ "badword1", "badword2" ]
}{time}-- Displays the time using the DateFormat setting in the config file.{username}-- Displays the client's steam username.{userid}-- Displays the client's steam id.{connectionstatus}-- Displays the client's connection status (Connected/Disconnected) (ConnectionFormat).{message}-- Displays the client's RUST message (ChatFormats).
{
"Connected": "Connected",
"Disconnected": "Disconnected",
"NoPermission": "You do not have permission to use this command.",
"FileLoaded": "File loaded.",
"cmdCommand": "COMMAND",
"cmdDescription": "DESCRIPTION",
"cmdReload": "Reads the config file.",
}Add the SteamApiKey to allow the plugin to display the player's steam profile icon as the Webhook's icon. Key can be generated here: https://steamcommunity.com/dev/apikey
- Discord Chat:
