Raised This Month: $ Target: $400
 0% 

[ANY] Discord Logger V2


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Benito
Member
Join Date: Jul 2018
Location: Belgique - Belgium
Plugin ID:
7971
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Logs bans, kick, mapchange, chat, etc...
    Old 02-18-2022 , 09:25   [ANY] Discord Logger V2
    Reply With Quote #1

    Information
    This is a update of my previous discord notification plugin who was deleted of my github account

    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
    • Compiled with SM 1.11
    • Detect bans (SourceBans)
    • Detect map (Launch, change)
    • Detect client connection & disconnection
    • Detect Kick
    • Detect unban
    • Detect chat
    • Detect kills
    • Detect gag's
    • Print players list alive at end of the round
    • Country flag to discord emoji
    • Can change sending type ( Embed & Normal)
    • Can disable method in the configuration file
    • Can set specific discord tag when the method is sended to discord channel
    • Timer at each X time will be sent the server informations(Map, Players count, etc..à
    • For each method, you can set on which channel the plugin is supposed to send the embedded message(In configs/discord_logger.ini)
    • Can be translated to your own language (FR & EN by default)

    Requirements
    SteamWorks(Already on Repo)
    SmJansson
    (Already on Repo)

    Screenshot


    discord_logger.ini
    Code:
    "Discord_logger"
    {
    	"settings"
    	{
    		"username"		"Sourcemod logger"	// Bot username when a message is sent to the discord channel
    		"log_ip"		"1"				// if value equal 1, when clients join, their IP  will be displayed
    		"log_steamid"	"1"				// if value equal 1, when clients join, their STEAMID(32) will be displayed
    		"log_country"	"1"				// if value equal 1, when clients join, their COUNTRY will be displayed
    		"embed"		"1"				// if value equal 1, the message will be sent as embed format
    		"informations_timer"	"240.0"		// if value equal 0.0 the timer information will not display
    		
    		"auth" // Connection & Disconnection Method
    		{
    			"enabled"	"1" 				// If equal 1 the method will be enabled
    			"channel"	"public"			// This is the channel configured down below
    			"tag"		""				// This is the tag that gonna be sended with the message
    		}
    		"map"
    		{
    			"enabled"	"1"
    			"channel"	"public"
    			"tag"		""
    		}
    		"bans"
    		{
    			"enabled"	"1"
    			"channel"	"private"
    			"tag"		"@here"
    		}
    		"kick"
    		{
    			"enabled"	"1"
    			"channel"	"private"
    			"tag"		"@here"
    		}
    		"chat"
    		{
    			"enabled"	"1"
    			"channel"	"public"
    			"tag"		""
    		}
    		"gag"
    		{
    			"enabled"	"1"
    			"channel"	"private"
    			"tag"		"@here"
    		}
    		"kill"
    		{
    			"enabled"	"1"
    			"channel"	"public"
    			"tag"		""
    		}
    	}
    	"webhooks"
    	{
    		"public" // This is a channel from your discord server
    		{
    			"color"	"#0EA2D1" // This is the color of the embed on the left side
    			"url"		"" // And finally this is where you put your webhook url of your channel
    		}
    		"private"
    		{
    			"color"	"#0EA2D1"
    			"url"		""
    		}
    	}
    }
    Download
    Github Repository
    __________________

    Last edited by Benito; 06-05-2022 at 13:34.
    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 03:32.


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