About
Send notification on a discord channel when a player join, disconnect, get banned and when the map start.
Discord A.P.I from
Deathknife
Features- Player Connection Logging
- Player Disconnect Logging
- Player Ban Logging
- SourceBans Bans support (separated, required SourceBans)
- SourceBans Report support (separated, required SourceBans)
- When a Ban its removed
- Players Chatting Logging(Enable or Disable by Cvar(discord_messages))
- Map Change Logging
- Auth informations Logging(Enable or Disable by Cvar(discord_auth))
- Who killed who loggin(Enable or Disable by Cvar(discord_killedby))
- Mute or Unmute Logging
- Gag or Ungag Loggin
- Embed or Normal notification added
- Translations in 5 languages(English, French, Romanian, Korean, Polish, Turkish)
Example of notifications
Normal
Embed
Requires:
SteamWorks
Installation
Add your WebHook URL to discord_notification.cfg(File created after first launch of the plugin).
WebHook URL can be created in your channel settings on discord.
discord_api.smx -> addons/sourcemod/plugins/
discord_notification.smx -> addons/sourcemod/plugins/
discord_sourcebans.smx -> addons/sourcemod/plugins/
discord_notification.phrases -> addons/sourcemod/translations/
Download:
https://github.com/Benito1020/discor...ive/master.zip
discord_notification.cfg
Quote:
// Default webhook for sending logs, see discord.cfg for the webhook name
// -
// Default: "<WEBHOOK_URL_HERE>"
discord_webhook "<WEBHOOK_URL_HERE>"
// 1 = Enabled / 0 = Disabled retrieves the players messages on discord.
// -
// Default: "1"
discord_messages "1"
// 1 = Enabled / 0 = Disabled retrieves the players steamid and ip on discord.
// -
// Default: "1"
discord_auth "1"
// 1 = Enabled / 0 = Disabled retrieves the killer and the victim of a kill.
// -
// Default: "1"
discord_killedby "1"
// 1 = Send embed's notifications / 0 = Send normal notification.
// -
// Default: "1"
discord_embed "1"
|
Changelog
Quote:
- Added SourceBans support
- Added server chat logging
- Added log when a ban is removed from the banlist
- Added player IP & SteamID.
- Fixed Say() function.
- Added cvar for enabling or disabling auth client logging.
- Added cvar for enabling or disabling kills logging.
- Added Mute and gag status loggin.
- Removed discord support from zipcore and added Discord api libraby from Deathknife.
- Fixed kill message.
- Added cvar for enable embed or normal discord notification.
- Added Polish & Turkish translation
- Fixed Sourcebans plugin
|
__________________