Raised This Month: $12 Target: $400
 3% 

[ANY] Discord/Slack API (CallAdmin, SourceBans, ...)


Post New Thread Reply   
 
Thread Tools Display Modes
Obyboby
Veteran Member
Join Date: Sep 2013
Old 02-09-2019 , 10:12   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #121

Quote:
Originally Posted by virusking View Post
That's what the discord_sourcebans.smx is for, but it does not broadcast kicks. It only broadcasts server bans.
Weird, it's not broadcasting bans for me only reports and gags/mutes
__________________
Obyboby is offline
wolvez04
Senior Member
Join Date: Feb 2016
Location: Andora
Old 02-09-2019 , 11:00   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #122

Quote:
Originally Posted by Obyboby View Post
Weird, it's not broadcasting bans for me only reports and gags/mutes
Doesn't work for both for me. Using sourcebans (1.6.2)

edit: actually first post says to use edit version of sourcebans. Is that still required?
__________________
Hiring developers of all sorts for small or big jobs.
Paying nicely. Just PM for any available jobs.


Last edited by wolvez04; 02-09-2019 at 13:07.
wolvez04 is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 02-11-2019 , 13:39   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #123

Quote:
Originally Posted by wolvez04 View Post
Doesn't work for both for me. Using sourcebans (1.6.2)

edit: actually first post says to use edit version of sourcebans. Is that still required?
I'm using this version with no issues:

"SourceBans++: Main Plugin" (1.6.3) by SourceBans Development Team, SourceBans++ Dev Team

Quote:
Originally Posted by Obyboby View Post
Weird, it's not broadcasting bans for me only reports and gags/mutes
Mistake - It is broadcasting bans indeed.
I am trying to see if I can edit the source code myself to also show other admin actions (kicks, for example)
__________________

Last edited by Obyboby; 02-11-2019 at 13:45.
Obyboby is offline
agent1139
Junior Member
Join Date: Aug 2018
Old 02-12-2019 , 10:59   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #124

So i've installed this plugin, but cant seem to figure how to send messages to discord, I can calladmin fine but plain messages arn't working
agent1139 is offline
Melon_
New Member
Join Date: Apr 2019
Old 04-14-2019 , 22:38   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #125

Does this still work? Tried running it on my server with discord and couldn't get it to work.

Melon_ is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 04-15-2019 , 12:10   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #126

Quote:
Originally Posted by Melon_ View Post
Does this still work? Tried running it on my server with discord and couldn't get it to work.

Check your error logs.
__________________
sneaK is offline
dragonbanshee
Junior Member
Join Date: Sep 2014
Location: Massachusetts
Old 05-28-2019 , 23:54   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #127

I'm trying to use this plugin with CallAdmin and it just spams my console with this error:

L 05/28/2019 - 23:534: [discord.smx] SendNextMsg: Failed To Send Message
dragonbanshee is offline
Niklavs
BANNED
Join Date: Nov 2018
Location: https://t.me/pump_upp
Old 07-27-2019 , 07:22   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #128

L 07/27/2019 - 12:52:19: [discord.smx] [OnRequestComplete] Bad Request! Error Code: [400]. Check your message, the API doesn't like it! Message: "{"username":"Reporter", "content":"","attachments": [{"color": "#ff9911","title": "[DEXP.EU] AWP Only Server | 128ticks | !knife & !ws (steam://connect/145.239.18.221:27015) # GS-90","fields": [{"title": "Reason","value": "Wallhack","short": true},{"title": "Reporter","value": "Niklavs (STEAM_1:1:201912335)","short": true},{"title": "Target","value": "Morrzy (STEAM_1:1:507284144)","short": true}]}]}"

Does this still work?

All it does is send sm_claim correctly, but for calladmin it just sends "Test"
which I have:

// This allows you to mention reports, leave blank to disable.
// -
// Default: "@here"
discord_calladmin_mention "Test"

that's it!


Does this plugin still work for anyone?

Last edited by Niklavs; 07-27-2019 at 07:23.
Niklavs is offline
Send a message via ICQ to Niklavs Send a message via AIM to Niklavs Send a message via Yahoo to Niklavs
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 07-27-2019 , 15:28   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #129

Quote:
Originally Posted by Niklavs View Post
L 07/27/2019 - 12:52:19: [discord.smx] [OnRequestComplete] Bad Request! Error Code: [400]. Check your message, the API doesn't like it! Message: "{"username":"Reporter", "content":"","attachments": [{"color": "#ff9911","title": "[DEXP.EU] AWP Only Server | 128ticks | !knife & !ws (steam://connect/145.239.18.221:27015) # GS-90","fields": [{"title": "Reason","value": "Wallhack","short": true},{"title": "Reporter","value": "Niklavs (STEAM_1:1:201912335)","short": true},{"title": "Target","value": "Morrzy (STEAM_1:1:507284144)","short": true}]}]}"

Does this still work?

All it does is send sm_claim correctly, but for calladmin it just sends "Test"
which I have:

// This allows you to mention reports, leave blank to disable.
// -
// Default: "@here"
discord_calladmin_mention "Test"

that's it!


Does this plugin still work for anyone?
yes, i use it to and it works fine...check your error logs in addons/sourcemod/logs

Last edited by freak.exe_uLow; 07-27-2019 at 15:29.
freak.exe_uLow is offline
Niklavs
BANNED
Join Date: Nov 2018
Location: https://t.me/pump_upp
Old 07-27-2019 , 15:34   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #130

Quote:
Originally Posted by freak.exe_uLow View Post
yes, i use it to and it works fine...check your error logs in addons/sourcemod/logs
Code:
L 07/27/2019 - 12:52:19: [discord.smx] [OnRequestComplete] Bad Request! Error Code: [400]. Check your message, the API doesn't like it! Message: "{"username":"Reporter", "content":"","attachments": [{"color": "#ff9911","title": "[DEXP.EU] AWP Only Server | 128ticks | !knife & !ws (steam://connect/145.239.18.221:27015) # GS-90","fields": [{"title": "Reason","value": "Wallhack","short": true},{"title": "Reporter","value": "Niklavs (STEAM_1:1:201912335)","short": true},{"title": "Target","value": "Morrzy (STEAM_1:1:507284144)","short": true}]}]}"
Niklavs is offline
Send a message via ICQ to Niklavs Send a message via AIM to Niklavs Send a message via Yahoo to Niklavs
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 06:06.


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