Marcelektro / Minecraft-PlayerCrasher

A Minecraft plugin allowing user to crash other players using big packet values hehe
11 stars 1 forks source link

Does not support MC Version 1.17+ #2

Open unrushed opened 7 months ago

Bram1903 commented 5 months ago

Hey @Marcelektro,

Perhaps it's a good idea to implement a library like PacketEvents, as it will make your life much much easier when writing new crasher methods, and or support a wide variety of versions.

Take a look at my player crasher for example: https://github.com/Bram1903/MinecraftPlayerCrasher It supports Bukkit [1.8-1.21], Folia, and proxy platforms like Velocity, Bungeecord, and Waterfall.

If you don't want to use any sort of Packet Library I would also suggest you cache the reflections you are making, as those are quite heavy to perform, and most of them can be initialized once upon startup, rather than having to be re-performed each call.

Kind regards, Bram