Sueta
[S

[Skript] Reporting System with Discord Webhook

1.0

Reporting System

·Plugin

Hello everyone! I'm Hid33n and I'm excited to share with you a resource I've been developing for my Minecraft server. It's a reporting system that sends a notification to a Discord channel using a webhook.

Features:

  • Easy to use: Players can report other users directly from the game with the /report command.
  • Discord Integration: Each report is automatically sent to a configured Discord channel, allowing administrators to efficiently monitor and manage reports.
  • Customization: You can customize the message sent to Discord, including the name of the reported player, the reporter, and the reason for the report.
  • Compatibility: Works on Minecraft Java version 1.9.X to 1.20.1 and is also compatible with the Bedrock version.


Commands:

/report <player> <reason>: Report a player specifying the reason.

Example:

/report Notch Hacking

Installation Instructions:

  1. Download the report.sk file:
  2. Place the report.sk file in the plugins/Skript/scripts/ folder of your server.
  3. Reload Skript using the /skript reload all command or by restarting your server.

Creating a Discord Webhook:

  1. Open your Discord server and go to the channel where you want the reports to be sent.
  2. Click on the channel settings (gear icon).
  3. Go to the "Integrations" tab.
  4. Click on "Create Webhook".
  5. Set a name and optionally an avatar for the webhook.
  6. Copy the webhook URL and replace it in the Skript (_webhookURL variable).

This resource is free and available to the community. If you have suggestions or find any issues, feel free to leave a comment or send me a message. Any feedback is appreciated!

Similar projects

Plugin →