Use one of the axes in the game to cut down the bottom block of a tree, and the rest of the tree will be destroyed as well. Will be updating as I add more to the plugin. Very basic right now. Open to suggestions.
-----
Requirements for activating the event:
- One of the 5 default axes must be used
- The block broken must be a log
- The block below the target log must be dirt or grass
The Lumberjack effect can be turned on and off using "/lumberjack"
-----
Permissions:
- lumberjack.toggle <- Gives access to the /lumberjack command
-----
To-Do List:
- Add axe damage support
- Remove hard coded axe list and read axe list from config instead
- Add ability to destroy attached leaves
- Figure out why the /reload command causes the plugin to break down for users on the server
- Most likely related to the player not having an "onJoin" entry in the HashMap when the server reloads and the old HashMap is dumped
- Add config option to auto-plant a sapling where the tree was
- Split plugin into multiple class files for organizational purposes
- Check if logs are attached to leaves with decay data. Refuse to cut down whole tree if they're not.
-----
Source Code: https://github.com/ASchneider-GitHub/Lumberjack

