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


    That means that the tree you chopped is too large for the RAM with which craftbukkit is running. Set the "max-tree-size" option to a value between 1400 and 1700, try it with 1400 and if it works, set it to 1450, then 1500, and so on ;) or if you know how, start craftbukkit with more RAM.
  3. Offline


    I'm wondering before I restart my server, if this: "351;3": 0.1 will get me Cocoa Beans as a custom drop from trees? If not, what will?
  4. Offline


    Interesting, Radius is currently at default 1600, I will make your suggested changes.
    My current CB command like is
    start /b java -server -Xmx1024M -XX:UseSSE=3 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar craftbukkit.jar nogui
    Other suggestions?
    Think I should use the -Xms512M ? I was having problems with doing that previously so took it out.

    Testing Results.

    One Tiny Tree.. :)

    I changed CB bat file to -Xms2048M -Xmx2048M left everything else the same.

    Removed all plugins except permissions and lytreehelper. Set tree size to 500, tree radius to 7.
    And still get the below results. Posted lytreehelper and permissions config below also.

    2011-04-02 11:25:26 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-04-02 11:25:26 [INFO] ChatBukkit v0.0.2 is enabled!
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Permission plugin detected, using Permissions plugin for permissions.
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] ===========================
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Configuration for MysticForest:
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Leave decay is enabled.
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Faster leave decay is disabled.
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Faster leave destruction is disabled.
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Full tree destruction is disabled.
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Full wood destruction is enabled.
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] === === === === === === ===
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Max. tree size set to 500
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Max. tree radius set to 7
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] === === === === === === ===
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] No creatures can spawn in a tree.
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Creature spawn chance in a tree set to 50.0
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] === === === === === === ===
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Full destruction is only enabled for 1 tools.
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Harvesting is only enabled for 1 tools.
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] === === === === === === ===
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Apple drop chance set to 0.3
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Golden apple drop chance set to 0.1
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Leave-Block drop chance set to 5.0
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Sapling drop chance set to 8.0
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] === === === === === === ===
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] Added 0 custom drops.
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] ===========================
    2011-04-02 11:25:26 [INFO] [LyTreeHelper] LyTreeHelper 2.2RC2 enabled.
    2011-04-02 11:25:26 [INFO] [Permissions] version [2.5.5] (Phoenix)  loaded
    2011-04-02 11:25:26 [INFO] ScrapBukkit version 0.2.1 is enabled!
    2011-04-02 11:25:26 [INFO] Done (0.126s)! For help, type "help" or "?"
    2011-04-02 11:25:34 [INFO] WhoAmIt [/] logged in with entity id 79
    2011-04-02 11:26:16 [INFO] Loaded world: MyWorld
    2011-04-02 11:26:17 [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(

    show-config-on-start: on
    use-permissions: on
    enable-leaves-decay: on
    enable-faster-decay: off
    enable-faster-leave-destruction: off
    enable-full-tree-destruction: off
    enable-full-wood-destruction: on
    enable-only-top-down-drops: off
    enable-high-stack-size: off
    max-tree-size: 500
    max-tree-radius: 7
    creatures-to-spawn-in-trees: []
    creature-spawn-chance: 50.0
    full-destruction-tools: [286]
    harvest-tools: [294]
    apple-drop-chance: 0.3
    golden-apple-drop-chance: 0.1
    leaves-block-drop-chance: 5.0
    sapling-drop-chance: 8.0

            system: default
            default: true
                prefix: ''
                suffix: ''
                build: true
                - 'tombstone.use'
                - 'tombstone.large'
                - 'tombstone.sign'
                - 'tombstone.quickloot'
                - 'myhome.home.*'
                - 'lytreehelper.destroyall'
            default: false
                prefix: ''
                suffix: ''
                build: true
                - Default
            default: false
                prefix: ''
                suffix: ''
                build: true
                - '*'
            group: Admins
            group: Moderator
                prefix: ''
                suffix: ''
    I even took myself out of Admin group. Before changing the full tree destruction to off the same entire tree I have been using for testing was destroyed.
  5. Offline

    sexy vampire

    how would i add cocoa to a custome tree drop ? sice is a sub script of dye ? just use id liek this ?
  6. how do i set a drop for cocoa beans ??


    Do not works
  7. Offline

    Eugene Sedlock

    He will not have that working until maybe the next update. If you want these now just go add them to a shop or something until this functionality is added. Hopefully it will be soon.
  8. Offline


    Glad to see a working tree exploder, when treehugger wasn't updated i wept at the impending forests of floating trees. Awesome work, thanks! So glad to have a replacement.
  9. Offline


    Something that would be truly amazing, would be if planted saplings grew into appropriate-biome trees, instead of standard trees. Though that might be more Growbie's territory - it can force biome-appriopriate trees with bonemeal, but not by default.

    Some code to auto-plant saplings in "forest" biomes would mean that any forest biome would slowly regenerate over time. Different biomes could have different densities (saplings would only autoplant if X distance from an existing tree), so that a tundra biome has no trees at all, where a jungle biome plants trees as close together as possible.

    It'd be hard to do well, just thinking out loud.
  10. Offline


    Today's evening I will have time to work hard on this plugin ;) So I will realize most features for the 2.5 release.

    @rbos: yes your idea sounds great :) I will try to add an option like "biome-sensitive-auto-saplings" or something that way :)
  11. Offline


    What does "max-tree-radius" actually do? kinda confusing :D
  12. Offline


    I run a server with Brohoster and They tell me to find and upload the .jar file to my admins server page, whatever its called. Im new to this all and love the plugin from someone elses server. But I cant find the jar file.
    What do I do ?Am I able to use this one ?
  13. Offline


    Yay! This helps so much, though I wish I found it earlier! It works for me 100%!
  14. Offline


    Click the downloadlink in the first post ;) or here.
  15. Offline


    When destroying a tree with a golden axe, i get the following:

    The last line repeats thousands of times.
  16. Offline


    I have the same issue even after suggested changes.
  17. Offline


    Download and place in plugins.
    Interrupt users by restarting server. :(
    Edit config files it created.
    Interrupt your users again by restarting to make changes take effect. :(:(

    Absolutely great plugin, but not so great install instructions.
    Can we get a '/lytreehelper reload' command or something to mitigate this?
  18. Offline


    I got a question, how can i make cocoa beans drop with this mod?
  19. Offline


    I've been using PlugMan to do this, which does indeed reload the plugin with the new settings, but I'm not convinced that things like % of drop rates actually change, until a server restart. Not sure on a server reload.
  20. I'm using this with AutoPlant to replant trees. If I have two trees touching each other, I have to break both their connections to the ground before they both explode. I knock out the bottom block on one, then go over to the other to knock out the bottom block on that one, but by the time I've knocked out the second block, a sapling has spawned under the first tree reconnecting it to the ground.

    Would it be possible for the ground connection to ignore saplings as connecting blocks, treat them as air?

    Also on my wishlist is to have it only check to see if a trees wood blocks are connected to the ground so it explodes even if there are leaf blocks still touching the ground or another tree.
  21. Offline


    Does this plugin support what TreeHugger was good at.
    # Activate destruction of all clustered floating leaves. Leaves connected to wood / dirt / etc. won't be harmed.

    Example i place leaf on grass it says forever. I cut down tree, Leaves attached to other Leaves, i cut a divided, line they instantly fall.

    EDIT: I checked, if i leave leaf decay on, i cant put leave blocks on dirt and stuff. can you make it, if leaves are floating they decay, but if touching dirt, or something else, they dont. Like in Treehugger. Or an option for that atleast.
  22. Offline


    Hey! I just downloaded the most recent version of this, but when I run the game and go back and check the plugins folder for the config thing, its not there. Any ideas?
  23. Offline


    Ok, thanks for your reports, I will fix the config-creation bug and include the configuration folder in the download ;).

    I will also add an option to decay only floating leaves.
    I will add the suggested reload command /lytreehelper reload too.

    The new version will be released the next 2 days.

    Sorry for slow releases ;) But I'm really busy with real life this time. Driving school, searching for a job, and I'm living on a "farm" ;) so I've to do some work on fields..
    Sage9234 likes this.
  24. Offline


    Thanks! Love the mod btw. Genius even without config :) Keep up the good work :)
  25. Offline


    Any news on when the bugs will be fixed that dont let you chop down full trees at once? :(
  26. Offline


    I think there's a bug in your probability code. If I do something like:

    leaves: 10%
    sapling: 5%
    apple: 1%
    golden apple: 0.5%
    diamond: 0.1%
    then each item drop always drops all the ones above it. For example, i will break a single block of leaves, and get an apple, sapling, and leaves block. This is kind of annoying. My guess is your code does something like:

    int n = randomNumber();
    for each item:
       if n < item.probability
    Instead, you should be generating a new random number for each drop, like:

    for each item:
       int n = randomNumbeR();
       if n < item.probability
    (Excuse my pseudocode, I haven't actually looked into your source to see how it's done. But the discontinued TreeHugger plugin had this same bug as well)
  27. Offline


    [quote="DarkLiKally, post: 184626y :)[/quote]
    err i tryed to add custom drops for chain-mail and it broke the plugin so i reverted back
    2011-04-15 08:25:15 [SEVERE] Could not pass event LEAVES_DECAY to LyTreeHelper
    while parsing a block mapping
     in "<reader>", line 15, column 1:
        show-config-on-start: on
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 87, column 6:
             "302": 00.1
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(
        at org.yaml.snakeyaml.composer.Composer.composeNode(
        at org.yaml.snakeyaml.composer.Composer.composeDocument(
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(
        at org.yaml.snakeyaml.Yaml.load(
        at org.bukkit.util.config.Configuration.load(
        at net.darklikally.LyTreeHelper.LyTreeHelperConfiguration.loadConfiguration(
        at net.darklikally.LyTreeHelper.LyTreeHelperConfiguration.<init>(
        at net.darklikally.LyTreeHelper.LyTreeHelperPlugin.createWorldConfig(
        at net.darklikally.LyTreeHelper.LyTreeHelperPlugin.getWorldConfig(
        at net.darklikally.LyTreeHelper.LyTreeHelperBlockListener.onLeavesDecay(
        at org.bukkit.plugin.RegisteredListener.callEvent(
        at org.bukkit.plugin.SimplePluginManager.callEvent(
        at net.minecraft.server.BlockLeaves.g(
        at net.minecraft.server.BlockLeaves.a(
        at net.minecraft.server.World.i(
        at net.minecraft.server.World.h(
        at net.minecraft.server.MinecraftServer.h(
  28. Offline


    Thats alot of interuppting users when you could just type /plugin reload LyTreeHelper or /reload
  29. Offline


    Ok, this is a little out there but i have a great idea for this plugin or a plugin like it!

    You can designate that (an area where) saplings will automatically be generated and planted, so it could be an ever expanding forest or a forest that will replant itself! :D
    a little like Ore Respawn, except with trees and maybe the possibility to make an entire world act like that.
  30. Offline


    @DarkLiKally: anything to help me some? read up some
  31. Offline


    LyTree does not respect WorldGuard regions, and bypasses LogBlock logging for tree blocks.

Share This Page