ethaniccc / Mockingbird

PocketMine-MP anticheat in development made for fun by @ethaniccc.
GNU General Public License v3.0
62 stars 15 forks source link

Question : How to do action on detection #145

Open benda95280 opened 3 years ago

benda95280 commented 3 years ago

Dear,

How it could be possible to do actions on detection ? (Like write in database some informations ...) It seems there is no events ?

Regards,

mmm545 commented 3 years ago

yes there isn't (there are logs but those aren't saved on disk iirc) you would probably want to edit the code yourself to save information in a database when a player fails a check

benda95280 commented 3 years ago

@mmm545 Thanks for the answer, should i work only here ? https://github.com/ethaniccc/Mockingbird/blob/acaf096b34f49a1792354e926324a19e8ab65b1c/src/ethaniccc/Mockingbird/detections/Detection.php#L119