stonar96 / RayTraceAntiXray

Paper plugin for server-side async multithreaded ray tracing to hide ores that are exposed to air using Paper Anti-Xray engine-mode 1.
MIT License
128 stars 26 forks source link

[Feature Request] Replace ProtocolLib with packetevents #22

Closed R00tB33rMan closed 7 months ago

R00tB33rMan commented 7 months ago

Effectively, as the title states. Although this plugin performs substantially well compared to alternatives, utilizing packetevents would dramatically improve its performance. Although I expect this to be difficult/tedious, it'd likely incentivize more users to utilize this resource on more extensive production networks that exceed 300 concurrent players on a single instance.

stonar96 commented 7 months ago

Hi @R00tB33rMan I've once attempted this. The problem was that I wasn't able to get the original NMS packet instance from their API, which I need for reference equality checks in RayTraceAntiXray. If someone finds a simple solution to this problem, feel free to contribute.

See also https://github.com/retrooper/packetevents/issues/489