Included with Purchase
Plugin Download
Instant access to the plugin file (.dll)
Future Updates
All updates and fixes at no extra cost
Developer Support
Help through our forum and Discord
Optional: Source Code
Add-on in cart for an additional fee
Readme

Discord Reports

Let your players report other players and send a report to discord with a spy image of the reported player.

Features

  • Allows your users to report other users with a simple command
  • Optionally send a spy image of the reported player to discord. You will need an api key
  • Message all the online staff that a player has been reported so they can start watching him
  • Send the spy message to multiple webhooks not only one
  • All the code runs on the thread pool so there is minimal impact on the performance of the server

Credits

Feli for originally creating this plugin

Commands

  • /report <player> <reason> - Reports a player for a specific reason

Configuration

<?xml version="1.0" encoding="utf-8"?>
<DiscordReportsConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ImgBBOptions>
    <ApiKey>00000000000000000000000000000000</ApiKey>
    <Expiration>3</Expiration>
    <Enabled>false</Enabled>
  </ImgBBOptions>
  <MiscOptions>
    <MessageOnlineStaff>true</MessageOnlineStaff>
    <StaffPermission>moderator</StaffPermission>
    <ReportCommandCooldown>300</ReportCommandCooldown>
  </MiscOptions>
  <DiscordWebhooks>
    <DiscordWebhook url="https://discord.com/api/webhooks/XXXX/XXXX" color="FF3933" enabled="false" />
    <DiscordWebhook url="https://discord.com/api/webhooks/XXXX/XXXX" color="46FF33" enabled="false" />
  </DiscordWebhooks>
</DiscordReportsConfiguration>

Translations

<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="ReportCommand:Cooldown" Value="You are on cooldown. You must wait {0} seconds to report a player again" />
  <Translation Id="ReportCommand:Usage" Value="Correct command usage: /report &lt;playerName&gt; &lt;reason&gt;" />
  <Translation Id="ReportCommand:NotFound" Value="Failed to find a player called: {0} !" />
  <Translation Id="ReportCommand:Reporting" Value="Reporting {0} this might take some seconds..." />
  <Translation Id="ReportCommand:Success" Value="Sucessfully reported {0} !" />
  <Translation Id="ReportCommand:StaffNotification" Value="{0} has just reported {1} for {2} !" />
  <Translation Id="ReportCommand:Error" Value="There was an error while running the command. Please contact an admin" />
</Translations>