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.
@MarkehMe
I'm afraid I am unable to reproduce your issue. Do you have any other sign-related plugins running?
@Meclizine11
I see you are using capital letters in your item names. Try switching those to lower case.
@redsgreens
Sorry for the late reply.
0.7.2 AppleSeed Current RB (updated today) of Bukkit (http://dl.bukkit.org/downloads/craftbukkit/view/00993_1.2.4-R1.0/)
Heres a screenshot: http://cl.ly/0Y3Q2u3P3c081m143h1f (I changed the tag to AppleTree)
Heres the console log (no errors by the way): http://pastebin.com/zsDfeLTB
I checked my config with a couple YAML validators and they found no problems. Here's a Pastebin of my config. I'm not experienced with YAML, though as far as I can tell there aren't any obvious errors. This is an awesome plugin. I just wish I could get all those tree types working.
@HyperTsuna @MarkehMe What versions of Bukkit and Appleseed are you running? Are you getting any errors in your server log?
@HyperTsuna
I have the same problem.
I am op and when i placed the sign, nothing happens. I also have given permission to myself just incase. The text doesn't change color or glow or anything, its like normal.
Great and original idea! Well done :D
Hi redsgreen, your plugin is the best. But idont know why the trees of golden apple and cocoabeans, drop this items very slow , o in fact no drop it. For example a golden apple tree drop one apple in 15 minutes. I dont know, Have i the configures files worst configurate? Sorry for my english but I´m from spain
I just uploaded Appleseed version 0.7.2 that adds support for jungle trees. It is awaiting admin approval but should be available for download soon.
@Meclizine11 There's no limit on the number of types. You must have a problem with your Yaml. There are online Yaml verifiers out there... Find one and run your config.yml file through it.
@MedlarGW The plugin can work without permissions. Just set AllowNonOpAccess to true in the config.yml file.
Is there a limit on how many tree types can be added to the config? I'm asking because I went a little crazy and added 28 more, but the console message only indicates 16 in total.
Also, while having op I want to grow these trees without unlimited drops/fertilizer, but adding the permissions to permissions.yml and setting them to false for ops seems to do nothing. Are the permissions not working or am I going about it wrong?
@MedlarGW
Also, are we able to set a tree-type to jungle trees now? It'd be good to have a coacoa bean - jungle tree, was my thought.
Does Appleseed work without permissions? I'm just wondering if I don't use permissions, will it all default to Op?
Thanks for the update man.
Thanks for the update, Just curious as to what the permission for a player to be able to plant golden apple trees is? And also i have the permission appleseed.sign.place but they still cannot place signs on the trees.
Thanks again, Aaron.
@Baffu
Version 0.7.1 supports 1.2.3
1.2.3?
Awesome redsgreens! Thanks much! (and glad I wasn't just going crazy).
I will keep my eyes open over the next 24-36 for the availability.
@Torondork I just uploaded Appleseed version 0.7.1 that fixes this issue. It is awaiting admin approval but should be available for download soon. Thanks for reporting this.
redsgreens,
We love this mod, especially since my family server has specialties and my daughter (being the farmer) likes anything that gives her more things to "farm". But we cannot seem to get the signs to work. We tried placing Appleseed in brackets, out of brackets, top line, second line, third line, etc. I even changed the word Appleseed to Orchard in the config.yml but the signs just come up blank.
Is this an error that you can explain on your end or perhaps it's a conflict with my LWC plugin? Your thoughts on the matter?