[MECH] AppleTree v0.6 - Trees now drop apples (new dev) [1000]

Discussion in 'Inactive/Unsupported Plugins' started by jascotty2, May 16, 2011.

  1. Offline


    AppleTree - The first standalone apple tree plugin (and still continued)
    Version: v0.6
    Download: AppleTree.jar

    AppleTree is now on BukkitDev

    AppleTree is a very simple plugin that was designed with the sole idea of turning trees into apple trees. There is a configuration file in its own plugin folder "AppleTree" called appletree.properties, which you can use to customize different aspects of the plugin.

    this was originally created by ngc0202

    Properties Guide:
    • CanDropDecay - (true/false) Whether or not apples drop on decaying leaves.
    • GAChance - (number between 0 and 1) The chance of a golden apple drop. 5% = 0.05
    • CanDropGold - (true/false) If golden apples can drop.
    • AChance - (number between 0 and 1) The chance of an apple drop. 5% = 0.05
      • CanDropCocoa - (true/false) if cocoa beans can drop
      • CBChance - chance of cocoa beans

    • Apples spawn from destroyed leaves.
    • Chance to spawn golden apples as well.
    • Cocoa beans also can drop :D
    • Properties file for different settings.

    Version 0.6 - 5/27/11
    • leaves can now be dropped (DropLeaves=true)
    • more settings added to allow seperate decay drop chances
    • fixed protection checks
    Version 0.5.1 - 4/2/11

    • settings moved to plugin folder
    Version 0.5 - 4/2/11 - now being maintained by jascotty2

    • cocoa beans added as a drop
    • probability is relative - ony one item can drop from a leaf break
      - (except saplings.. not sure how to turn those off)
    older changes (open)

    Version 0.4
    • Allowed compatibility with newer bukkit versions.
    • Fixed the "Stupidly long constructor" error
    Version 0.3.1

    • Fixed the bug where golden apples don't spawn.
    Version 0.3

    • Added a appletree.properties file for customizations.
    • Added source.
    Version 0.2

    • Allowed drops from decaying leaves.
    Version 0.1

    • Original release.
    someguy817, kahlilnc and dark_hunter like this.
  2. Offline


    latest two versions canno t be in a spoiler
    and please update to latest recommended
  3. Offline


    Could you add a leaves option? People on my server want to build with leaves.
  4. Offline


    What about setting up an option for differant trees, it seems kinda silly that apples would drop from a big old pine tree or even a birch tree for that matter... maybe set it up so you can set items that fall from trees and mabe even set a spawn option so that as you chopping up a tree there is a chance of a spider spawn.
    bk1138 likes this.
  5. Offline


    Will try this tomorrow :cool:
  6. Offline


    on the todo... however, having difficulty setting the leaf drop .. always comes out as a normal leaf. :(
    different trees shouldn't be hard.. don't think players would enjoy it as much, but spider spawning would be amusing :)
  7. Offline


    Thanks! I hope you can get it working.
  8. Offline


    I would like to add my own vote to this. Would love to have cocoa beans drop from birch, and apples from oak. I have birch trees at my house, and they DO stain stuff a sort of rusty brown :)
  9. Offline


    Yes that is what I was saying, I wasn't advocating that some trees be harder then others.I was just say I thought it would be nice to have the option to set up what drops from what type of tree as in the real would it apples droped from every kind of trees somebody would most like be contacting the CDC or something... lol
    so I was talking more like in the config file having something like this
    /this number is % 1.00 being 100% and 0.01 being 1% max being 1.00
    which shouldn't be too hard to do seen as there is some sort of ID for verious types of trees now.
  10. Offline


    Great plugin!
  11. Offline


    I loved this plugin because it only focused on Apples on trees. Now it also has cocoabeans and I really hate it when plugins start trying to combine like EVERYTHING. I won't update because of that, except you would implement the same things as ChocoCrops. That would be: Only dropping cocoabeans if the wheat is grown up and you are able to change the chance of drop.
    That's all I wanted to say and suggest.
    Thanks for the plugin till 0.4
  12. Offline


    you can just configure the cocobeans to false its not that hard.

    On a side note I'd like to be able to make any item drop. Configurable of course.
    Jonathan Thorpe likes this.
  13. Offline


    That would be cool. If you would implement everything that ChocolatCrops has at the moment, it's fine. But as long as it hasn't I do not feel like updating AppleTree and instead maybe go to another plugin.
    I know that I can disable it, but I think there is still some more use of RAM and I don't want to use too much of it, if you understand what my problem is ^^
  14. Offline


    Awesome work, but i really miss some leaves. I see that you're in dev and hope that the future releases will come soon.

    Thanks a lot
  15. Offline


    Hey ! Nice idea and plugin you made here.
    Does this version work for 818 build ?

    EDIT : This seems to work well.
  16. Offline


    Thanks, really useful!
  17. Offline


  18. Offline


    Anyone tried it with 860?
  19. Offline


    Yep, it works.
  20. Offline

    LAR Games

    I really like the tree type idea. I hope that gets implemented.

  21. Re-downloaded plugin.

    2011-06-18 22:47:24 [SEVERE] Could not load 'plugins\AppleTreePlugin.jar' in folder 'plugins': 
    java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:59)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:194)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:117)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:114)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:266)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:253)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:317)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    ive got this long time now.
    what is this?
    i have it .JAR
    its in my plugins.
    i think its corrupted
  22. Offline


    I want to update to RB928 anyone done that yet and know if this is working on it?
  23. Offline


    Confirmed working on RB928, no error and I got me some apples.
  24. Offline


    Great thanks I updated and it looks to be working good for me as well thanks for the reply.
  25. it works with b953 i had no problems with it at all
  26. Offline


    Great plugin!
  27. Offline


    Exploit Possibly.

    It seems using Residence - v2.3.5 we have a spawn location that is locked down so now one can destroy it. Someone can go to the trees within this location and try and destroy the leaves and It still triggers the appletree plugin and drops an apple, then the residence regens the block and they can try and destroy it again.

    Not sure if you have to tie into these other plugins to ensure before you trigger your plugin they can destroy the block.

    Thanks for any advice
  28. Thanks for updating the plugin, removed it because it was old but family nagged me so I checked if it was updated =) <3
  29. Offline


    Can you check the math. my guys on my srever are getting a ton of golden apples and it doesn't make since to me. This is my config:

  30. Offline


    Version 0.6
    leaves can now be dropped (DropLeaves=true)
    more settings added to allow seperate decay drop chances
    fixed protection checks

    that may be because of CanDropDecay=true
    trees with maybe 5 logs could have over 60 leaves
    (i had it disabled on my server for that reason)

    however, the new config settings can allow you to make decay drops even less likely

Share This Page