Made PreLogEvent cancellable (implements #325)

This commit is contained in:
Intelli 2023-07-13 17:55:00 -06:00
parent e7a6f21d88
commit 1a06e6a6bf
11 changed files with 84 additions and 11 deletions

View file

@ -120,11 +120,12 @@ void performPurge(int time)
#### CoreProtectPreLogEvent
Fired when a CoreProtect logger is about to log an action. Not cancellable.
Fired when a CoreProtect logger is about to log an action. Cancellable.
| Property | Description | Mutable |
| --- | --- | --- |
| User | The name of the user under which this action will be logged. | Yes |
| Cancelled | If cancelled, the action won't be logged to the database. | Yes |
---