Raised This Month: $344 Target: $400
 86%   Almost there!

[ANY] Discord Logger V2


Post New Thread Reply   
 
Thread Tools Display Modes
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
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 02-18-2022 , 11:23   Re: [ANY] Discord Logger V2
    Reply With Quote #2

    I don't know about you guys, but showing player IP in public is not nice thing to do, all because those ddos.
    (I assume this plugin show player IP on discord for all discord users ?)
    But, however. This was just my opinion.
    Bacardi is offline
    Benito
    Member
    Join Date: Jul 2018
    Location: Belgique - Belgium
    Old 02-18-2022 , 11:41   Re: [ANY] Discord Logger V2
    Reply With Quote #3

    Quote:
    Originally Posted by Bacardi View Post
    I don't know about you guys, but showing player IP in public is not nice thing to do, all because those ddos.
    (I assume this plugin show player IP on discord for all discord users ?)
    But, however. This was just my opinion.
    Yeah well its a option and i hope the guys who will use it will put it in a private channel or disable the option
    __________________

    Last edited by Benito; 02-18-2022 at 11:42.
    Benito is offline
    KoNLiG
    AlliedModders Donor
    Join Date: Sep 2020
    Location: Israel
    Old 02-18-2022 , 17:59   Re: [ANY] Discord Logger V2
    Reply With Quote #4

    Nice release
    __________________
    For questions/plugin requests contact me:

    Discord: KoNLiG#6417
    Steam: KoNLiG
    KoNLiG is offline
    qq410525209
    Junior Member
    Join Date: Mar 2022
    Old 03-01-2022 , 11:05   Re: [ANY] Discord Logger V2
    Reply With Quote #5

    Are there any detailed examples?

    [discord_api.smx] [DISCORD] Couldn't Retrieve Guilds - Fail 0 0
    qq410525209 is offline
    Benito
    Member
    Join Date: Jul 2018
    Location: Belgique - Belgium
    Old 03-02-2022 , 06:05   Re: [ANY] Discord Logger V2
    Reply With Quote #6

    Quote:
    Originally Posted by qq410525209 View Post
    Are there any detailed examples?

    [discord_api.smx] [DISCORD] Couldn't Retrieve Guilds - Fail 0 0
    Add me on discord: MBK#2443
    __________________
    Benito is offline
    hkkelvin1995
    Senior Member
    Join Date: Jun 2009
    Location: Hong Kong
    Old 03-20-2022 , 15:56   Re: [ANY] Discord Logger V2
    Reply With Quote #7

    I'm trying to build from the discord_logger.sp but I'm getting error 139: could not find type "DiscordWebHook". I have all .inc files and discord related .sp files prepared. What's still wrong?
    hkkelvin1995 is offline
    Benito
    Member
    Join Date: Jul 2018
    Location: Belgique - Belgium
    Old 03-27-2022 , 19:39   Re: [ANY] Discord Logger V2
    Reply With Quote #8

    Quote:
    Originally Posted by hkkelvin1995 View Post
    I'm trying to build from the discord_logger.sp but I'm getting error 139: could not find type "DiscordWebHook". I have all .inc files and discord related .sp files prepared. What's still wrong?
    add me on discord: MBK#2443
    __________________
    Benito is offline
    Merrill
    Member
    Join Date: Jun 2006
    Location: Houston
    Old 04-16-2022 , 15:54   Re: [ANY] Discord Logger V2
    Reply With Quote #9

    Hello Benito

    I just added you on discord as I need help.

    Thank you
    Merrill is offline
    The Solid lad
    Senior Member
    Join Date: Oct 2018
    Old 06-03-2022 , 08:13   Re: [ANY] Discord Logger V2
    Reply With Quote #10

    This is going to be a really noob question, but do I have to create a discord bot, or just invite a specific one to my discord server?
    I uploaded the plugin files to my CS:GO FTP and put my discord channel webhook URL into the .ini, but that's where my wisdom ends. lmao

    I think you should add a step-by-step instructions/installation guide section to the main post for ppl like me. lol
    Either way, added u on discord for help.
    __________________

    Last edited by The Solid lad; 06-03-2022 at 08:14.
    The Solid lad is offline
    Reply


    Thread Tools
    Display Modes

    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 22:32.


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