RSSy MYGO.pl Opublikowano Luty 18, 2022 o 14:25 RSSy Udostępnij Opublikowano Luty 18, 2022 o 14:25 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 FeaturesCompiled with SM 1.10 Detect bans (SourceBans) Detect map (Launch, change) Detect client connection & disconnection Detect Kick Detect unban Detect chat Detect kills Detect gag's 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 Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi