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

[ANY] Discord


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Plugin ID:
5482
Plugin Version:
1.0.0
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Send message to a discord server/channel
    Old 01-07-2017 , 17:00   [ANY] Discord
    Reply With Quote #1

    You like this plugin or my work? Support is not a crime.

    Send message to a discord server/channel.

    Native:
    SendMessageToDiscord(const char[] channel, const char[] message);

    Command for root admins:
    sm_testdiscord <Channel> <Message>

    You can add more channels in configs/discord.cfg

    https://github.com/Bara/DiscordAPI
    ( Thanks to ImACow and Phire for their snippet )
    __________________
    Discord (Bara#5006) | My Plugins (GitHub)
    You like my work? Support is not a crime.

    Last edited by Bara; 12-12-2021 at 15:03.
    Bara is offline
    spot
    Senior Member
    Join Date: May 2009
    Old 01-07-2017 , 18:33   Re: [ANY] Discord
    Reply With Quote #2

    Cool, maybe this can be used a !calladmin Come to server1, cheater here...?

    Last edited by spot; 01-07-2017 at 18:33.
    spot is offline
    zipcore
    Veteran Member
    Join Date: Mar 2010
    Location: m_flZipcore
    Old 01-08-2017 , 08:38   Re: [ANY] Discord
    Reply With Quote #3

    Quote:
    Originally Posted by spot View Post
    Cool, maybe this can be used a !calladmin Come to server1, cheater here...?
    I've written this already: https://gitlab.com/Zipcore/Discord/b...d_calladmin.sp
    __________________

    Last edited by zipcore; 01-08-2017 at 08:39.
    zipcore is offline
    MaloModo
    Veteran Member
    Join Date: Aug 2008
    Old 01-09-2017 , 14:04   Re: [ANY] Discord
    Reply With Quote #4

    Quote:
    Originally Posted by zipcore View Post
    Are you going to create a thread for this?
    MaloModo is offline
    zipcore
    Veteran Member
    Join Date: Mar 2010
    Location: m_flZipcore
    Old 01-10-2017 , 02:21   Re: [ANY] Discord
    Reply With Quote #5

    Quote:
    Originally Posted by MaloModo View Post
    Are you going to create a thread for this?
    no, I don't create threads here anymore for my plugins, just in very special cases.

    Quote:
    Originally Posted by shavit View Post
    something similar i made a while ago: https://github.com/shavitush/smdiscord
    https://gitlab.com/Zipcore/Discord/b.../discord.sp#L7

    I know mine is based on your good work.
    __________________
    zipcore is offline
    MaloModo
    Veteran Member
    Join Date: Aug 2008
    Old 01-10-2017 , 15:31   Re: [ANY] Discord
    Reply With Quote #6

    Quote:
    Originally Posted by zipcore View Post
    no, I don't create threads here anymore for my plugins, just in very special cases.
    Ok I can perhaps understand that....do I need the calladmin plugin as base...this is discord module? I assume the inc need calladmin is from that plugin?

    Last edited by MaloModo; 01-10-2017 at 15:31.
    MaloModo is offline
    zipcore
    Veteran Member
    Join Date: Mar 2010
    Location: m_flZipcore
    Old 01-11-2017 , 00:17   Re: [ANY] Discord
    Reply With Quote #7

    Quote:
    Originally Posted by MaloModo View Post
    Ok I can perhaps understand that....do I need the calladmin plugin as base...this is discord module? I assume the inc need calladmin is from that plugin?
    The native name is different at my version you can edit it yourself or use my discord version, they don't differ much.
    You need steamworks extension, calladmin, discord, discord-calladmin. BTW works for slack aswell.
    __________________

    Last edited by zipcore; 01-11-2017 at 00:21.
    zipcore is offline
    Czar_
    Senior Member
    Join Date: Nov 2016
    Location: Moms Basement
    Old 01-19-2017 , 21:26   Re: [ANY] Discord
    Reply With Quote #8

    Quote:
    Originally Posted by zipcore View Post
    Using your plugin right now. When people report on the server, the msg that pops up in discord just says @here. Is there a way to make it say like the reports name + the person they reported + reason for being reported? Thank you!
    __________________
    Czar_ is offline
    zipcore
    Veteran Member
    Join Date: Mar 2010
    Location: m_flZipcore
    Old 01-20-2017 , 20:20   Re: [ANY] Discord
    Reply With Quote #9

    Quote:
    Originally Posted by Czar_ View Post
    Using your plugin right now. When people report on the server, the msg that pops up in discord just says @here. Is there a way to make it say like the reports name + the person they reported + reason for being reported? Thank you!
    I've already created a new thread for my version and I bet you are missing the /slack at the end of your webhook url

    https://forums.alliedmods.net/showthread.php?t=292663
    __________________
    zipcore is offline
    _GamerX
    AlliedModders Donor
    Join Date: Jun 2011
    Location: Fun Server
    Old 01-08-2017 , 09:17   Re: [ANY] Discord
    Reply With Quote #10

    This is cool! e.g. for reporting players. GJ

    Question: If I wanted to use to fetch every chat message, it will use the server's much memory?
    __________________

    Last edited by _GamerX; 01-08-2017 at 09:48.
    _GamerX is offline
    Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
    Reply



    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 01:28.


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