Posted January 10, 2022 by TinyPlay Games
#documentation #tutorial #cheat #anti-cheat #unity #security #guard #mobile #pc #free #library
Pixel Anti-Cheat includes a large set of different features, most of which can work in automatic mode without any modification and are activated by a couple of lines of code.
Keep in mind that trusting the client to work with data is always a risk, and no anti-cheat will save you from data spoofing, but it will make it much harder for the cheater to do so. If you want to make a safe application, only work with data on the server and only use the client to display the result.
Pixel Anti-Cheat includes:
Cheatin Detection Modules:
Secured Base Types:
Additional Modules:
In order to start working with automatic detection modules, you must initialize them.
The initialization is done as follows:
AntiCheat.Instance().AddDetector<MemoryHackDetector>().InitializeAllDetectors();
You can also initialize all modules at once:
AntiCheat.Instance().AddDetector<MemoryHackDetector>().AddDetector<InjectionDetector>().AddDetector<SpeedHackDetector>().AddDetector<WallHackDetector>().AddDetector<TeleportDetector>().AddDetector<TimeHackDetector>().InitializeAllDetectors();
Don't forget that some modules have parameters:
AntiCheat.Instance().AddDetector<SpeedHackDetector>(new SpeedhackDetectorConfig(){ coolDown = 30 }).InitializeAllDetectors();
And What's all for basic usage!
Need more information? Read full documentation here.