Lumberjack
Don't you hate those big trees where you cannot reach those high blocks while standing on the ground. Trees should be felled like a boss, so take them down with Lumberjack while your feet are still touching the ground!
Lumberjack released!
What does Lumberjack do?
Lumberjack detects if a player destroys a wood block that is part of a tree. The highest wood block will be destroyed instead of the block that the player destroyed, unless it is the same block of course. Works for oak, birch and redwood trees!
No more annoying trees! Please support this project by leaving a comment with your thoughts on it!
Help it doesn't work!?
If you have downloaded this plugin and it doesn't seem to work for you, ensure the following things:
- download the latest craftbukkit server and Lumberjack
- is Lumberjack enabled? Type the following command to be sure:
- /lumberjack enable
- does the tree you are chopping meet the following requirements?
- is block you are chopping connected to the the complete trunk?
- is the base of the trunk (the lowermost block) placed on a dirt (without grass) block?
- is the trunk of the tree connected to at least 4 naturally grown leaf blocks?
- (versions before 1.0.1v1) If you have NoCheat enabled then make sure to set the following options (found by ace1177)
- blockbreak.reach.check = false
- blockbreak.direction.check = false
- blockbreak.noswing.check = false
Lumberjack commands
As of version 1.8.1v2, Lumberjack has 4 commands. The commands can be viewed by typing /lumberjack . Most of the commands can be combined e.g. /lumberjack enable silent . It is also possible to use the shorter versions of the options, the 'hotnames' e.g. /lumberjack e s . This has the same result as the previous command.
enable
description: enables Lumberjack
hotname: e
disable
description: disables Lumberjack
hotname: d
silent
description: hides most Lumberjack messages
hotname: s
normal
description: shows all Lumberjack messages
hotname: n
Future Features
I decided to create a page that enlists all the plans I have for Lumberjack. If you have suggestions or fresh new ideas, feel free to leave a comment on the plans page!
Supporting the author
If you use and /or like /dislike Lumberjack, then please let me know why and what changes you would like to see! It really motivates me to continue the development :)
If you are a really nice person, you know that it takes time to develop plugins and you are willing to drink a glass of milk instead of a milkshake to save a dollar, then you can donate that dollar here
@finallove2
Hey finallove, I understand your post. I'm trying to think of a good solution for this problem but I haven't found one.
However, the nice thing about Lumberjack is that you do not need tree farms. I used tree farms to limit the trees from growing too big. This isn't nessecary with Lumberjack because you can cut down those big trees just as easily! But that's just my opinion :)
Please add option that maximum range. When I woodcutting my tree farm. It is hard work!! From the upper part of the tree felling begins. All tree!! I am want to cutting one tree or 2,3 tree.
sorry. I'm using google translation. Would you understand my post? ;;;
[my tree farm] http://todaystory.net/image/3230/2012-01-30_17.04.22.png
By the way guys. I will have exams untill next wednesday. I will probably start working on the next update after that day ;D
@Zombiemold
Hmm that's actually a pretty good idea. I could make an option for that and maybe even make it the default. Thanks for the suggestion :)
@deazurain Fair enough, I actually thought of an alternate way to work with it. I might have someone code it.
How about this though: Could you make it so when the blocks are broken, they drop from the tree where they were broken?
The first thing I hear from ANYONE who joins the server is, "why can't I break trees? the block just comes back"
Something like this wouldn't change the functionality of the mod all that much, and would make it more apparent that the wood is broken.
@deazurain
To elaborate on T4LGoose's comment about damage values this also happens with axes themselves. If you hold down the mouse button while chopping, and the axe would normally break after a log, after the tree 'moves' down a block the axe is respawned with 1 health left again. ie. Your axe never breaks in the middle of a tree, it always breaks after the last log. The breaking animation is even shown for the axe every time it breaks.
Other than this minor bug excellent job, absolutely love it :)
@JoneKone
How do you imagine a blocky tree that falls? You cannot expect me to break the whole concept of a blocky world because I want the tree to fall realistically :P
@Zombiemold
Yes this has been mentioned before. Though because it has only been requested by you I haven't, to be honest, put a lot of effort in that. I will take the idea with me for the next update.
A mode to drop the tree down to its side..
fall a tree..
@deazurain
Not sure if I mentioned it before, is there any way you can have Lumberjack optionally replant a tree when it's finished? maybe even after a delay?
I would love to see a plugin that did this, and I am pretty sure that even if an external plugin did it, it might interfere with Lumberjack anyway, based on the way the wood falls and such.
I would love you forever, and be eternally greatful!
@Cayviel
Nice, but I'm wondering if this function only executes the action or does it generate a event as well? Does it reduce the durability of an item and does it work with enchantments? Those are a lot of questions I don't know the answer of :P and I think it's important to know what this piece of code does. I think the answers are: "only the action", "no" and "no" but I'm not sure.
Thanks a lot for suggesting this!
@deazurain Hey there! I thought this might be helpful. I found this on the internet somewhere (I have no idea where) and used it in my mod to make a block drop the appropriate item. To create a function that would make a chopped block drop what it originally was supposed to, the code went something like this: (you'll have to add the craftbukkit jar file into the file dependency list)
Hope it helps!
@T4LGoose
I already know this, but who chops wood with wool? I need to fix it i know but I dont know where I can find the 'original' an item gets used on a block and destroys it - event handeling
Strange bug. If you chop a tree log with an item that can change using damage values (wool, dyes, slabs, etc) the item will change. Kind of a big problem.
@deazurain
Thanks for update :) !
Can you add an update who add a flag in worldguard for disable the plugin in certain region ?
@Hoot215
<<reply 479153="">>
Works perfectly with all of the Block-Break settings enabled in NoCheat (Previously I had to disable some)!
YES! I have finally released an updated version of Lumberjack. It features compatibility with NoCheat, a little bit better weapon durability decreasing and the option to disable the welcome message.
I'd love to hear from your experiences and thanks for all the support!
Anybody tried the new NoCheat version with Lumberjack? How did it go?
@mike0fmikes
This has been requested before and since Lumberjack is this big already I can remove the startup messages now or at least make them optional.
@ace1177
I don't like floating trees...
You should add an option to get rid of the startup message when someone logs in. I like to keep my chat window as clear as possible; and for all plugins to be transparent until they are actually used. :) Which is why I hide my plugin list commands