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
Anti jungle-tree pls?
Permissions?
Hi, please could you rewrite this for Forge? There's currently not Forge mod that lets you chop down a tree block by block from the bottom.
thanks!
Anyone help... I have this working on my own server and it works fine with me, however my friend can't use this. It's not working at all for him :/ Do I need to give him permission?
I feel like such a fool not being able to figure this out. So I saw a post saying you had to give permissions or something for this so I tried permissions programs and it was useless. Active by Default is set to true still nothing. I downloaded PermissionsBukkit and i don't understand why this stuff is so hard to get working.I gave myself permission for this yet it still doesn't work I absolutely do not understand this permissions stuff because it simply will not work. Is there anyway to get a default simple easy system. I am admin I get everything. Another group gets the permissions they normally get for not being the server owner. How hard is this to ask. I have default group but neither I nor the group I assign the choptree.chop: true can get this to work without being op. Super frustrating and I am about to just give up on plugins all together.
is there a way to plant saplling after the tree was chopped??
love this plugin ...chopping wood has never been so easy...and no more floating tree's grtz amkiller
@Zubluya
The Timber mod
Hi,
I had a custom version of ChopTree once that would require an axe, and remove an equivalent number of charges from that axe (up to the number of charges that the axe had). I suppose now it would also have to account for Unbreaking enchant.
Might be something worth adding to this one.
Does anyone know of a singleplayer alternative to this?
@ellbristow
That's probably what I'm going to go with, but it would be nice to have a more realistic system if its possible. I was thinking of using this in combination with the Extra Hard Mode plugin, one of its features being making stone much harder to break, I would like to do similar with logs, along with having more realistic tree-collapse.
@daveralph1234
have you tried the LogsMoveDown option? The process is not 100% bug free.. but it does allow chopping from the bottom without bypassing the time it takes to chop a tree.
Could you make it so that logs take much longer to break (configurable)? I really like the idea of trees breaking from the bottom but don't want wood gathering to be ridiculously easy. Bonus points if you can make it so that the taller the tree is (the more connected logs), the longer it takes to break the log supporting it.
plugin ever! Please make possible to grant the right of felling with one blow VIP players, and everyone else on the chopping block.
Yeah, and when broken ax chop down big trees not fully residues remain on top. We have to do that at the top of the tree first rubilos provided cuttings with one blow.
@NobMapster
You can customise what tools can chop trees in the config file
@Brightside28
Have you given your players the choptree.chop permission?
Does NOT work for anyone else than server admins (ops)
Is it possible to allow only the diamond axe to chop the entire tree, but allow all other axes to be used to move logs down?
I've just uploaded v2.2.2 (pending approval). HOPEFULLY this version should fix the problems people have been having with WorldGuard/Towny/Res regions being bypassed by ChopTree2.
Thanks go to the Towny community for giving me some pointers on how to fix this!
If it has not fixed it I'm running out of ideas!
I have a theory about how to fix this. It should be addressed in the next release.
Unfortunately, worldguard does not protect trees when using your plugin.
@mima19
Put this in the Plugins config file in place of the existing code there
WOOD_AXE,STONE_AXE,IRON_AXE,GOLD_AXE,DIAMOND_AXE,X30233,X1284,X1285,X1286,X30199
should work .. i found it on another page of a different website.