Raised This Month: $404 Target: $400
 101% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Furchee
Member
Join Date: Aug 2010
Old 05-06-2018 , 13:43   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #101

Is there a way one could comment out / remove the global notification in chat when someone reports another player ?
If a player reports another and the other person can see it, 9 times out of 10 they either leave or start flaming the other party.
Furchee is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 05-09-2018 , 08:56   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #102

Quote:
Originally Posted by Furchee View Post
Is there a way one could comment out / remove the global notification in chat when someone reports another player ?
If a player reports another and the other person can see it, 9 times out of 10 they either leave or start flaming the other party.
This is something you need to set inside the main calladmin CFG. It is possible already

From cfg/sourcemod/plugin.calladmin.cfg:

PHP Code:
// Whether or not a report should be notified to all players or only the reporter.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_calladmin_public_message "0" 
__________________

Last edited by Obyboby; 08-24-2018 at 06:42.
Obyboby is offline
extremeg
Senior Member
Join Date: Dec 2012
Location: Germany
Old 05-22-2018 , 22:21   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #103

Thanks for the sourcebans/sourcecomms integration .
__________________
C#/Java/MySQL/SourcePawn/PHP/Perl/Phyton Developer - [CSGO Surf/Bhop since 2013]
extremeg is offline
GnomeChompski
Member
Join Date: Jul 2012
Old 06-13-2018 , 20:00   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #104

Has anyone got this working? i'm still having the same issue where the sm_testdiscord spams "[discord.smx] SendNextMsg: Failed To Send Message" no matter what websocket i use from the configs.
__________________
GnomeChompski is offline
ssandiss
Junior Member
Join Date: Jan 2018
Old 07-30-2018 , 02:13   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #105

Does this plugin support custom messages with information from the Server.

For example.
Let's call the players following:

Player 1 = Steve
Admin 1 = Sandis

I do the command !calladmin in-game. Choose Steve And enter the reason "Own Reason", I put in "Player is disrespecting."
Is there a way to make the Discord message send like @WhateverRole <Player> has been reported by <ReporingPlayer> for <Reason>.

Currently there is no way to see if there is someone abusing the !calladmin system whilst getting the messages through your plugin.
Otherwise. Great plugin!
ssandiss is offline
lugui
Senior Member
Join Date: Feb 2016
Location: Brasil
Old 09-05-2018 , 19:11   Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)
Reply With Quote #106

My console is spamming this: [discord.smx] [OnRequestComplete] Request failed

what could cause this?

PHP Code:
    // This should not happen!
    
if(bFailed || !bRequestSuccessful)
    {
        
LogError("[OnRequestComplete] Request failed");
    } 
this does not help much finding the error...


Edit: It was a DNS problem, I fixed the DNS and it is now working again. Tha machine wasn't resolving "discordapp.com"

Last edited by lugui; 09-16-2018 at 10:28.
lugui is offline
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 09:51.


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