REPORT SYSTEM  | BY KORUNA icon

REPORT SYSTEM | BY KORUNA -----

Simple report system working with Discord.



Hey!
I've made my first Minecraft plugin. Players can send reports to admins. Every report is sent to Discord channel and last report from players can be found by using "/reports". When I am more experienced in creating plugins, I will try to make a GUI menu for reports.






Commands:

Command " /report [message]" sends report to admin groups.

Command "/reports" displays last report in chat.

Every update will be on my Discord server or Spigot resource page.




Plugin Config:

Code (YAML):
# Plugin config
discordWebhookUrl
: "https://discord.com/api/webhooks/1121034467432222802/10XSuXr8n_lWOrbxfybfR5QVzcGhnAxvEapNmifwfSarR0VbrL498k4ZF3MlrHOw85Q4"
pageSize
: 5

# Permissions
permissions
:
  report
:
    usage
: "reportplugin.report.usage"
    permission
: "reportplugin.report"
  reports
:
    usage
: "reportplugin.reports.usage"
    permission
: "reportplugin.reports"
Change the URL that is written after "discordWebhookURL". Set here your own Discord channel webhook URL.




Plugin Messages file:

Code (YAML):
# Plugin messages
reportSent
: "&aReport has been sent."
playerOnlyCommand
: "&cOnly players can use this command."
adminOnlyCommand
: "&cOnly admins can use this command."
usageReport
: "&cUsage: /report <message>"
noPermission
: "&cYou don't have permission to use this command."
reportReceive
:
 - "&e------------ Report ------------"
  - "&aPlayer
: %reporter%"
  - "&aMessage
: %message%"
  - "&e--------------------------------"









This plugin is very siple because its my first plugin, as I said. So please be considerate of small mistakes/flaws. Please also respect that some errors may take longer to correct. Thank you and enjoy.
Resource Information
Author:
----------
Total Downloads: 193
First Release: Jun 22, 2023
Last Update: Jun 23, 2023
Category: ---------------
All-Time Rating:
0 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings