filmov
tv
How to Develop a Minecraft Anti cheat for Payback against Hackers (Lag Compensation + Phase Checks)
Показать описание
I caught this player cheating on my Minecraft server. He was using phase cheats to bypass my factions servers anti cheat! Since I am also a Minecraft plugin developer I decided my best course of action was to develop my own Minecraft anti cheat! If you have any questions or comments about anything I would be happy to answer them in the comment section bellow!
He HACKED on my Minecraft Server here is how I Responded...
⏱️TIMESTAMPS⏱️
0:00 Intro
0:34 Minecraft's Code Gives Me Nightmare's!
1:44 Why Anti Cheats Should Be Packet Based
3:03 Lag Compensation
5:46 Phase Detection
⭐️Factions Server Ip- Play.FortifiedPvP.com
🔔Do not forget to subscribe and turn on the bell notification!
🆕How I started making an Anti Cheat🆕
Before I started working on my anti cheat I only had a little over a year of programming experience and only half a year experience in programming Minecraft plugins. However I was very interested in learning more so I took the time to learn about mulit-threading and then read up a lot on Minecraft protocol, read through Minecraft's code, and I asked a lot of questions.
🐱💻Anti Cheat Info🐱💻
My anti cheat is far from done however its good enough to be useable as the only anti cheat on my main factions server. Anyone who cheats on my server will be banned so if you want to test it out please message me on discord (you can join my discord link and then message me from there). Most of my time was spent lag compensating the world and perfecting my teleport exemption and ground detection (I only use Minecraft's basic math formula to detect ground for some checks). I also already made a bunch of bad packets and server crasher checks / preventions. Also just to reiterate my self most of the examples I provided in my video are idealized since explaining all the nuances would take many hours and a weeks worth of video editing.
✉PacketEvents✉
If you are interested in making a Minecraft plugin at the packet level then use the links bellow. PacketEvents will be dropping support for its 1.0 version so I suggest using the 2.0 version. However since its not finished yet you can download it here.
If you have any questions you can join their discord here.
Here is their spigot page which currently only contains their old plugin version.
He HACKED on my Minecraft Server here is how I Responded...
⏱️TIMESTAMPS⏱️
0:00 Intro
0:34 Minecraft's Code Gives Me Nightmare's!
1:44 Why Anti Cheats Should Be Packet Based
3:03 Lag Compensation
5:46 Phase Detection
⭐️Factions Server Ip- Play.FortifiedPvP.com
🔔Do not forget to subscribe and turn on the bell notification!
🆕How I started making an Anti Cheat🆕
Before I started working on my anti cheat I only had a little over a year of programming experience and only half a year experience in programming Minecraft plugins. However I was very interested in learning more so I took the time to learn about mulit-threading and then read up a lot on Minecraft protocol, read through Minecraft's code, and I asked a lot of questions.
🐱💻Anti Cheat Info🐱💻
My anti cheat is far from done however its good enough to be useable as the only anti cheat on my main factions server. Anyone who cheats on my server will be banned so if you want to test it out please message me on discord (you can join my discord link and then message me from there). Most of my time was spent lag compensating the world and perfecting my teleport exemption and ground detection (I only use Minecraft's basic math formula to detect ground for some checks). I also already made a bunch of bad packets and server crasher checks / preventions. Also just to reiterate my self most of the examples I provided in my video are idealized since explaining all the nuances would take many hours and a weeks worth of video editing.
✉PacketEvents✉
If you are interested in making a Minecraft plugin at the packet level then use the links bellow. PacketEvents will be dropping support for its 1.0 version so I suggest using the 2.0 version. However since its not finished yet you can download it here.
If you have any questions you can join their discord here.
Here is their spigot page which currently only contains their old plugin version.
Комментарии