Events
All events are in dev.technotypist.mcanticheat.api.event. They fire on the server thread.
| Event | Fired | Cancel does |
|---|---|---|
ViolationEvent | For every flag. Gives the player, check id, category, reason, violation level and whether it is dry run. | Drops the flag: nothing is stored, alerted or punished. |
PunishEvent | Before an action runs: setback, kick, wave, ban, tempban, cmd, monitor. | Skips that action. |
ClientFlaggedEvent | When the join gate ends with anything but "admit". Gives risk score, decision and the signal lines. | Admits the player without the planned action. |
CaseCreateEvent | After a case is opened, by staff or by the automatic rule. | Not cancellable. |