LyTreeHelper
```ยดยดยดยด
Latest Recommended Build is 3.0beta-build-2
About LyTreeHelper
LyTreeHelper is a craftbukkit plugin which helps to handle trees on craftbukkit servers very easy. LyTreeHelper comes with a powerful set of functions and features, for example the powerful tree or forest generator, the highly configurable drops system and the MCEdit schematic world population tools.
LyTreeHelper Features
- Custom drop features - LyTreeHelper lets you add custom drops to leaves, for timed drops too (Maybe, sticks? :) )
- Full customizable drop system - Adjust the drop chances for each drop (apples, golden apples, leaves, saplings, ...)
- Timed 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 (http://dev.bukkit.org/server-mods/vault/)
- Full economy support - You can use any economy system supported by Vault (http://dev.bukkit.org/server-mods/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) (Under Development)
- 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
Is LyTreeHelper missing that little something that you need?
Ask! Or better yet, go to the Github tracker and tell me your great ideas or fork the project and add your feature! You can of course do this without consulting me, but I cannot accept pull requests that will break LyTreeHelper!
Very, very happy to see LyTreeHelper active again. I have missed it badly, most of all the ability to fell trees from the bottom, which should have been in Minecraft from the start.
FYI, I'm currently seeing a java.lang.NullPointerException running build 2 under craftbukkit-1.3.2-R2.0 build 2396.
java.lang.NullPointerException at net.darklikally.lytreehelper.bukkit.WorldConfiguration.getBoolean(WorldConfiguration.java:128) at net.darklikally.lytreehelper.bukkit.WorldConfiguration.loadConfiguration(WorldConfiguration.java:239) at net.darklikally.lytreehelper.bukkit.WorldConfiguration.<init>(WorldConfiguration.java:120) at net.darklikally.lytreehelper.bukkit.ConfigurationManager.getWorldConfig(ConfigurationManager.java:171) at net.darklikally.lytreehelper.bukkit.LyTreeHelperWorldListener.initializeWorld(LyTreeHelperWorldListener.java:62) at net.darklikally.lytreehelper.bukkit.LyTreeHelperPlugin.onEnable(LyTreeHelperPlugin.java:153) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:270) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:252) at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:298) at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:277) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:227) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
@DarkLiKally
Okay, its now September, any progress ?
@vatrixxx
When all my dependencies are up to date and bukkit runs really stable
And I'm working on some classes on top of the official MC API to make it faster and easier to port lytreehelper to the MC API
When comes out the update to 1.3.1?
Mh, is the tree / forest generator implemented? If yes, what are the commands?
@swiftplague
I will take a look ;)
@panborsuk
dude, how did you fix that?
[SEVERE] [LyTreeHelper] [LyTreeHelper] - Disabled due to no Vault dependency [INFO] [LyTreeHelper] Disabling LyTreeHelper v3.0Beta
using the latest vault
Thanks for responding quickly. I tried searching for tabs, with no luck. Here is my configuration. Perhaps you can spot something that i missed?
http://pastebin.com/SqLAU7DF
@ray73864
Thank you for the report, I figured out, that NoLagg don't accept drops from other threads. I will try to find another efficient way to drop the items, for NoLagg support
@LordValtheran
It looks like there's a problem reading your configuration file, maybe you have an incorrect yml file? (e.g. tabs in it) use a yaml parser and check your configuration file
hi, I have never used this plugin before. What is this error trying to tell me I did wrong?
http://pastebin.com/9xfiwejW
Your plugin does naughty things, NoLagg has detected this, and spat out the following to the console for me.
Please fix your code.
07:21:06 [WARNING] Could not properly handle event ITEM_SPAWN:
java.lang.IllegalAccessError: Synchronized code got accessed from another thread: net.darklikally.lytreehelper.utils.TimedDrops
at org.bukkit.event.Listener.onItemSpawn(Listener:0)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
at org.bukkit.craftbukkit.event.CraftEventFactory.callItemSpawnEvent(CraftEventFactory.java:252)
at net.minecraft.server.World.addEntity(World.java:892)
at net.minecraft.server.World.addEntity(World.java:862)
at org.bukkit.craftbukkit.CraftWorld.dropItem(CraftWorld.java:304)
at org.bukkit.craftbukkit.CraftWorld.dropItemNaturally(CraftWorld.java:318)
at net.darklikally.lytreehelper.utils.TreeDropManager.dropItemNaturally(TreeDropManager.java:158)
at net.darklikally.lytreehelper.utils.TreeDropManager.dropTimedDrops(TreeDropManager.java:118)
at net.darklikally.lytreehelper.utils.TimedDrops.run(TimedDrops.java:67)
at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
07:21:06 [INFO] This error is logged only once: it could have occurred multiple times by now.
@DarkLiKally
So. Sometimes it's works for trees, sometimes not. And when I added "-" permissions for Admin and I have op it doesn't work.
And auto replant doesn't work too.
@DarkLiKally
Ok. I will test it but I did it without op and on "default" like I said before with only two permissions.
@panborsuk
the * permission gives you the nofulldestruction permission too, so it disables fulldestruction for you, if you're using PEX, you can add remove the lytreehelper.destruction.nofulldestruction permission, if you define "-lytreehelper.destruction.nofulldestruction" (the - is important) before the * permission. Example:
permissions:
- -lytreehelper.destruction.nofulldestruction
- *
@DarkLiKally
Yeah, I have 3.0beta-build-2 and I tested everything on "default" without op and '*' with only two permissions: lytreehelper.economy.freechopping and lytreehelper.destruction.fulldestruction.
This is my config.yml: http://pastebin.com/4GmxHJdi
@panborsuk
Hm that's strange behaviour, there should be no problems with already existing trees. Can you post your configuration and permissions-setup at pastebin and send me the link?
Are you using the latest dev build? Maybe for the auto sapling feature, it is possible, that you have the no-autoplant-sapling permission (maybe you are admin and using * as permission?) See this page for a list of all permissions.
Ok. I fixed it but now enable-autoplant-sapling: doesn't works
editand I have strange bug. When I plant a tree and chop it plugin works (without auto-planting) but trees which were on map before plugin doesn't workHi! I installed Vault and this plugin. I set enable-full-tree-destruction to true and it's just not working. But another things work like for example apple-drop-chance
Pleace help!