[ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
About
A pretty simple plugin that allows you to send JSON messages to Discord and Slack. Features
Requires: SteamWorks 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. DO NOT add your webhook URL inside any module config unless you know what you are doing... WebHook URLs can be created in your channel settings on discord. Module: CallAdmin Requires: Calladmin (sm_calladmin_admin_action has to be set to 0 or 2) discord_calladmin.smx -> addons/sourcemod/plugins/ Admin-Commands:
discord_calladmin.cfg
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_sourcecomms.cfg
Download gitlab.com/Zipcore/Discord/ Quote:
|
Re: Discord/Slack API (CallAdmin, Sourcebans, ...)
Running it on my server! works pretty well
|
Re: Discord/Slack API (CallAdmin, Sourcebans, ...)
nice work! i will install it on my server too :)
thank you :) EDIT: i installed it works without problems thank you :) |
Re: Discord/Slack API (CallAdmin, Sourcebans, ...)
nice release buddy!
Great work |
Re: Discord/Slack API (CallAdmin, Sourcebans, ...)
nice one!
|
Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Great idea! Another nice release!
|
Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
good well!!
try that in my one. |
Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Update
Added !claim command for discord_calladmin module. |
Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Niceeeeee!
|
Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
I have an error.
[discord.smx] [OnRequestComplete] Bad Request! Error Code: [400]. Check your message, the API doesn't like it! Message: "{"attachments": [{"color": "#ff2222","title": "View on Sourcebans","title_link": "http://***/index.php?p=banlist&searchText=STEAM_1:1:***" ,"fields": [{"title": "Player","value": "T1MOXA ( STEAM_1:1:*** )","short": true},{"title": "Admin","value": "T1MOXA","short": true},{"title": "Ban Length","value": "1 min","short": true},{"title": "Reason","value": "1","short": true}]}]}" Where in this query error ? (I have my own alteration of sourcebans, maybe that's the reason) |
All times are GMT -4. The time now is 15:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.