CoreProtect

CoreProtect

1M Downloads

Disable logging of useless blocks

WarnDa opened this issue ยท 2 comments

commented

Hello,
I'm using coreprotect only to log stealing abuse, item stealing, and protection against block place/break on quests.
But coreprotect is loggin every block that player place/break, so if he is mining during 1hr, it will adds a lot of useless block loggin, and also as it's doing big mysql requests each time, it creates iowait..

In the blacklist.txt, we can only logs "non player actions", and I already tried to set some blocks inside but it still logs when I place or break them.
image

commented

Here are the quantity of requests it does to the database, and it creates iowait up to 3% (I'm getting 13900K and samsung 990 PRO NVME ssd)
image

commented

Implemented in 7c61a33