RSSy MYGO.pl Opublikowano Styczeń 11, 2017 o 14:59 RSSy Udostępnij Opublikowano Styczeń 11, 2017 o 14:59 About A pretty simple plugin that allows you to send JSON messages to Discord and Slack.Features Command to test the API: sm_testdiscord <webhook> <message> Auto format plain text into JSON for slack & discord Auto resend msg if the API is busy Installation discord.smx -> addons/sourcemod/plugins/ discord.cfg -> addons/sourcemod/configs/ Add your WebHook URLs to discord.cfg, if you are using Discord don't forget to add /slack to the end of the webhook url.WebHook URLs can be created in your channel settings on discord.Module: CallAdmin Requires: Calladmin discord_calladmin.smx -> addons/sourcemod/plugins/ discord_calladmin.cfg // Discord/Slack attachment color. // - // Default: "#ff2222" discord_calladmin_color "#ff2222" // If enabled add a random refer ID to the report title. // - // Default: "1" discord_calladmin_refer "1" // Remove this part from servername before sending the report. // - // Default: " | By PulseServers.com" discord_calladmin_remove " | By PulseServers.com" // Remove this part from servername before sending the report. // - // Default: "3kliksphilip.com | " discord_calladmin_remove2 "3kliksphilip.com | " // Config key from configs/discord.cfg. // - // Default: "calladmin" discord_calladmin_webhook "calladmin" Module: SourceBans/SourceComms Requires: SourceBans++ (edited version, original sourcebans has no ban forwards, feel free to request compability for other sourcebans versions) discord_sourcebans.smx -> addons/sourcemod/plugins/ discord_sourcecomms.smx -> addons/sourcemod/plugins/ discord_sourcebans.cfg // Discord/Slack attachment color. // - // Default: "#ff2222" discord_sourcebans_color "#ff2222" // Link to sourcebans. // - // Default: "https://sb.eu.3kliksphilip.com/index.php?p=banlist&searchText={STEAMID}" discord_sourcebans_url "https://sb.eu.3kliksphilip.com/index.php?p=banlist&searchText={STEAMID}" // Config key from configs/discord.cfg. // - // Default: "sourcebans" discord_sourcebans_webhook "sourcebans" discord_sourcecomms.cfg // Discord/Slack attachment gag color. // - // Default: "#ffff22" discord_sourcecomms_color_gag "#ffff22" // Discord/Slack attachment mute color. // - // Default: "#2222ff" discord_sourcecomms_color_mute "#2222ff" // Discord/Slack attachment silence color. // - // Default: "#ff22ff" discord_sourcecomms_color_silence "#ff22ff" // Link to sourcebans. // - // Default: "https://sb.eu.3kliksphilip.com/index.php?p=commslist&searchText={STEAMID}" discord_sourcecomms_url "https://sb.eu.3kliksphilip.com/index.php?p=commslist&searchText={STEAMID}" // Config key from configs/discord.cfg. // - // Default: "sourcecomms" discord_sourcecomms_webhook "sourcecomms" Downloadgitlab.com/Zipcore/Discord/ Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się