Make PreLogEvent cancellable
DerSimeon opened this issue ยท 8 comments
Hey,
currently, it is not possible to run custom checks in order to prevent a certain log from happening.
On our Server, we need to sometimes disable logging for specific players, which as of right now is not possible.
Whether this is due to the fact that the implementation is incomplete or the huge performance impact a constant check of for example Permission would be.
We need to be able to check if a player is in a specific ArrayList, and if so cancel the event to prevent the Log from being saved.
Since the API currently has no support for this, we would like to either get a suggestion for an alternative implementation or suggestions on properly implementing the cancellable PreLogEvent.
Same for me. I have some custom features on my server like stone generators, which are clogging my CO databases. I'd like to implement additional checks for my own, as its not possible to disable block logging in blacklist.txt rn.
Hey, i found this suggestion: I need it!
Should be implemented without big difficulties, so please add this zu CoreProtect!
@erxson could you add this :) ?
Implemented in 1a06e6a