How to Develop a Minecraft Anti cheat for Payback against Hackers (Lag Compensation + Phase Checks)

preview_player
Показать описание
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.
Рекомендации по теме
Комментарии
Автор

If the fly check uses the "onGround" data in a packet it can be edited by a client cheat.

nopfp
Автор

I enjoyed this video. I just discovered it!

retrooper
Автор

just saying if you ping spoof like 100k then your anticheat just wouldnt flag. gotta add a different type of lag compensation

justskillnoban
Автор

Hey ist there any way to contact you?
Im currently planing to create also an anti cheat & could really need the help of somebody with a bit of experience (i dont need help in coding, more like where to start, how can i figure out the usefull stuff -> find other communites etc)

niklasholl
Автор

This was a really interesting video, thanks!

atalfed
Автор

dont bother with start and stop sprinting and sneaking

IceecreamLover
Автор

I'll test your anticheat. I have a REALLY good config

Blxxy
Автор

Im gonna test with my own client just to see

wouf_
Автор

wdym packet based are good the real good stuff is prediction based ac

combatdude
Автор

Your messages are off and I want to test your ac so I sent a friend request

kittenpixl
Автор

I had to revisit this video ask you if I can test your anticheat? + I kind of wanna learn how to make one I know a little bit but I would like to help tested or heck even code it

TawnyE
Автор

Yeah I wanna see more videos of this I like it

TawnyE
Автор

If you need a Java developer for any plugins shout me

mycraftlegit
Автор

Hey dude, I have subscribed to you in 2015, You don't have the same voice

Anisou