[MECH/FUN] FoodTrees v0.8- Ideal plugin for MC 1.8! [PERMISSIONS][1240]

Discussion in 'Inactive/Unsupported Plugins' started by Lookatmego, Sep 14, 2011.

  1. Offline

    Lookatmego

    We now also use bukkit dev!​
    FoodTrees-Food now grows on trees!
    Version: v0.8
    This is a pretty basic plugin where there is a custom percentage chance of a food dropping from a leaf by breaking it or leaf decay. All foods are avaiable.

    Features:
    • Lightweight and easy to use(just drag and drop)
    • Insures you always have food to eat specially for 1.8
    • You can choose what food to drop through the config!
    • Choose the percentage of chance of each food dropping
    • reload the config file from in-game easily!
    • PERMISSIONS SUPPORT!
    Download:


    Download(Direct)

    Command + Permission Nodes:

    I added a command in the last update:

    /ft reload

    This command reload the plugin from in-game so you don't have to reload/restart your whole server everytime! So next time you edit your config file just go ahead and do /ft reload to reload it and get your plugin working easily!

    Permissions node:

    foodtrees.reload

    Config File breakdown:

    FoodTrees:
    Bread: 10
    Cookie: 10
    CookedBeef: 10
    Nothing: 10 <-----this is the ratio for the leaf dropping nothing at all!
    Apples: 10
    RawBeef: 10
    Pork: 10
    CookedChicken: 10
    MushroomSoup: 10
    GrilledPork: 10
    RawFish: 10
    RottenFlesh: 10
    GoldenApple: 10
    Watermelon: 10
    RawChicken: 10
    CookedFish: 10
    Pumpkinseeds: 10
    Cocoabeans: 10
    Watermelonseeds: 10




    This is what the config will look like first time when you run the plugin,here by DEFAULT each food has a 100 percent chance of falling but notice there is an option for droping NOTHING as-well. Here you can put 0 infront of a food you do not want to drop and put the rest a lower number than the number for nothing. It basically uses the ratio beteween each to find the percentage.

    Meaning if you have everything as 0,nothing as 10 and apples as 1. There is a 1 in 10 chance of dropping an apple.:D

    Enjoy

    Video(Tutorial):


    Thanks to BeerHuntor for video:D


    Changelog
    Latest Version 0.8
    • Added Cocoa Beans to drop list.
    • Fixed up the code and get it ready for a new feature for the plugin released in v0.9
    • tested and confirmed that it works with CB build 1240
    Show Spoiler

    version 0.7
    • fixed a bug where everytime you broke a leaf it dropped pumpkin and melon seeds even if set to 0 in config file
    • cleaned up the code for future uses
    version 0.6
    • added watermelon seeds to drop list
    • added pumpkin seeds to drop list
    • cleaned up the code
    Version 0.5
    • Added a command to reload the config file from in-game
    • Added permissions support for the command(default op)
    Version 0.4
    • changed code and cleaned it up a bit
    • added percentage for each food or dropping nothing in config file(Thanks to celeixen)
    • config file fully has now changed
    Version 0.3
    • added the new foods added in 1.8
    • updated to recommended build(1185)
    Version 0.2
    • added a config file that is generated when you first run the plugin
    • You can now choose what foods drop in the config file
    Version 0.1
    • Releasing the plugin

    To Do:
    • Add more foods with release of 1.8
    • Allow permissions
    • commands?To reload config file from ingame!
    • config file to choose the percentage of different foods
    • config file to choose which foods to drop
    • add pumpkin and watermelon seeds to drop list
    • add cocoa beans to drop
    • add a feature where if leaf is broken by shears no food drops(WITH CONFIG)
    • give me more ideas below!

    please tell me what you think also keep in mind that this would be very useful in 1.8 so if you are low on hunger trees may save the day!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
    Trollkemada, jonassm and Starrk like this.
  2. Offline

    jonassm

    Will download this for 1.8.
     
  3. Offline

    Lookatmego

    :D
     
  4. Offline

    jonassm

    I like this ToDo:
    I've also made the edited one.
     
    Lookatmego likes this.
  5. Offline

    Lookatmego

    ye for sure the config will be coming soon just gotto update for 1.8 first and then do that:D
     
  6. Offline

    Lookatmego

  7. Offline

    Lookatmego

    PLUGIN WAS UPDATED WITH A CONFIG FILE NOW!SOON WILL BE UPDATED TO NEW RB FOR CB!
     
    jonassm likes this.
  8. Offline

    jgthebravest

    very nice love this plugin
     
    Lookatmego likes this.
  9. Offline

    Lookatmego

    thank you
     
  10. Offline

    Organtrail

    Is it possible you could add a value to the config.yml to change the drop rate? 10% doesn't sound like much, but I have the plugin "ChopTree" as well, and if you knock a large tree down, you'll end up getting a LOT of apples.. like 8+. I'd rather the drop rate be in the range of 2 to 4 percent. Otherwise I really like it and appreciate your work.
     
  11. Offline

    Lookatmego

    yes i actually have planned on that should be out with the update of upgrading to recommended build.If recommended isnt out by next week ill update it with the percentage in config and thanks for the feedback:D
     
  12. Offline

    Lookatmego

    PLUGIN WAS UPDATED WITH NEW FOODS FROM 1.8 AND UPDATED TO RECOMMENDED BUILD 1185!
     
  13. Offline

    emericask8ur

    Nice work
     
  14. Offline

    xdaveohx

    This works great. I only use it to have apples drop from leaves since food is becoming harder to get for users with the animal spawning (or lack thereof) of 1.8. The only thing I wish would be configurable though is the drop rate. 10% sounds like it isn't a lot, but with the amount of leaves on all the trees that get chopped down, that quickly leads to a lot of apples, and apples heal 5 hunger each. That makes a bit of overkill. If there was a way to tweak drop rate or heal rate of the foods dropped, that would be great.
     
  15. Offline

    Lookatmego

    im actually working on it as of this moment should be out on next update keep an eye out for it!
     
  16. Offline

    causztic

    You might consider allowing us to edit the percentage of when they will drop. It would be good!
     
  17. Offline

    Lookatmego

    yes thats first on my to-do list and i have already started working on it should be out soon!
     
  18. Offline

    causztic

    To be honest I haven't used your mod because on my server we have a melon farm...it gives us about 3 stacks of melon every 30 minutes. We cant finish eating them!!!
     
  19. Offline

    Lookatmego

    lol haha thats funny ye i made this plugin for my server actually and still using it and talking about the config file for percentage ive actually got it ready just some errors and bugs with it should be out soon
     
  20. Offline

    Lookatmego

    Foodtrees was updated WITH A PERCENTAGE CONFIG! read how to use the config if confused message me here for more help!!Enjoy!

    please give me some feedback about the new config file and percentages:D

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

    ArcheCane

    Sweet, looking good. :D
     
  22. Offline

    emericask8ur

    Get on my level -.- :) Just kidddin good job bro! ha
     
  23. Offline

    Blarginsnarf

    Wow, this is really nice! Keep it up dude! :D
     
  24. Offline

    Lookatmego

    thanks guys and sk8ur GET AT ME!

    PLUGIN NOW HAS A COMMAND TO RELOAD CONFIG IN-GAME AND PERMISSIONS!(DEFAULT OP)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
    emericask8ur likes this.
  25. Offline

    xdaveohx

    Would it be possible to instead make whole trees have a chance of a drop instead of each leaf block?
     
  26. Offline

    Lookatmego

    what do you mean???:confused:
     
  27. Offline

    Lookatmego

    tutorial video now up!
     
  28. Offline

    Trollkemada

    Could you add the posibility to drop coco beans, and pupkin and melon seeds? Would be great !

    Thanks for the work and for the plugin, anynway :D :D
     
  29. Offline

    Lookatmego

    oh
    oh sure i can surely add those,should be out in next update and np:)
     
    Trollkemada likes this.
  30. Offline

    itsover9000

    nice plugin all my friend does on here is chop trees for cookies. rofl.. (i set the config for cookies to drop 100% of the time)
     

Share This Page