syrent / velocityreport Goto Github PK
View Code? Open in Web Editor NEWMinecraft report system for Velocity servers with amazing features
License: GNU General Public License v3.0
Minecraft report system for Velocity servers with amazing features
License: GNU General Public License v3.0
1.20.1
Velocity 3.2.0 build 37fedf50-b260
3.9.1
Action bar display reports doesn't go away when reports are done.
The actionbar should be removed when there are no reports
1- Report a player
2- You will have an actionbar which tells you there is a report
3- Get the report
4- Open your reports and mark it as done
5- See the actionbar still be displayed
If I reload the plugin, even with /plugman reload, the action bar goes away.
It would be nice if you could add the possibility to leave stuff like "image_url" in the Discord Integration empty
Just a reminder
I think there are not many report plugins out there that give you enough customizability and features or are even updated to the newest version of Minecraft.
And even less, or actually I think that this is the only report plugin that has Velocity support.
And that's why I am here to make the only good one that exists, better.
If you would make a couple of features I suggest here, this would definitely be the go-to reporting plugin for not only Velocity networks, but any normal Paper server! And did I mention that the Book GUI is very intuitive and user friendly and also unique!😉
📋Config file to modify every aspect of this plugin, for example, all text and maybe even all the commands to be run in different situations. And definitely all the report reasons too.
⏱️Reporting cooldown, for example 5m. Can be configured through config file and can be bypassed with a permission. There is by default 2 more tiers of reporting cooldown, so that if you have a higher permission, your report cooldown can be for example just 3 minutes.
velocityreport.cooldown.default
= Default cooldown is 5m
velocityreport.cooldown.bypass
= Bypass cooldown
velocityreport.cooldown.tier1
= Default tier 1 cooldown is 3m
velocityreport.cooldown.tier2
= Default tier 2 cooldown is 2m
You can create infinite cooldown tiers in the config file.
velocityreport.admin.notify
) The notification text will say the reported player's name, the reporter's name, and the reason.
Also, if you hover over the reported player's name it will say how many times the player has been reported
in the past hour, past week and all time. There are a few other things, you can see them in the pictures. If you could modify everything about the messages and punishments it would be amazing!
If you open the Moderation GUI, it would include some of the things you see below. ⬇️ This picture is from a plugin called TigerReports, this picture explains everything. I dont need to tell you what I want, (I was too lazy to type what I wanted so I just put that there) You can just look at that picture. You can implement as many features as you want from the picture below.
If you click on a report you will see all the report details below:
⬆️Upvote
⬇️Downvote
and 🤷Not sure
to reports, admins can also do this. This will significantly help admins resolve reports!
Automatic command execution when a specific report amount is reached for 1 player.
Add a new placeholder %velocityreport_report_reason%
/myreports
This command will open a Book GUI where you can see 2 options: "My reports" and "Reports to me"
If you click "My reports" I can see all reports that I've made. If I click "Reports to me" I can see all the reports that I have gotten. (If you are an admin you will see a third option called "Manage reports" If you click it it will open an inventory GUI where you can manage all reports, more on that later.)
My reports: Also, the info box would say the time (Not only date)
Reports to me: Also, the info box would say the time (Not only date)
💡You can configure in the config files that will the info box say the reporters name or will it be hidden, or can you choose that will it show when making a report!
==============================================================================
/reports
Opens an Inventory GUI where you can manage all reports. If you are an admin you can also see a link to open this menu in the /myreports Book menu.📋Latest reports
🟡Reports in progress
🟢Resolved reports
🔴Rejected reports
🪙Report point leaderboard
👨🦱Most reported players
and 🪓False reports
💡There is also a additional option to see the Archived reports, you will need to have a permission to see the button to get to see archived reports and from there you can filter them the same as in the "Latest reports" menu, also you can delete them permanently and bring them back to the normal report menu.
💡Normal users can only see 📋Latest reports
🪙Report point leaderboard
and 👨🦱Most reported players
In the /reports
menu above.
Normal users can't see details of reports, they can only hover over a report and see all information you see below (Except the reporters name if it is disabled in the config. By default it is disabled) They can left-click to upvote, and right-click to downvote, Sift click to react "Not sure" and drop to remove vote.
Latest reports:
📋 Latest reports will look like the picture above
🟡 Reports in progress will look the same, but you don't have the "State" filter.
🟢 Resolved reports will look the same, but you don't have the "State" filter (You can see how many days hours minutes until a report will get archived. You can also "Unresolve" a report to make it "Open" again)
🔴Rejected reports will look the same, but you don't have the "State" filter (You can Unreject a report to make it "Open" again)
🪙Report point leaderboard will simply list players with the most Report points first. You can filter by
A-Z
,Most/Least Report Points
,Most/Least reports submitted
, andBest/Worst "RSR"
(Report Score Ratio, it's calculated by how many % of your reports get "resolved" and "rejected/false reported" and then the average)
👨🦱Most reported players will simply list the most reported players. You can filter by
Most/Least reported players
Best/Worst RPR
(Report Punish Ratio, it's calculated by how many % of the reports this player has received he gets punished.)
Most/least severe reports
(Shows the player with the most "severe/least severe" reports first)
You can click a player head in the "Most reported players menu" Now you will see all the reports that the player has received. here you can manage all the reports like in the "Latest reports" menu, also you can sort all the reports like in the "Latest reports" menu, because why not
🪓False reports will show all false reports that have been made. This is the same as the "Latest reports" menu but without a State or severity filter.
All severities:
NONE, UNKNOWN, LOW, MEDIUM, HIGH, SEVERE, CRITICAL
"None" if the report was a False report.
"Unknown" if the report reason was custom.
All report states:
OPEN, IN PROGRESS, RESOLVED, REJECTED, FALSE REPORT, ARCHIVED
"Open" is a waiting report where moderators have taken no action on it (Report will still be Open even if it has votes)
"Archived" if the report is Resolved or Rejected and after a configured amount of time it will automatically be archived.
All reports can be manually archived whenever you want through the Moderation GUI if you have permission.
All commands
/report [player]
Opens book GUI where you can specify a reason (Reasons are configurable in the config files)
/report [player] [reason]
Reports player with custom reason, doesn't open book GUI. The severity will be UNKNOWN, unless the reason matches a configured reason in the book GUI and takes its severity.
/myreports
Opens book GUI where you can select "My reports" or "Reports to me" and if you are an admin you can select "Manage reports"
/reports
Opens reports management GUI where you can manage and see all reports.
So.. Thats all, it actually took me longer than I thought to make this. It took 7 hours yesterday. And 4 hours today.. Yes, idk why I used my whole day on this, but now at least you have ideas 😂
v2.1
1.15.2
3.1.1
latest
the plugin work on 1.15.2 but the database don't work, dont create any table
1
1
1
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/gradle.yml
actions/checkout v3
actions/cache v3
actions/setup-java v3
gradle/gradle-build-action v2
gradle/wrapper-validation-action v1
actions/upload-artifact v3
gradle.properties
settings.gradle
build.gradle
org.jetbrains.kotlin.jvm 1.9.21
com.github.johnrengelman.shadow 8.1.1
org.jetbrains.gradle.plugin.idea-ext 1.1.7
me.clip:placeholderapi 2.11.5
com.velocitypowered:velocity-api 3.1.1
org.spigotmc:spigot-api 1.20.4-R0.1-SNAPSHOT
com.github.Syrent:VelocityVanish 3.27.2
com.google.code.gson:gson 2.10.1
com.zaxxer:HikariCP 5.1.0
io.papermc:paperlib 1.0.8
org.bstats:bstats-bukkit 3.0.2
club.minnced:discord-webhooks 0.8.4
com.github.cryptomorin:XSeries 9.8.1
net.kyori:adventure-api 4.15.0
net.kyori:adventure-platform-bukkit 4.3.2
net.kyori:adventure-text-minimessage 4.15.0
com.jeff_media:SpigotUpdateChecker 3.0.3
com.velocitypowered:velocity-api 3.1.1
gradle/wrapper/gradle-wrapper.properties
gradle 8.5
Paper 1.20.4
3.3.0 b362
3.10.1
Cooldown time is increasing endlessly
Cooldown time should decrease so the player can report again after x seconds
Clean install, no modifications. Report a player and try to do it again.
No response
I just installed the plugin, using /report on anyone just returns "Player not found"
purpur 1.19.3
velocity lastets
3.7.1
Plugin 'VelocityReport 3.7.1' | HikariCP | com.zaxxer.hikari.HikariConfig
Note for advanced users: Understanding the consequences, you can minimize this warning by setting the system property libertybans.relocationbug.disablecheck to 'true'
These bugs are (most likely) due to other plugins' mistakes. Each of the following plugins has shaded a library but did not relocate it.
instals velocityreport + libertybans
No response
Throwing this error:
[00:56:56 ERROR]: Couldn't pass ProxyInitializeEvent to velocityreport
java.lang.NoClassDefFoundError: org/bukkit/configuration/file/FileConfiguration
at ir.syrent.velocityreport.spigot.storage.Settings.load(Settings.kt:35) ~[?:?]
at ir.syrent.velocityreport.spigot.storage.Settings.<clinit>(Settings.kt:31) ~[?:?]
at ir.syrent.velocityreport.VelocityReport.sendWarningMessage(VelocityReport.java:56) ~[?:?]
at ir.syrent.velocityreport.VelocityReport.onProxyInitialization(VelocityReport.java:52) ~[?:?]
at ir.syrent.velocityreport.Lmbda$15.execute(Unknown Source) ~[?:?]
at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:47) ~[server.jar:3.1.2-SNAPSHOT (git-7d77bfb5-b184)]
at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:598) ~[server.jar:3.1.2-SNAPSHOT (git-7d77bfb5-b184)]
at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:479) ~[server.jar:3.1.2-SNAPSHOT (git-7d77bfb5-b184)]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassNotFoundException: org.bukkit.configuration.file.FileConfiguration
at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass0(PluginClassLoader.java:84) ~[server.jar:3.1.2-SNAPSHOT (git-7d77bfb5-b184)]
at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:61) ~[server.jar:3.1.2-SNAPSHOT (git-7d77bfb5-b184)]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
... 11 more
However, the server is on Velocity (since it's showing a bukkit file configuration error) and the file is properly put into the Velocity plugins folder, config folders & file are not generating.
Velocity Version
[01:04:21 INFO]: Velocity 3.1.2-SNAPSHOT (git-7d77bfb5-b184)
[01:04:21 INFO]: Copyright 2018-2021 Velocity Contributors. Velocity is licensed under the terms of the GNU General Public License v3.
[01:04:21 INFO]: velocitypowered.com - GitHub
Spigot 1.12.2
N/A
N/A
Hey, can you please optimize your MySQL usage so it doesn't take performance.. the plugin is idle with 0 players online on the server and shows up on both timings and spark as the top consumer..
0% usage
Install the plugin and use MySQL
N/A
It seems that this plugin does not support custom languages and will be backed up and replaced with official language files.
Using: 3.10.5 on Minecraft 1.20.2
Paper 1.19.4 Build 490
Velocity 3.2.0 Build 247
3.8.0
I want to configurate the settings and language file but itsn't updating to new translated files. Can u add file structure like enchanced velocity? It will be easier for other developers and maybe it will be a solution to my problem.
These are the translated files
Step 1: Download the latest Velocity Report.
Step 2: Try to change settings.yml and en_US.yml of plugin.
Step 3: Save the changes.
Step 3: Restart your server.
No response
pufferfish 1.20.1
Velocity 3.3.0
3.3.0
So the bug is when i tried to report a player and its say (Player is not online) even tho he is online, and i just wondering if you can add a feature that we can report Offline players and it will be fixed
Working fine so we can find abuser/ hackers
Hmm i guess you need to make a feature that we can report offline players
Paper 1.20.4 Build 378
Velocity (1.20.4) 3.3.0-SNAPSHOT Build 316
3.10.4
On this version, I can only manage to send report with commands and op players
If I just do /report , the gui does not open and it just makes a sound
If I do /report blocks automine for example this will work but only for op admins, normal players with the normal permission will get an internal error red message like this :
It's supposed to open the book GUI to choose report or not give an error when sending full command
Step 1 : /report , will just give a sound and not open gui
Step 2 : /report blocks automine (for example) will send an internal error if player isnt op
Before my server was running on velocity 1.20.2 and paper 1.20.2 and it was working
Here is the full console error it gives
[14:56:23] [Server thread/INFO]: Bary issued server command: /report MrTroxy blocks automine
[14:56:23] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'report' in plugin VelocityReport v3.10.4
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:987) ~[paper-1.20.4.jar:git-Paper-378]
at org.bukkit.craftbukkit.v1_20_R3.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[paper-1.20.4.jar:git-Paper-378]
at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.2.9.jar:?]
at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:32) ~[paper-1.20.4.jar:git-Paper-378]
at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:19) ~[paper-1.20.4.jar:git-Paper-378]
at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[paper-1.20.4.jar:git-Paper-378]
at net.minecraft.commands.execution.CommandQueueEntry.a(CommandQueueEntry.java:5) ~[paper-1.20.4.jar:git-Paper-378]
at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:101) ~[paper-1.20.4.jar:git-Paper-378]
at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:435) ~[?:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:336) ~[?:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:323) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2234) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$16(ServerGamePacketListenerImpl.java:2194) ~[?:?]
at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.4.jar:git-Paper-378]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1458) ~[paper-1.20.4.jar:git-Paper-378]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:194) ~[paper-1.20.4.jar:git-Paper-378]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1435) ~[paper-1.20.4.jar:git-Paper-378]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1358) ~[paper-1.20.4.jar:git-Paper-378]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1336) ~[paper-1.20.4.jar:git-Paper-378]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1220) ~[paper-1.20.4.jar:git-Paper-378]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:321) ~[paper-1.20.4.jar:git-Paper-378]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.NumberFormatException: For input string: "114468,43"
at jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054) ~[?:?]
at jdk.internal.math.FloatingDecimal.parseFloat(FloatingDecimal.java:122) ~[?:?]
at java.lang.Float.parseFloat(Float.java:476) ~[?:?]
at ir.syrent.velocityreport.utils.ruom.utils.MilliCounter.get(MilliCounter.java:21) ~[VelocityReport.v3.10.4.jar:?]
at ir.syrent.velocityreport.spigot.command.report.ReportCommand.onExecute(ReportCommand.kt:316) ~[VelocityReport.v3.10.4.jar:?]
at ir.syrent.velocityreport.spigot.command.library.HandledCommand.handle(HandledCommand.kt:113) ~[VelocityReport.v3.10.4.jar:?]
at ir.syrent.velocityreport.spigot.command.library.PluginCommand.onCommand(PluginCommand.kt:49) ~[VelocityReport.v3.10.4.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
... 29 more
1.12.2
3.0.2
3.10.0
I run a pvp server and use ViaVersion but players who join with 1.7.10 client cannot use the report command as the book never opens, would it be possible to disable the book for them and only keep the command / make the report [player] redirect to the chat report command help message
book opens or the chat help message shows for typing /report [player]
report a player on 1.7.10
n/a
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.