Discord Relay&Report is a simple plugin designed for syncing the chat on your CS2 Server and also includes a report function.
- Sync Server Chat via Discord Webhook
- Report Function via Discord Webhook
- Custom Config via the
configs/discord-relay-report/config.json
- Locates players country and adding a flag by his name (by using an external API)
- German
- English
- Romanian (thanks to DeadPoolCS2 and Blue)
- Download and install Metamod 2.X.
- Download and install Swiftly.
- Download the Discord Relay&Report Plugin from the releases page.
- Extract the files into
addons/swiftly
Edit the JSON configuration file
addons/swiftly/configs/plugins/discord-relay-report/config.json
with your configuration
{
"enableChatsync": true,
"enableReport": true,
"webhookChatync": "",
"webhookReport": "",
"imageReport": "",
"discordMessage": "We just received a new report of a suspect",
"menucolor": "00B869",
"reasons": [
"Cheating",
"Aimbot",
"Wallhack",
"Bunnyhop"
]
}
enableChatsync:
Set to true to enable chat synchronization via Discord webhook. Set to false to disable it.enableReport:
Set to true to enable the report functionality via Discord webhook. Set to false to disable it.webhookChatync:
The URL of the Discord webhook where chat messages will be sent.webhookReport:
The URL of the Discord webhook where player reports will be sent.imageReport:
(Optional) The URL of an image to include in the report messages.discordMessage:
The default message content for the report notifications.
- Report:
!report <playername> <reason>
✦ Special thanks to @skuzzis for helping me