Appleseed
Description: This plugin allows players to plant and grow trees that drop items, such as apples, on the ground around the tree. This can be a fun way to help your players to obtain hard to find items like apples, cocoa beans, etc. Cooked pork trees or the like can be entertaining as well. :)
Features:
- Plant items in soil(aka farmland) and grow a tree that drops that item on the ground
- Config file that controls allowed types of trees, item drop interval, and the need for fertilizer
- Permissions to control who can plant trees(and what type)
Installation: Drop Appleseed.jar in your Bukkit server plugins folder and restart/reload the server. After the plugin loads the first time the Appleseed/config.yml file will be created. See below for details on what is contained in the config file. Restarting/reloading the server is required for the plugin to see changes to the config file.
Fertilizer: If trees have the setting "RequireFertilizer" set to "Yes", then they will stop dropping items and require bonemeal as fertilizer to continue. To fertilize a tree, hold bonemeal in your hand and right-click anywhere on the trunk of the tree. Fertilizing more than once doesn't hurt, neither will fertilizing while a tree is still dropping items.
Signs: If a player has permission, they can place a sign on a planted tree that reads "[Appleseed]". The sign will show the type of tree it is, and the color of the text will indicate it's status. If the text is light blue, the tree is an "infinite" tree and will never require fertilizer. If the text is green, then the tree is healthy and dropping items. If the text is red, then the tree requires fertilizer before it will continue dropping items.
Config File: Remember, the config file is a YAML file, so the indentation is significant.
- DropInterval: This determines how often items might drop. The default is 60 seconds; any value lower than this might cause lag.
- FertilizerItem: Item used to fertilize a tree. Defaults to bone meal.
- MaxUncollectedItems: Optional, approximate maximum number of items that can sit uncollected under a tree.
- MaxTreesPerPlayer: Optional cap on number of trees a player can plant.
- MaxIsPerWorld: Optional, if MaxTreesPerPlayer is defined, this allows the max to be either per world or server-wide.
- WandItem: Right click a tree with this item in hand to see its type and fertilizer status.
- MinimumTreeDistance: Optional, minimum distance between trees.
- SignTag: Text that should be placed within square brackets on signs (defaults to "Appleseed").
- TreeTypes: This section defines the allowed types of trees that can be planted. The following values must be set for each tree type:
- DropLikelihood: The chance of a drop happening each interval. Can be set from 0-100, where 100 is always drop and 1 is one chance in a hundred intervals. Fractional values now permitted.
- RequireFertilizer: If set to Yes, the trees of this type will stop dropping items and require bonemeal to continue (if you set this to yes, either DropsBeforeFertilizer or IntervalsBeforeFertilizer must also be set).
- DropsBeforeFertilizer: Sets the approximate number of drops before the tree gets tired and requires fertilizer (this option cannot be combined with IntervalsBeforeFertilizer).
- IntervalsBeforeFertilizer: Sets the approximate number of time intervals before the tree gets tired and requires fertilizer (this option cannot be combined with DropsBeforeFertilizer).
- TreeType: Defines the type of tree that will grow from the sapling. Can be "Standard", "Spruce", "Birch", or "Jungle".
- MaxFertilizer: Optional, approximate number of times a tree can be fertilized. After the maximum is reached, the tree dies (trunk disappears and the leaves decay).
Permissions:
- appleseed.plant.*: This will allow the planting of any item in the AllowedTreeTypes list.
- appleseed.plant.apple: This only allows the planting of an "apple".
- appleseed.infinite.plant: Trees planted by a player with this permission will never stop dropping items.
- appleseed.infinite.fertilizer: Trees fertilized by a player with this permission will never need fertilizer again.
- appleseed.infinite.cap: This allows a player to plant more than the defined MaxTreesPerPlayer.
- appleseed.wand: Players can right-click a tree with a wand item(defaults to wooden hoe) to get type of tree and fertilizer status.
- appleseed.sign.place: Player has permission to place an [Appleseed] sign on a tree.
This video demonstrates how to plant an apple and a cookie. Note that the drop rate has been increased for demonstration purposes.
This was an awesome plugin. I really wish someone would take over this project.
@LHammonds
It has no errors but perms do not work and is very buggy. save-all, stop server and when it loads it butchers the config for the stored trees.
Когда обновление будет под 1.5.2 ?
Appleseed 0.7.4 loads without console errors and works on CraftBukkit 1.5.2-R0.1 with bPermissions 2.10.4 and Java 1.7.0_15 (64-bit)
Keep in mind that when I use this plugin, I do not give anyone access to plant these trees. They are admin-only and limited to the spawn area or PVP arena only. Very few trees are used.
Thanks, LHammonds
is there a way to make an enchanted apple tree?
@MarshmallowSwirl
OK, i admit, number of trees is not your problem then :)
Huh!
@ha11oga11o
I have 96 trees, so a really huge number
@MarshmallowSwirl
Guys, do you see mine post below? I KNOW thats the issue. Just see how many trees do you have at your server, i bet its big number...
Cheers!
@CommodoreAlpha
I am actually having the same issue, with the plugin my server is sitting at 100% CPU usage. As soon as I disable it it drops again. The plugin was working great for a month and this happened overnight.
I'm having a strange issue with this plugin in that I only have four appleseed trees set up, and they were fine for many months. However, one day the plugin started spontaneously eating up all my CPU to the point where the server was completely on its knees.
I've no clear evidence that it's this particular plugin causing it, but whenever I disable it, the CPU usage returns back to normal.
EDIT: I will do some testing to see what the culprit is. I'm not saying your plugin is at fault; it could be a combination of certain plugins.
Hello,
is it possible that this plugin when world has let say 3687 trees droping apple on all those trees even if player is not in that chunk?
Im getting error below and big lag spike. When i delete plugin server is OK no lag, no error.
Cheers :)
update: I have 10 (magic) tree's growing now. I still can't get everything to work,but I managed 10 differant types! yah im a big kid with a new toy! LOL
I ,and my players,Love this addon! However I must be doing something wrong,as I can get some things to plant..and others will not plant. I get no error at all after I do the scripting in the config file. Not sure what I'm doing wrong..I run Bukkit. I would gladly donate money,for help fixing my problem to drop what I would like,and plant the items I wish planted! my email is [email protected] email if you will help and Once its fixed..money will be donated to you,to keep up the upgrades and the good work! thank you LadyRayvyn1
@Glacksy
According to the error message you are running Appleseed version 0.7.3. For CB 1.4.6-R0.1 and later your need Appleseed version 0.7.4. Upgrading should resolve the problem.
outdated for 1.4.6 beta build:
Error: http://pastebin.com/yU2kiTh5
Causes lag when someone click a random sign, also the server might crash if you spam a sign, i recommend everyone who's using it with 1.4.6 to turn the plugin off until a fix have been released :)
EDIT: This does also happen on blockbreak, error: http://pastebin.com/KJ4nvefj
Tested with 1.4.6 dev build, works fine.
@berserkfury9000
Would love to see this updated for 1.4.6 too :)
I wont want to bug you about updating, but I just really wanted to let you know that I love this plugin and so do all of my players :) We would all LOVE to see this return in 1.4.6 :)
@RedBeardedFrog
The file is still awaiting approval by the Bukkit.org admins. I'm thinking maybe they aren't approving plugins designed to work with 1.4.5 because there is no beta/recommended build for that version.
@redsgreens
Great! Where is the download link?
@diannetea
I just uploaded Appleseed version 0.7.4 that fixes the compatibility issues with Bukkit builds based on MC 1.4.5.