spnda / BlockProt

Bukkit plugin to protect your chests, furnaces and more with a modern GUI approach.
https://www.spigotmc.org/resources/blockprot.87829/
GNU General Public License v3.0
37 stars 13 forks source link

[Feature]: Lock trapdoors and iron doors #295

Open Jaster-Master opened 1 month ago

Jaster-Master commented 1 month ago

Feature description

I wanted to ask if its possible to add the feature to lock wooden trapdoors. I have done this in plugins like LWC and I would love it to see it here. Also it would be cool to lock iron trapdoors and iron doors, but I think that is a bit more complicated to implement.

spnda commented 1 month ago

Trapdoors have been lockable for a while, but not by default. Look into config.yml and add each trapdoor under lockable_blocks.

The lockable_doors is only for actual doors which are made up of two blocks.

As for the iron doors... not possible I think. I'd need to detect what triggered a redstone signal, which would be a massive undertaking that cannot be done reliably imo.