Description
Is your feature request related to a problem? Please describe.
Kinda,
The plugin does not differentiate between a house (generated or built) and a tree. This means with one mis-swing of an axe an entire building may come crumbling down.
Describe the solution you'd like
The plugin could look at connected blocks to determine if it is a house or a tree by looking to see if a connected block is a form of cobble, plank, brick, door, glass, etc
If these blocks are detected an axe would only break a single block, regardless if the player is sneaking or not.
This feature could be enable or disabled with a simple true/false in the config.
Detect Buildings = 'true'
AND/OR
The plugin could possibly do this task in another manner, by looking to see if there are leaves attached to the wood column. Going this route might also open the possibility to allow the leaves to break with the rest of the tree as well. There are older datapacks that do this. When a tree is felled they then drop the saplings, sticks, apples, etc as drops along with the wood.
OR
The solution could be more complex and allow the server admin to be responsible for inputing the types of blocks to look for, additionally this list could be flagged as either a whitelist or blacklist allowing the configuration to be created one way or the other.
Describe alternatives you've considered
Additional context
Add any other context or screenshots about the feature request here.