How would I start to work on an anti cheat?

Status
This thread has been locked.

King Archie

Java Software Development
Banned
Feedback score
6
Posts
168
Reactions
45
Resources
0
Hi,

So I wanted to start working on an anticheat, but literally can't figure out how to check for things.

Can anyone give me a hand?

Cheers.
 
Banned forever. Reason: Ban Evading (Archie, https://builtbybit.com/members/archie.15314/)
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

lAkjtzAZ0

Deactivated
Feedback score
16
Posts
1,071
Reactions
1,013
Resources
0
Hi,

So I wanted to start working on an anticheat, but literally can't figure out how to check for things.

Can anyone give me a hand?

Cheers.
there are full bukkit and java api's as well as plenty of tutorials to get started
 

King Archie

Java Software Development
Banned
Feedback score
6
Posts
168
Reactions
45
Resources
0
I started work on my anti-cheat a few days ago.. I'd suggest firstly you create 3 utils so its an easier process in the future. I started by creating a MessageUtil which handles all alerts being sent taking in variables of the type of alert (Punishment or Notification), the player its sending the alert about, the cheat they are suspected of using, the amount of violations of this cheat and an optional variable to specify if its a punishment, what punishment it is.
I then created a PunishmentUtil which handles all punishments. I made it take in 4 variables, one optional. The variables were the player, the punishment (kick, ban etc), the cheat they were kicked for and the length of the punishment(optional).
Finally I created a ViolationUtil, I made it so you could have different violation levels for each hack, so you could have 10 killaura violations and 5 fly violations, helps with banning for the right cheat. This takes in 2 variables, the player and the hack they are using.

You can then go about checking for hacks using these as a base for alerting staff and punishing players. I'd start with things simple like speed(check potions etc), fastbreak and fly. I started with MultiAura which is pretty easy to detect, checking if the time between hitting entities is less than what it should be.
Thank you.
 
Banned forever. Reason: Ban Evading (Archie, https://builtbybit.com/members/archie.15314/)
Status
This thread has been locked.
Top