Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.x
Platforms
Tags
Creators
Details
Licensed CC0-1.0
Published yesterday
This plugin uses DiscordSRV as a way to send bug & player reports to a channel using channels setup in the config for DiscordSRV with configureable text in the config.yml. This is my first plugin and I'm new to Java coding so if you have any recommendations, please do tell.
The plugin is designed for both use of reporting bugs as well as reporting players.
To use the plugin, DiscordSRV must be properly setup in its own config for a "reports" channel/tunnel for a destination for the reports. If you need help doing that, please scroll to the bottom of the description.
Commands:
- /report <player> <reason> - Report a player
- /bugreport <description> - Report a bug
- /flagit <reload|status|purge> - FlagIt admin commands
- /flagit reload - Reloads the config.yml
- /flagit status <id> <status> - Changes the status of a report. Valid statuses are open, in_progress, resolved, or dismissed.
- /flagit purge - This one has 2 different usages:
- /flagit purge <player> - deletes all report that are filed to a player.
- /flagit purge old <days> - deletes all reports older than the number of days inputted.
- Note: the "purge" command will only delete player reports, bug reports will not be touched.
- /reporthistory <player> - View a player's report history.
- /reportlist [page] - View recent reports by page (10 reports per page).
- /reportmenu - Opens the report menu.
- /reportview <id> - View details of a specific report
Permissions:
- flagit.report - Allows reporting players
- flagit.bugreport - Allows reporting bugs
- flagit.menu - Allows opening the report menu
- flagit.admin - Allows use of admin commands
- flagit.history - Allows viewing report history
- flagit.list - Allows viewing the report list
- flagit.view - Allows viewing report details
- flagit.staff - Recieves in-game staff notifications for new reports
How to setup DiscordSRV for the plugin (you should already have DiscordSRV installed and setup) DiscordSRV Setup Documentation:
- Create a new channel in discord server named "reports" (doesn't have to be a private channel)

- Copy channel id for the reports channel (used later)
- Open the config.yml in DiscordSRV

- Create new report's channel in the config (paste your channel id in the blue "")

- You can then test the reporting in game.



