PlayPro / CoreProtect

CoreProtect is a blazing fast data logging and anti-griefing tool for Minecraft servers.
Artistic License 2.0
651 stars 327 forks source link

Disable logging of useless blocks #444

Closed WarnDa closed 9 months ago

WarnDa commented 1 year ago

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

WarnDa commented 1 year ago

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

Intelli commented 9 months ago

Implemented in https://github.com/PlayPro/CoreProtect/commit/7c61a335714e25a7d7d17f143302c0ec9d2543c7