This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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, 15 views)
    File Type: smx report.smx (6.1 KB, 11 views)
    File Type: sp Get Plugin or Get Source (report.sp - 31 views - 4.8 KB)
    __________________
    ~Reo

    Last edited by drew73197; 05-01-2024 at 04:02.
    drew73197 is offline
     



    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 19:05.


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