Inactive [MECH/EDIT] LyTreeHelper v2.5.1 - LyTreeHelper 3 is coming!

Discussion in 'Inactive/Unsupported Plugins' started by DarkLiKally, Mar 7, 2011.

  1. Offline


    LyTreeHelper v2.5.1 - LyTreeHelper 3 is coming!

    LyTreeHelper is now on BukkitDev!

    I've started developing version 3 of LyTreeHelper.
    I will rewrite the whole project and add some really cool new features! :)

    If you're interested in helping me out developing this plugin, please contact me ;).

    You can find the new changes and the whole changelog for 3.0 on github (Link below).

    I've found back to the bukkit forum after a long stressful time and have read the many requests for an update of LyTreeHelper.
    So I decided to try to update (maybe rewrite?) LyTreeHelper, but I can't do it alone. I need some help.

    If you want to take part in the development process of LyTreeHelper, please let me know.
    If you have no programming knowledge, you can just make feature suggestions, just post them in this thread or create a ticket on Github.

    Thank you for your support, help and for using my plugin.

    Planned for LyTreeHelper 3:
    (Under Progress - Maybe 70 % done) - Rewrite the whole plugin
    (60 % Done) - Custom world populator (add custom trees saved in the MCEdit schematic format and insert them only in specific biomes, e.g. palms on beaches)
    (Done) - New simple and highly configurable configurations system
    (Done)- Enhanced permissions system (using Vault, same for economy)
    - Some more developers? :) I can't do it alone, because I've only a few hours in the evening to develop
    (Done) - Switch to Maven

    Download the latest version of LyTreeHelper from (02/06/2011 16:46 GMT +1)
    (Or this direct link)

    LyTreeHelper Features

    • Custom drop features - LyTreeHelper lets you add custom drops to leaves (Maybe, sticks? :) )
    • Full customizable drop system - Adjust the drop chances for each drop (apples, golden apples, leaves, saplings, ...)
    • Timed apple drops - Apples falling from trees? Yes, you can have this feature ;)
    • Easy to handle multiworld-support - Each world has it's own configuration file, which settings overrides the global settings, so you can setup LyTreeHelper for each world with your custom settings
    • Tree destruction - Cut that damn trees by destroying the ground connection
    • Powerful forest and tree generator - LyTreeHelper comes with a powerful great generator for forests and trees, you can generate every kind of tree or forest in minecraft
    • Full permission support - You can use each permission system which is supported by Vault (
    • Full economy support - You can use any economy system supported by Vault (, so let your members pay for destructing trees at one hit
    • Custom world populator - LyTreeHelper's powerful world populator uses MCEdit schematic files to populate your world(s) with custom trees, e.g. palms, only in specific biomes (e.g. palms on beaches)
    • Mob Spawn in trees after destruction - Harvesting whole trees by removing the ground connection is great, but too easy? Let creatures spawn inside the chopped tree

    Github repository:

    You can find the changelog on github, simply open CHANGELOG.txt.

    Having Trouble?

    Use the Issure Tracker on Github.
    Hiramas, Phaedrus and Flobi like this.
  2. Offline


    I will take a look at the settings and test it :) If it is a bug, it will be fixed in 2.1 (release friday or saturday). I will tell you my test results

    Thank you for the report :)
    I will fix it in 2.1

    I've tested the options with the same as D2S4L1T2
    enable-leaves-decay: on
    enable-faster-decay: on
    enable-faster-leave-destruction: off
    enable-full-tree-destruction: on
    enable-full-wood-destruction: off
    max-tree-size: 1800
    full-destruction-tools: [286]
    harvest-tools: [294]
    apple-drop-chance: 100.0
    I've set the apple drop chance to 100 % for test reasons ;) to see if the harvest tool is working.

    For me all options are working fine. The trees are only destroyed completly if the ground connection is lost, I use the destruction otol(286 = gold axe) and alls wood is removed from the tree (because full wood destruction is off), decay and faster devay works fine too.
    I can only harvest apples, leave blocks, ... if i use the gold hoe.
  3. Offline


    Can a small change be added so permissions is optional?
  4. Offline


    Yes ;) I think it will now work without permissions too ;) I've added a try-block to the permissions check, I can't test it at the moment but i think it will work without permissions.
  5. Offline


    using this on my server :) can you use a static download link or submit this to CB update so that it can automatically be updated, thanks.
  6. Offline


    I tried 2.1 and get this error with every block I chop. Error and Config shown.

    [SEVERE] java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    [SEVERE]     at net.darklikally.LyTreeHelper.LyTreeHelperPlugin.hasPermission(
    [SEVERE]     at net.darklikally.LyTreeHelper.LyTreeHelperBlockListener.onBlockDamage(
    [SEVERE]     at$22.execute(
    [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(
    [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(
    [SEVERE]     at net.minecraft.server.NetServerHandler.a(
    [SEVERE]     at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    [SEVERE]     at net.minecraft.server.NetworkManager.a(SourceFile:230)
    [SEVERE]     at net.minecraft.server.NetServerHandler.a(
    [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    [SEVERE]     at net.minecraft.server.MinecraftServer.h(
    [SEVERE]     at
    [SEVERE]     at
    [SEVERE] Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHandler
    [SEVERE]     at$ Source)
    [SEVERE]     at Method)
    [SEVERE]     at Source)
    [SEVERE]     at
    [SEVERE]     at java.lang.ClassLoader.loadClass(Unknown Source)
    [SEVERE]     at java.lang.ClassLoader.loadClass(Unknown Source)
    [SEVERE]     ... 13 more
    My Config.
    show-config-on-start: on
    enable-leaves-decay: on
    enable-faster-decay: off
    enable-faster-leave-destruction: off
    enable-full-tree-destruction: on
    enable-full-wood-destruction: on
    enable-only-top-down-drops: off
    enable-high-stack-size: off
    max-tree-size: 1600
    full-destruction-tools: [286]
    harvest-tools: [294]
    apple-drop-chance: 1.0
    golden-apple-drop-chance: 0.1
    leaves-block-drop-chance: 0.0
    sapling-drop-chance: 4.0
    Same message is shown if chopping with a non "Full Destruction" tool, and the tree just sits there. :)

    The drops work as intended, although I guess I don't get the harvest tools option. Apples drop, leaves drop etc with just the use of the gold axe.

    Craftbukkit version git-Bukkit-0.0.0-544-g6c6c30a-b556jnks (MC: 1.3)
    Thanks, Hope this helps.
  7. Offline


    I would like there to be a downside to insta-tree harvesting.

    As such, when a player cuts down a tree, I want there to be (say) a 50% chance of there having been a spider in the tree. When they cut it, it falls down.
  8. Offline


    Ok, this error occurs because you don't usw permissions right?
    I will fix the code for version 2.2, so that permissions is really optional :)

    Ok, i will see what i can do ;)
  9. Offline


    Awesome! Thanks!
  10. Offline


    Er... This plugin only seems to be working halfway. When I chop a tree down (unless I placed the logs myself) it works just fine, but I can't use the /lytree or /lyforest commands. When I do, it just shows me the format I'm supposed to use it in. For example, typing "/lytree redwood" brings up the same text as if I'd only typed "/lytree". I've added the permissions in, and it doesn't tell me I don't have permissions to use them. Is there a certain way I'm supposed to use these that I'm not doing right?
  11. Offline


    If I use one of the commands all generators works as expected, but I will look into the code an write on version 2.2 this weekend ;). I've no time from monday to friday because I have much work at the moment and driving school :)
  12. Offline


    Alright, I got mine working. Turns out GroupManager's settings were conflicting with Permissions. Sorry to bug you!
  13. I noticed when chopping in a forest or even if two or more trees are touch (aka connected), they don't get destroy instantly but have to manually chop all of the wood.
  14. Offline


    No problem ;)

    Yes ;) the trees are detected as one tree ;) I will insert a max tree radius option (see Todo ;) ) in 2.2 to allow single tree chopping in a forest ;)
  15. Offline


    Can you just make this plugin work without permissions? I don't want to use it, because I would need to change all my plugins' configs.
  16. Offline


    Post 38

  17. Offline


    I have a few questions if you don't mind :). If I set up apples/golden apples/sticks/whatever to drop from leaves will your plugin make it drop when leaves decay as well as when they are destroyed by a player? Also, do you have an ETA for the ability to auto-plant saplings wherever a tree is chopped down?
  18. Offline


    Bump for this
    Pentalive likes this.
  19. Offline


    how i have to set the custom-drops-config that it will drop "Cocoa Beans" 351:3 ?
    "351:3": 100.0
    this setting will be loaded at Server startup, say's the lytreehelper startup-config-message. "1 customsetting loaded".
    but i don't get any Cocoa Beans while harvesting leaf blocks.

    is it possible to activate it? cause i can cheat with /give 351:3 the item (the item "Cocoa Beans" is officially disabled atm in mc 1.3). i can use and drop cocoa beans.
  20. Offline


    Yes leave blocks will drop the items on decay too ;)
    The automatic planting of saplings feature is already implemented but not tested ;). I will test it today and it will be included in version 2.2 (release today or tomorrow morning).

    At the moment the custom drop option accepts only integers, but if I've enough time today, I can modify the functions so that items like colored wool are possible.
  21. Offline


    Awesome! Thank you :).
  22. Offline


    Is there a possibility to:

    tree grows some leaves.... after a while the leaves decay and drop saplings. dropped saplings get planted in.
  23. Offline


    This would be much more work, but it is possible ;), I will try to add a feature like that today and release it with 2.2 :)
  24. Offline


    Thanks. Just thought that would be nice to have. so woods Forests get darker a bit over time.

    Ah guess this would be real work:
    In the beginning, when I started playing minecraft I thought I have to be careful when walking on the leaves of trees, because they can break under my feet... would be interesting to have, too.
  25. Will next release work for 602+?
  26. Offline

    Eugene Sedlock

    <--- waits patiently for the update that lets you add damage modifier items to the drop list. :)
  27. Offline


    please update :/
  28. Offline


    Looks like bukkit renamed/changed the PLAYER_ITEM event, we need you to change your code so that it works with the latest RB. thanks!
  29. Offline


    update please for 1.4

    1.4 updale please. i love this plugin

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 11, 2016
  30. Offline


    Yes i will update it as soon as I can, but my hard drive is damaged :( so I have to wait for the new one (It will be delivered today). If my colleague goes online before, I will give him the code so he can release it ;)

    Update: I've released a version which works with the new craftbukkit builds, but I had to remove some of the new features because they were broken. I will update and reenable that features in 2.5, which I will release as soon as possible (waiting for my harddrive...). Sorry for the late release :(
  31. Offline


    Even with a drop chance of 0.1 the drop rate still seems super high.
    Got 2 golden apples very quickly.. Is 0.01 an acceptable value?

    Edit: FYI This seems to be working with CB617 / MC 1.4

    Also with
    # Enables or disables the full destruction of trees.
    enable-full-tree-destruction: off
    # Enables or disables the full destruction of the tree wood.
    enable-full-wood-destruction: on
            default: true
                prefix: ''
                suffix: ''
                build: true
                - 'lytreehelper.destroyall'
    Is it normal to get console spam of
    2011-04-01 22:54:02 [SEVERE] Could not pass event BLOCK_BREAK to LyTreeHelper
        at org.bukkit.craftbukkit.util.LongHashtable.get(
        at org.bukkit.craftbukkit.util.LongHashtable.get(
        at net.minecraft.server.ChunkProviderServer.c(
        at org.bukkit.craftbukkit.CraftWorld.getChunkAt(
        at org.bukkit.craftbukkit.CraftWorld.getBlockAt(
        at org.bukkit.craftbukkit.block.CraftBlock.getRelative(
        at net.darklikally.LyTreeHelper.LyTreeHelperBlockListener.destroyTreeWoodOnly(
        at net.darklikally.LyTreeHelper.LyTreeHelperBlockListener.destroyTreeWoodOnly(
        at net.darklikally.LyTreeHelper.LyTreeHelperBlockListener.destroyTreeWoodOnly(
        at net.darklikally.LyTreeHelper.LyTreeHelperBlockListener.destroyTreeWoodOnly(
        at net.darklikally.LyTreeHelper.LyTreeHelperBlockListener.destroyTreeWoodOnly(
      ....Repeated a few thousand lines
    about a 1000 lines per block chopped. What am I doing wrong?

Share This Page