Raised This Month: $ Target: $400
 0% 

[ANY] Discord Report **UPDATED 4/30/24**


Post New Thread Reply   
 
Thread Tools Display Modes
Author
drew73197
Junior Member
Join Date: Dec 2013
Plugin ID:
5725
Plugin Version:
2.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Lets users report a user and admins get notified in discord
    Old 07-21-2017 , 20:42   [ANY] Discord Report **UPDATED 4/30/24**
    Reply With Quote #1

    Discord Report
    This is my first post on AM so I hope the format is correct.
    ** UPDATE 4/30/24 **
    No longer my first post, but since the 64 bit update I have been in a programming mood, and I have updated this

    short description
    this is a plugin I created for the Vatican City, basically someone on the server types !report <username/id> <reason> and it'll add it to the specified database and then I have created and provided discord bot code written in NodeJS for you to run on your own machine to watch for reports and post them in a channel that you have specified in the config.js file!

    ** UPDATE 4/30/24 **
    New features include optional TF2 chat log, an admin chat where you can talk to people in the server from discord, along with an option to create a voice channel that the bot updates every 5 minutes with the amount of players on the server. This source code is heavily modified for what I created for our server and honestly is much cleaner, but I have tested it with our server and everything seems to work just fine and the time. Our server runs the 64x version of TF2 so this is confirmed working for TF2 64. This plugin should work on all types of servers, the only thing that may not work is the discord bot when it comes to the in game chat and getting the player count, as I am not sure how other games handle that or if they offer the logaddress_add IPORT command like TF2 does.

    USAGE
    sm_report <username/id> <reason>

    here's an example images below






    Anyways this plugin I have created here requires you to have a discord server as I'm sure most communities at this point do have one. I'm not sure what games this will run on other than TF2 because that's all I've tested it on. This was pretty much my first time creating a plugin and also creating a discord bot, so I give it as is with no warranty. Do with it as you please fix it up as you want, or even message me with suggestions on how to make it better! There is a README.txt file I will be including on how to set this up.

    Please post any questions below and I will try to get to you ASAP

    I made a repo with all of the zip folder contents here https://github.com/drew73197/Discord-Report
    Attached Files
    File Type: zip reportBot.zip (4.06 MB, 6 views)
    File Type: smx report.smx (6.1 KB, 3 views)
    File Type: sp Get Plugin or Get Source (report.sp - 10 views - 4.8 KB)
    __________________
    ~Reo

    Last edited by drew73197; 05-01-2024 at 04:02.
    drew73197 is offline
    cigzag
    AlliedModders Donor
    Join Date: Nov 2014
    Location: NZ
    Old 07-21-2017 , 23:53   Re: Report plugin
    Reply With Quote #2

    I recommend you make the title of this plugin more descriptive, like [ANY] Discord Report (date)

    EDIT : Update Description so it's more informative (The header)

    Last edited by cigzag; 07-22-2017 at 00:01.
    cigzag is offline
    drew73197
    Junior Member
    Join Date: Dec 2013
    Old 07-22-2017 , 00:08   Re: Report plugin
    Reply With Quote #3

    Quote:
    Originally Posted by SnowTigerVidz View Post
    I recommend you make the title of this plugin more descriptive, like [ANY] Discord Report (date)

    EDIT : Update Description so it's more informative (The header)
    Thanks I think I made the post better!
    __________________
    ~Reo
    drew73197 is offline
    cigzag
    AlliedModders Donor
    Join Date: Nov 2014
    Location: NZ
    Old 07-22-2017 , 00:32   Re: [ANY] Discord Report
    Reply With Quote #4

    Haha, looks way better already!
    cigzag is offline
    Mesharsky How2Kill
    AlliedModders Donor
    Join Date: May 2017
    Location: Poland
    Old 07-22-2017 , 01:23   Re: [ANY] Discord Report
    Reply With Quote #5

    It would be fantastic if you would do TeamSpeak3 Bot as well.
    Mesharsky How2Kill is offline
    drew73197
    Junior Member
    Join Date: Dec 2013
    Old 07-22-2017 , 01:38   Re: [ANY] Discord Report
    Reply With Quote #6

    Quote:
    Originally Posted by Mesharsky How2Kill View Post
    It would be fantastic if you would do TeamSpeak3 Bot as well.
    I can definitely attempt it! I'll look into it tomorrow.
    __________________
    ~Reo
    drew73197 is offline
    vortex.
    AlliedModders Donor
    Join Date: Jan 2017
    Location: OnGameFrame()
    Old 07-22-2017 , 07:19   Re: [ANY] Discord Report
    Reply With Quote #7

    Good job
    __________________
    vortex. is offline
    Mesharsky How2Kill
    AlliedModders Donor
    Join Date: May 2017
    Location: Poland
    Old 07-22-2017 , 09:50   Re: [ANY] Discord Report
    Reply With Quote #8

    Quote:
    Originally Posted by drew73197 View Post
    I can definitely attempt it! I'll look into it tomorrow.

    Thank's man and good luck i hope you will made it
    Mesharsky How2Kill is offline
    drew73197
    Junior Member
    Join Date: Dec 2013
    Old 07-22-2017 , 23:03   Re: [ANY] Discord Report
    Reply With Quote #9

    Quote:
    Originally Posted by Mesharsky How2Kill View Post
    Thank's man and good luck i hope you will made it
    I looked into it, I think it's very doable I just don't have the time myself to do it. Maybe in a couple weeks if no one else has taken the liberty to do it themselves I'll do it!
    __________________
    ~Reo
    drew73197 is offline
    romeo7
    Senior Member
    Join Date: Mar 2017
    Old 07-29-2017 , 17:33   Re: [ANY] Discord Report
    Reply With Quote #10

    how to use config.js ? where to add?
    romeo7 is offline
    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 10:02.


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