CoreProtect

CoreProtect

1M Downloads

Make PreLogEvent cancellable

DerSimeon opened this issue ยท 8 comments

commented

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.

commented

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.

commented

That's actually the same thing for me. That would be very useful!

commented

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 :) ?

commented

Same for me. I also need it.

commented

Also need it, please add it if you can <3

commented

Absolute the same thing for me. I need it too! Add this please!๐Ÿ™

commented

Any update? This would be really useful.

commented

Implemented in 1a06e6a