The plugin is completely useless. The packet checks simply repeat checks from other anti-cheats. The only real scaffold check is very easy to bypass. The checks may false flag players for poor Internet connection. The plugin doesn't have a config and does not support 1.20 so I had to build the project to test it.
Certainly doesn't look bad from the source code, but I do have some suggestions.
1. Duplicate Code.
Your PacketUtil is mostly useless. PacketEvents includes the WrapperPlayClientPlayerFlying wrapper, which almost entirely recreates these functions. You can use the WrapperPlayClientPlayerFlying.isFlying function to figure out if its a flying packet, and you can use the generic WrapperPlayClientPlayerFlying wrapper to handle all flying packets.
2. Potential false flags (I have not tested)
I'd recommend checking the following things:
- Teleport to yourself. This will force you to send a duplicate position and rotation of what you're currently at, meaning that you will trigger the BadPacketsB check.
- Use cinematic mode. You can bind it in controls, it will most likely false flag your AimA check.
- WorldGuard protect a region and try continuously placing against a block. With WorldGuard continuously removing the block you place, you will be able to perfectly place a block in the same exact cursor position as you did previously - flagging ScaffoldB.
Hi! Thanks for the review!
I will try to fix these issues and see if these false! I think I can fix the scaffold false (if existent) by not counting the same block position!
new version which i’ll release soon should fix the issues, can’t do rn due to computer issues. if you know a way to check for cinematic mode hmu, otherwise i’m just removing aim check.
Teleport has been fixed and it also falsed timer which i now fixed as well.
i’ll also check minecraft code later to see if i could find a way to false stuff
Version: v1.1
Thank you for this amazing software, It saved my server from being backdoored by the verus disabler botnet hacker, they were almost in the firewall but the plugin saved myu server, thank you so much