BlockLocker icon indicating copy to clipboard operation
BlockLocker copied to clipboard

[bug] vanilla bedrock breaking method can break sign protection

Open cgw2023 opened this issue 1 year ago • 2 comments

players report that when they use bedrock breaking vanilla mechanism, Can also break blocklocker signs. folia 1.20.2

video link: https://cdn.discordapp.com/attachments/1184112539160825917/1187795476725108816/Minecraft__1.20.1_-__2023-12-23_00-32-48.mp4?ex=65982fbd&is=6585babd&hm=111fe6fb15f5d999d48cfc153363fa955a5b45474d72fe59db85a71fccd7aee4&

cgw2023 avatar Dec 26 '23 00:12 cgw2023

block locker 1.12.1snapshot*

cgw2023 avatar Dec 26 '23 00:12 cgw2023

Thanks, but I'm not really sure how to prevent this. Normally, the server checks whether all blocks can be removed before actually removing them, which is what prevents bedrock from breaking. BlockLocker hooks into this mechanism (through the EntityExplodeEvent) to prevent protected blocks from being blown up.

If you're running Paper, you can go to the config folder, open up the paper-global.yml file and set allow-permanent-block-break-exploits to false. That should fix this issue (and will also disable bedrock breaking).

Do you maybe know of any protection plugins that don't allow this hack? Then I can look at their source code, and see how they manage to work around this exploit.

rutgerkok avatar Dec 29 '23 13:12 rutgerkok