ChopTree2
This is a continuation of the very popular but sadly inactive ChopTree plugin by Iso_1. This new version started as a copy of the old one, but has been updated to fit the newer API. I have done what I can to bring this excellent plugin back to life.
2.1+ UPDATE NOTICE: To clean up the code and make the plugin a little more efficient I have removed the .properties files and replaced them with .yml equivalents. Anyone using 2.0 or before will need to reset their settings (which can be done in game using the /choptree toggle {option} command).
What Is ChopTree
ChopTree is a simple plugin, that lets Trees act like cacti. (Chop the bottom block to pop the whole tree)
This plugin is originally coded by askmeaboutlo0m. (Iso_1) kept it updated up to the 1.0.1 Craftbukkit build and removed some errors. Since 1.2 the plugin is now managed by ellbristow.
Please give me feedback and make suggestions for any features you would like.
Features
- Lets trees act like cacti - remove a block and all blocks above are yieled too.
- Alternatively you can make that log blocks move down one by one instead - no more climbing trees.
- Option to pop Leaves when the tree pops (or to bring them down with the logs if using the move down feature)
- Works with all tree types (they all yeild their own wood and saplings).
- Also works with "big" trees that have multiple branches - makes felling them a lot easier.
- Restrict using this plugin to certain tools only.
- Only works on trees, houses made of logs are safe!
Installation
- Copy the .jar to your plugins folder
- Restart your server/plugins
- Edit the config.yml file to your liking (It's self explanatory)
- Restart again
- Enjoy (Important step!)
Commands
/choptee : Main plugin command for all settings etc (Alias /ct)
/togglechop: Turn ChopTree on and off (Alias /tc)
Permissions
- choptree.*: Can chop and use all commands
- choptree.chop: Player can chop trees in one chop
- choptree.commands.*: Access to all commands
- choptree.commands.choptree.*: Access to all admin commands
- choptree.commands.choptree.info: Access to /choptree
- choptree.commands.choptree.reload: Access to /choptree reload
- choptree.commands.choptree.toggle.*: Can toggle all choptree settings
- choptree.commands.choptree.toggle.activebydefault: Can toggle this setting
- choptree.commands.choptree.toggle.useanything: Can toggle this setting
- choptree.commands.choptree.toggle.moredamagetotools: Can toggle this setting
- choptree.commands.choptree.toggle.interruptiftoolbreaks: Can toggle this setting
- choptree.commands.choptree.toggle.logsmovedown: Can toggle this setting
- choptree.commands.choptree.toggle.onlytrees: Can toggle this setting
- choptree.commands.choptree.toggle.leaves: Can toggle this setting
- choptree.commands.togglechop: Access to /togglechop
@OfficialK4G
Awesome, thanks. Added to the description. LOOK! You're famous! :)
@ellbristow
My bad sorry bro here is the link ;) http://www.youtube.com/watch?v=jdnpC_Y-6lk&feature=plcp
@jakesta14
The config is saving fine for all my tests. Could you be a bit more specific as to what is not saving please?
@OfficialK4G
Video does not exist :(
The Config File Does Not Save, I have tried Everything...Please fix as logs get stuck in leaves and i need to change the move logs down in the setting..
Hey ellbristow, we liked your plugin so we made a video tutorial and showcase on it, here it is http://www.youtube.com/watch?v=jdnpC_Y-6l hope you like it ;) use it on the page if you want and thanks for updating and working on this plugin!
@Pbrew85
You can use the old permissions. choptree.chop seems to work...
since you removed the permissions nodes it does not work for any players except admins
I am using "Alternatively you can make that log blocks move down one by one instead - no more climbing trees." this mode and I think this does not work well with jungle trees.. It works at first but it does not move down later.
Choptree seems to be bypassing Towny. Like people can come in from another town and decimate all the trees in another town as this just lets them break one block and poof tree is gone. Is there away to fix this?
I have a special/unusual request.
Can you provide a Forge port for normal minecraft? I use several mods that require normal (non-bukkit) minecraft, so a bukkit plugin is of no use to me.
I was using ChopTree2 back in 125. But now we're using Mystcraft, and a few bug fixing mods, so bukkit is out.
The /togglechop command doesn't seem to be working for my players. They do have the permission, but no notification is given when the command is used, and the trees still come down with one block. Any idea whats going on?
@skinner927
even adding this to my empty permissions.yml , I still can't chop trees with the plugin unless I am op. This is a BIG turn off, tbh as the plugin does exactly what I want for my users.
Made a suggestion to slow down the time to cut trees. Filed as ticket! Thanks for considering!
I just uploaded v2.2.0 of ChopTree !! It's been a while I know, but the wait is worth it (I think).
This new version has fixed a lot of the niggling bugs (like the config reload bug) and has introduced an important new feature:
PopLeaves
You can now set ChopTree to "prune" the leaves when you pop the tree. Any leaves within a (configurable) radius of the popping log will also pop (dropping saplings as normal).
If you have the LogsMoveDown option activated, the leaves at the top of the tree will descend along with the logs, until the reach ground level, at which point they will start to pop at ground level. The calculation is not perfect, and there are a few leave that can get left behind or dragged along by mistake.... but that would happen in a real forest wouldn't it? :)
Please post any bugs and suggestions as tickets (rather than as comments here) and I will take a look at them. Also, feel free to comment on existing tickets as I'd like to know how important the issues are before I spend ages trying to fix them.
Enjoy!
Hey, love your plugin, just one small problem... When I make an awesome build, like a treehouse and I res it, they can still chop it down! I'm am hoping you can make it res compatible so they cannot chop a tree down inside of it, Please n' Thanks!
@skinner927
Do I just copy paste that and add the username of the person? And leave the group and permissions blank?
Awesome plugin, used to use it on our server, till the plugin went dead.
Anyway, does this work with 1.3.1? if so, awesome.
Next up, any chance of an auto-replant feature? however, it shouldn't be able to auto-replant without first having a sapling sitting on the ground.
This plugin works,
You need to give everyone permissions in your permissions.yml file or else they can't chop trees.
@thatantihero
Found same problem...Also is it comptiable with tekkit tools? (if I add them like Saphire_axe?)