Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

RSS[ANY] Discord Logger V2


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
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.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
68747470733a2f2f692e696d6775722e636f6d2f68747470733a2f2f692e696d6775722e636f6d2f
68747470733a2f2f692e696d6775722e636f6d2f

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

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...