Raised This Month: $51 Target: $400
 12% 

[ANY] Discord Notification (Join, Ban, Disconnect, Map, Kills, Chat)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Benito
Member
Join Date: Jul 2018
Location: Belgique - Belgium
Plugin ID:
7214
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    No source code / plugin, GitHub links are broken, fix it and use the Report Post button for a new review.
    Old 07-21-2020 , 15:34   [ANY] Discord Notification (Join, Ban, Disconnect, Map, Kills, Chat)
    #1

    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
    __________________

    Last edited by Benito; 07-30-2020 at 11:33.
    Benito is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 04:14.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode