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
Update: My plugins are currently on hold while we wait for 1.3, since the 1.3 update will more than likely break large portions of most of my plugins! Sorry for the delay and please stay tuned for future releases.
the log blocks move down feature work how i want.its drop down but just 3 or 4 blocks long,and then there is just a hole in the trees.i want that the blocks move really down till its on the ground.
Not sure why my post never showed up, but here goes another try...
Zombiemold mentioned that this plugin works with worldguard, but in my testing I have found that players (no rank/priviliges) can 'pop' trees in protected regions... am I missing something?
I would love to humbly request 2 features that I feel are very much required.
1) Compatibility for job plugins. (There are several job plugins out there that listen for certain player break events in bukkit, and this plugin doesn't seem to throw them, making it so anyone who cuts down a tree with an exe, does not get paid via their job, for the action.)
2) Compatibility with McMMO Tree Feller ability. (McMMO is a very popular and well used plugin, that provides the player with the ability to nearly take down an entire tree with a few swings, and this plugin stops it completely.)
The now defunct plugin Lumberjack had both of these fixes, and I would be ecstatic if you were able to tackle these.
@ellbristow
I decided to try the plugin again, and I found out what I was doing wrong! It was on my end, not yours. XD
@FabiUnne
I'm not sure what benefit vault integration would provide? and PEX is compatible with the default SuperPerms setup so it should work fine if it has been correctly configured.
If you could start a ticket and give me some extra information about your configuration I will see if I can help.
@Invizibiz
I've moved your comment to a ticket. Please can you attach your config.yml and , if you are getting any console errors, please paste the error too.
Thanks.
it works perfectly even with jungle trees :)
Tested the new version, glad to see such a well coded plugin.
Towny and Worldguard protection seem to hold even with this plugin enabled, which is not something I can say for any of these other tree chopping plugins.
One request though. Would love to see Jungle tree support, these guys are the worst when it comes to floating trees XD
v2.1.0 has just been uploaded pending verification.
This build hopefully addresses the few niggly bugs that were left in in 2.0, including permissions nodes and commands not working properly. Let me know if any bugs still remain.
IMPORTANT This build now uses a config.yml file rather than choptree.properties. Servers updating from 2.0 or before will need to reset their configuration by editing the config,yml file or by using the in-game /choptree toggle [option] command
Hey, could you implement the Vault API, or the PEX API??? My Server runs with the PermissionsEX Plugin. I want to setup the ChopTree Permissions for User and VIPs, but i can't remove the Plugin for User.
(sry for my bad english, i'm a german developer)
very nice one, running into permission-related problems however. it doesn't seem to support permissionsbukkit, at least not running cb1.2.3. as of now i seem to have to be op to be able to use it at all, even with set permissions.
AWESOME!!
Good job!