ChopTree
ChopTree
ChopTree is a simnple plugin, that let Trees act like cacti.
This plugin is originally coded by askmeaboutlo0m. I only updated it for the newest Craftbukkit build and removed some errors.
Tested with CB 1.0.1-R1
Supports: Permissions v. 2.7.4 (Phoenix) and mcMMO v. 1.2.07
Please give me feedback and make suggestions what features you would like.
Features:
- Lets trees act like cacti - remove a block and all blocks above are yieled too.
- Or you can make that log blocks move down one by one instead - no more climbing trees.
- Works with all three tree types (they all yeild their own wood).
- Also works with "big" trees that have multiple branches - makes felling them a lot easier.
- Restrict using this plugin to certain tools only.
- Supports mcMMO and Permissions.
- Only works on trees, houses made of logs are safe!
- Chunk protection to make your tree houses safe.
known issues:
- Mcmmo-support is NOT working yet - working on it
Default ChopTree.properties
# -ChopTree Properties- # You can add or change the command and toggle command aliases here. # Because of technical limitations the console commands will always be "ChopTree" and "ct", but the in-game comments will be taken from here. Command = ChopTree, ct Toggle = ToggleChop, tc # Here you can change the options (can also be done in-game). ActiveByDefault = true UseAnything = true MoreDamageToTools = false InterruptIfToolBreaks = false SupportMcmmoIfAvailable = false TreeFellerNeeded = false LogsMoveDown = false OnlyTrees = true EnableOverride = false # -Material List- # If the "UseAnything" option is false, the plugin will take the items you can use to chop trees with from here. # You can either put in the material's name or its ID. mat = WOOD_AXE mat = STONE_AXE mat = IRON_AXE mat = GOLD_AXE mat = DIAMOND_AXE
nice plugin, really like it - as far as i could test it (and b4 the server crashed) with the same errors as posted by previous posters.
will keep an eye on it, so keep up the good work and hopefully you will find the bug :)
@RustyDagger
made it
@sadtaco
@maxumx
@wooperjm
@nedercraft
I know that it is a BIG Error but I really don't know how to fix it.. But I can sy, that I will work on this problem
Same as wooper JM.
Same issue here as @maxmux and @sadtaco:
08:23:29 [SEVERE] Could not pass event BLOCK_BREAK to ChopTree java.lang.Error: Unresolved compilation problem: The field ItemStack.damage is not visible
at me.Iso.ChopTree.ChopTreeBlockListener.updateInventory(ChopTreeBlockListener.java:108) at me.Iso.ChopTree.ChopTreeBlockListener.Chop(ChopTreeBlockListener.java:88) at me.Iso.ChopTree.ChopTreeBlockListener.onBlockBreak(ChopTreeBlockListener.java:59) at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:534) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:201) at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:165) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:500) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:161) at net.minecraft.server.Packet14BlockDig.a(SourceFile:43) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:501) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
Users love the plugin, but I'm concerned about the errors.
Thanks!
You should use dot points for the permissions and maybe bold the node its self its hell hard to read as it is,
I'm also getting this error: "02:35:44 [SEVERE] Could not pass event BLOCK_BREAK to ChopTree............"
Will be keeping an eye on ya. we've use this plugin a long time. would like to reinstate it. all my players are crying..:P
@sadtaco
Ok. I will fix it.
This always happens upon destroying a tree block.
Also the "Or you can make that log blocks move down one by one instead - no more climbing trees." which I'd prefer to use doesn't work.
LogsMoveDown = false and LogsMoveDown = true behaves the same.
I'd love the plugin, if these things are fixed.