[MISC/FUN] Appleseed - Plant apple trees! Not your standard apples from leaves plugin!

Discussion in 'Inactive/Unsupported Plugins' started by redsgreens, May 19, 2011.

  1. Offline

    redsgreens

    Appleseed is now on dev.bukkit.org! Go there for the latest versions, a dedicated support forum, and ticket tracking system: http://dev.bukkit.org/server-mods/appleseed/


    Appleseed - Plant trees that drop apples on the ground (or other items!):
    There are other plugins out there that make trees drop apples/items when you break the leaves, but this plugin doesn't do that. With Appleseed, all existing trees are left as-is. To get an apple tree, you must use a hoe to create soil, then right click the soil with an apple in hand. Done correctly(and if you have permission), a sapling will appear in the soil. When the sapling grows(use bonemeal to speed this up), the tree will drop apples on the ground.

    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 likelihood
    • Permissions to control who can plant trees(and what type)
    Download Appleseed: http://dev.bukkit.org/server-mods/appleseed/

    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 on the very bottom block of the trunk. 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.
    • 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", or "Birch".
      • 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: If you don't have a permissions plugin, then only Ops will be able to plant trees.
    • 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.
    Screenshots:

    2011-05-19_15.50.19.png An apple tree with some apples under it.

    2011-05-30_13.22.39.png Two trees with signs. On the left is an "infinite" apple tree, and on the right is a tree that needs fertilizer.

    Video: This video demonstrates how to plant an apple and a cookie. Note that the drop rate has been increased for demonstration purposes.

    Old Changelog (open)
    Version 0.6.4 (08/25/2011)
    • Refactored trees per player counting
    Version 0.6.3 (08/09/2011)
    • Replaced calls to deprecated Bukkit methods
    • Added AllowNonOpAccess parameter to config file for servers without permissions
    • If a player exceeds the maximum allowed trees, the error message will now display the number they have planted and the maximum allowed.
    Version 0.6.2 (07/10/2011)
    • Fix error handling when ShowErrorsInClient is disabled
    Version 0.6.1 (07/01/2011)
    • Fix for "n must be positive" exception
    Version 0.6.0 (06/13/2011)
    • Added optional MaxUncollectedItems config parameter that can prevent items from piling up under trees
    Version 0.5.6 (06/12/2011)
    • Players are prevented from "eating" a seed item if a tree can't be planted for some reason (requested by Joy)
    Version 0.5.5 (06/05/2011)
    • Non-integer DropLikelihood values allowed
    • Configurable per player cap on how many trees can be planted (per world or server-wide)
    • Fertilizer item can be customized
    Version 0.5.0 (05/30/2011)
    • Added support for signs on trees (suggested by kaasinees)
    • Better support for items with damage values
    • Corrected spelling of "fertilizer" in config file (misspelling still works)
    • Added IntervalsBeforeFertilizer parameter to tree type config (suggested by Zarius)
    Version 0.4.1 (05/29/2011)
    • Small tweak to handling of "wrong location" exception.
    Version 0.4.0 (05/26/2011)
    • Fixed a major bug in multiworld saving/loading. If you load this version without restarting the server, ie. with the "reload" command, then you might not lose data. Otherwise the trees outside of your main world will probably be lost. :'(
    • Added config option to enforce minimum distance between trees
    • Added config option to kill trees after some number of fertilizer cycles
    • Added wand item support to show tree type and fertilizer status
    • Allow clicking with wand or fertilizer anywhere on tree trunk
    • Fixed bug with ShowErrorsInClient config flag
    Version 0.3.2 (05/24/2011)
    • Added detection of WorldGuard regions when trees are planted
    Version 0.3.1 (05/23/2011)
    • Fixed bug with permission node "appleseed.plant.cocoa_beans"
    Version 0.3 (05/22/2011)
    • Restructured config file to allow per tree type drop rates and sapling types
    • Trees occasionally stop dropping items and require fertilizer to keep going
    • Added two permission nodes for admins to plant trees that don't require fertilizer, and allow admins to use fertilizer to cause an existing tree to no longer require fertilizer
    • Saving the trees.yml file now runs in a separate thread to improve performance when a large number of trees exist
    • Fixed bug where last tree is not removed from trees.yml (reported by GipsyKing)
    Version 0.2 (05/19/2011)
    • Fixed potential bug that caused some drops to have infinite quantity (reported by walruscode)
    Version 0.1 (05/19/2011)
    • Initial release
    Feature(s) expected for later releases:
    • Config flag to disable initial sapling growth with bonemeal
    • Adjust DropInterval so it uses real time rather than tickrate (for servers with customized tickrate)
    • Bonus items with very low likelihood / configurable "seed" items
    • Suggestions?
     

    Attached Files:

  2. Offline

    BloodyDie

    Good !!!
     
  3. Offline

    Tgrdude13

    hey my friend got this for our server and it only works a little... We can plant all the trees we want...(Coco, Apple, Golden Apple, and Cookie) But only Coco bean and the Red apple trees will grow and will drop the items... Cookie and Golden apple wont drop anything... They grow into a tree just wont drop anything
     
  4. Offline

    redsgreens

    The drop likelihood for the golden apple tree is very low by default. You could try increasing it. The trees also might need fertilizer. Try right-clicking a tree with a wooden hoe, you should get a message that will tell you if fertilizer is required.
     
  5. Offline

    Tgrdude13

    Thanks We found the Probloem :p We had the Rate on 500 not 0-100
     
  6. Offline

    27ace27

    Cool plugin for sure! the only suggestion I have is to make the apple trees look different from normal trees. Perhaps mix and match bark and leaf colors?
     
  7. Seems to be some exploit that allows abusing Apple trees.

    People are reporting they can spawn the drops much faster, by loading the chunk (being there), then logging out, letting the chunk unload, then logging back in. Does it allow for a drop chance every time chunk is loaded, even tough according to time, it shouldn't?

    Hope you can look into this :)
     
  8. Offline

    redsgreens

    I don't see how this could happen. Have you tested it yourself? If a tree is on a chunk that isn't loaded then that tree is skipped until the next interval. There is no code that detects when a chunk loads/unloads, and there's also no code that would drop an item outside of an interval.
     
  9. Yea am not sure how they do it exactly, will ask...

    Another thing, some people are reporting they do not get any notification when they have hit the per-player planting cap, and it just uses their reagents for planting, without creating a tree :/
     
  10. Offline

    redsgreens

    Do you have the setting ShowErrorsInClient disabled in the Appleseed/config.yml file? I found some problems with error handling when that setting is disabled. Version 0.6.2 is out now to address that.
     
  11. Yep enabled.
     
  12. Offline

    NinjaMonkey2012

    I think you should add a sort of chance that certain items drop from the trees.... unless I have read incorrectly and this is already integrated, I think you should make it so the apple tree has a very small % chance of dropping a golden apple... and then otherwise just drops regular apples... so like a 0.01% chance of getting a gold apple dropped?? I don't know if that % seems too small/big?
     
  13. Offline

    redsgreens

    This is on my todo list and will happen eventually.
     
  14. Offline

    GayJuice

    It looks like when i upgraded to 1.7/953 it made every tree in my world an apple tree when you break leaves apples fall, any idea how to reverse this?

    Juice
     
  15. Offline

    redsgreens

    Sorry, the Appleseed plugin has never caused apples to fall when leaves are broken. You must have another plugin doing that.
     
  16. Offline

    GayJuice

    ok thx for the update, this is annoying
     
  17. Is there any chance you could add a flag on Trees, that changes their behaviour from auto-droppping items, to requiring them to be hit with, for example, a wooden hoe before they drop their drop? So perhaps the tree-sign could indicate an apple has "grown" and can be plucked by whacking the tree.

    That would make it even more of an activity to farm. Would be nice if it's doable !
     
  18. Offline

    redsgreens

    This should be doable, but not trivial. I'll put some thought into it. Maybe shears would make sense? Obviously it would be configurable.
     
  19. Yes they would :D
     
  20. Offline

    Carragos

    Hey :)
    I got one question.
    What does that mean : IntervalsBeforeFertilizer ?
    It says, it counts the Interval before it needs a new Fertilizer.
    But what is the Interval like ?
    Is it IntervalsBeforeFertilizer: 60 --- 60Seconds ?
    IntervalsBeforeFertilizer 60 --- 60 Minutes ?
    IntervalsBeforeFertilizer 60 --- 60 Hours ?

    Please tell me !
    But this plugin rocks rlly, thx :)
     
  21. Offline

    MrMontor

    I got a little problem after changin permitions a bit.

    Every time i want to plant an apple tree, the console says:


    EDIT: Fixed it by myself - btw awesome plugin ;)
     
  22. Offline

    redsgreens

    The length of the interval is determined by the DropInterval parameter in the config file. The default interval is 60 seconds.
     
  23. Offline

    Soldepaz

    I have a problem.

    It says in your documentation that if there is no permissions system, your plugin will by default only allow ops to plant/use appleseed functions.

    I do however have permissions installed, so I am trying to figure out what I need to do to bridge the gap.

    It will allow /ops to plant trees; it disallows people with the permissions nodes who aren't /ops.

    I am using version 061, not 062.

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
      New:
            default: true
            info:
                prefix: '&7[New]'
                suffix: '&7'
                build: false
            inheritance:
            permissions:
                   - 'mcSimpleMail.mail'
                   - 'essentials.list'
                   - 'essentials.help'
                   - 'nChat.colors'
                   - 'essentials.rules'
    
      Citizen:
            default: false
            info:
                prefix: '&9[C.] '
                suffix: '&9'
                build: true
            inheritance:
    
            permissions:
                   - 'mcSimpleMail.mail'
                   - 'essentials.back'
                   - 'essentials.protect'
                   - 'essentials.help'
                   - 'essentials.list'
                   - 'essentials.afk'
                   - 'essentials.rules'
                   - 'essentials.motd'
                   - 'essentials.me'
                   - 'essentials.sethome'
                   - 'essentials.home'
                   - 'iconomy.*'
                   - 'nChat.colors'
                   - 'essentials.seen'
                   - 'mcmmo.chat.partychat'
                   - 'mcmmo.commands.party'
                   - 'mcmmo.ability.*'
                   - 'mcmmo.skills.*'
                   - 'essentials.signs.protection.create'
                   - 'essentials.signs.trade.create'
                   - 'essentials.signs.trade.use'
                   - 'essentials.worth'
                   - 'essentials.pay'
                   - 'essentials.sell'
                   - 'essentials.balance'
                   - 'jobs.join.*'
                   - 'jobs.world.*'
                   - 'chestlock.own'
                   - 'chestlock.lock'
                   - 'chestlock.unlockable'
                   - 'chestlock.coowner'
                   - 'chestlock.usekey'
                   - 'chestlock.free'
                   - 'chaircraft.sit'
                   - 'chesscraft.commands.create.game'
                   - 'chesscraft.commands.invite'
                   - 'chesscraft.commands.join'
                   - 'chesscraft.commands.move'
                   - 'chesscraft.commands.offer.draw'
                   - 'chesscraft.commands.offer.swap'
                   - 'chesscraft.commands.resign'
                   - 'chesscraft.commands.archive'
                   - 'chesscraft.commands.tp'
                   - 'chesscraft.commands.win'
                   - 'appleseed.wand'
                   - 'appleseed.plant.*'
    
      Verdächtige:
            default: false
            info:
                prefix: '&9[Verdächtige] '
                suffix: '&9'
                build: true
            inheritance:
    
            permissions:
                   - 'mcSimpleMail.mail'
                   - 'essentials.help'
                   - 'essentials.list'
                   - 'essentials.afk'
                   - 'essentials.rules'
                   - 'essentials.motd'
                   - 'essentials.me'
                   - 'essentials.sethome'
                   - 'essentials.home'
                   - 'nChat.colors'
    
      Seneschal:
            default: false
            info:
                prefix: '&d[S.] '
                suffix: '&d'
                build: true
            inheritance:
            permissions:
                - '*'
      Guardian:
           default: false
           info:
               prefix: '&2[G.] '
               suffix: '&3'
               build: true
           inheritance:
           permissions:
                - '*'
      Matróna:
            default: false
            info:
                prefix: '&5[M.] '
                suffix: '&5'
                build: true
            inheritance:
            permissions:
                   - 'mcSimpleMail.mail'
                   - 'essentials.back'
                   - 'essentials.protect'
                   - 'essentials.help'
                   - 'essentials.list'
                   - 'essentials.afk'
                   - 'essentials.rules'
                   - 'essentials.motd'
                   - 'essentials.me'
                   - 'essentials.sethome'
                   - 'essentials.home'
                   - 'iconomy.*'
                   - 'nChat.colors'
                   - 'essentials.seen'
                   - 'mcmmo.chat.partychat'
                   - 'mcmmo.commands.party'
                   - 'mcmmo.ability.*'
                   - 'mcmmo.skills.*'
                   - 'essentials.signs.protection.create'
                   - 'essentials.signs.trade.create'
                   - 'essentials.signs.trade.use'
                   - 'essentials.worth'
                   - 'essentials.pay'
                   - 'essentials.sell'
                   - 'essentials.balance'
                   - 'jobs.join.*'
                   - 'jobs.world.*'
                   - 'chaircraft.sit'
                   - 'chesscraft.commands.create.game'
                   - 'chesscraft.commands.invite'
                   - 'chesscraft.commands.join'
                   - 'chesscraft.commands.move'
                   - 'chesscraft.commands.offer.draw'
                   - 'chesscraft.commands.offer.swap'
                   - 'chesscraft.commands.resign'
                   - 'chesscraft.commands.archive'
                   - 'chesscraft.commands.tp'
                   - 'chesscraft.commands.win'
                   - 'appleseed.wand'
                   - 'appleseed.plant.*'
    
    #
    #
    #
    
    users:
    
        Soldepaz:
            group: Guardian
            permissions:
    
        autoKALASHNIKOV:
            group: Seneschal
            permissions:
    
        XEVERAN:
            group: Seneschal
            permissions:
    
        idaveX:
            group: Citizen
            permissions:
    
        sweetsatan2012:
            group: Citizen
            permissions:
    
        therobert:
            group: Seneschal
            permissions:
    
        tehrub:
            group: Citizen
            permissions:
    
        teddyjamesmusic:
            group: Seneschal
            permissions:
    
        suilen:
            group: Citizen
            permissions:
    
        wainu:
            group: Seneschal
            permissions:
    
        el_pebblo:
            group: Citizen
            permissions:
    
        hi_scores:
            group: Seneschal
            permissions:
    
        neino:
            group: Citizen
            permissions:
    
        adelaya:
            group: Matróna
            permissions:
    
        Zippy5495:
            group: Citizen
            permissions:
    
        cmr03638:
            group: Citizen
            permissions:
    
        jkr801:
            group: Citizen
            permissions:
    
        codst3r:
            group: Citizen
            permissions:
    
        darkshadow321s:
            group: Citizen
            permissions:
    
        Buddy11123:
            group: Citizen
            permissions:
    
        schiesty:
            group: Citizen
            permissions:
    
            permissions:
        amc263:
            group: Citizen
            permissions:
    
        mongie:
            group: Citizen
            permissions:
    
     
  24. Offline

    redsgreens

    Can you post the Appleseed startup messages you get in your server log? It should indicate if it is finding the permissions plugin.
     
  25. Offline

    Soldepaz

    2011-07-20 23:11:21 [INFO] Appleseed: ShowErrorsInClient=true
    2011-07-20 23:11:21 [INFO] Appleseed: DropInterval=75 seconds
    2011-07-20 23:11:21 [INFO] Appleseed: MaxUncollectedItems=6
    2011-07-20 23:11:21 [INFO] Appleseed: WandItem=iron_hoe
    2011-07-20 23:11:21 [INFO] Appleseed: FertilizerItem=bone_meal
    2011-07-20 23:11:21 [INFO] Appleseed: MinimumTreeDistance=disabled
    2011-07-20 23:11:21 [INFO] Appleseed: TreeTypes=(apple,cookie,golden_apple,cocoa_beans)
    2011-07-20 23:11:21 [INFO] Appleseed: Permissions 3.0b found
    2011-07-20 23:11:21 [INFO] Appleseed: WorldGuard 5.2.2 found
    2011-07-20 23:11:21 [INFO] Appleseed: 9 trees loaded in world Lando Griffin - Copy (6).
    2011-07-20 23:11:21 [INFO] Appleseed: 0 trees loaded in world Lando Griffin - Copy (6)_nether.
    2011-07-20 23:11:21 [INFO] Appleseed version 0.6.1 is enabled!
     
  26. Offline

    Syncoli

    Does any1 know how to get this to work so everyone can plant Apple trees? I don't have permissions so only ops can plant them atm.
     
  27. Offline

    Truecorruptor

    Ok i have a question, im using the new plugin Heroes whch intergates with permissions in a fasination way.
    It gives u a certain permission at a certain lvl like a skill, and since i have a farmer class i use this plugin. But when i have appleseed.plant.apple for lvl 10 it should give me the permission to do it but it doesnt. Here is the part of heroes u will need to look at and my appleseed config

    Heroes Farmer Class

    Code:
        Farmer:
            default: false
            parent: Crafter
            summon-max: 0
            description: Masters of farming
            permitted-armor:
            - LEATHER
            - CHAINMAIL
            permitted-weapon:
            - WOOD
            - STONE
            - IRON_PICKAXE
            - IRON_HOE
            - DIAMOND_PICKAXE
            - DIAMOND_HOE
            permitted-skills:
                Blink:
                    level: 1
                    mana: 10
                    cooldown: 30000
            experience-sources:
            - MINING
            - CRAFTING
            - LOGGING
            - SKILL
            permission-skills:
                ChestShop:
                    level: 1
                    usage: To create shops that can both, buy and sell
                    permissions:
                    - iConomyChestShop.shop.create
                Appletree:
                    level: 10
                    usage: Allows the Farmer to grow appletrees
                    permissions:
                    - appleseed.plant.apple
                Cocoatree:
                    level: 10
                    usage: Allows the Farmer to grow cocoatrees
                    permissions:
                    - appleseed.plant.cocoa_beans
                Eggtree:
                    level: 10
                    usage: Allows the Farmer to grow eggtrees
                    permissions:
                    - appleseed.plant.egg
                Cookietree:
                    level: 20
                    usage: Allows the Farmer to grow cookietrees
                    permissions:
                    - appleseed.plant.cookie
                Claytree:
                    level: 30
                    usage: Allows the Farmer to grow claytrees
                    permissions:
                    - appleseed.plant.clay
                Slimeballtree:
                    level: 40
                    usage: Allows the Farmer to grow claytrees
                    permissions:
                    - appleseed.plant.slimeball
                Goldenappletree:
                    level: 50
                    usage: Allows the Farmer to grow goldenappletrees
                    permissions:
                    - appleseed.plant.golden_apple
            expmodifier: 1.0
            item-damage:
                diamond_hoe: 6
            base-max-health: 20.0
            max-health-per-level: 0.0
    And here is my appleseed config

    Code:
    #
    # ShowErrorsInClient: toggle that determines if permissions or other error messages
    #                     are displayed client-side
    #
    # Allowed values : Yes (shows errors to players)
    #                  No  (errors only show up in server console)
    #
    ShowErrorsInClient: Yes
    
    #
    # DropInterval: length of time, in seconds, between drops
    #
    # Allowed values: numbers bigger than 1 (no decimals)
    #
    DropInterval: 60
    
    #
    # FertilizerItem: item used in game to fertilize a tree
    #
    # Allowed values: any item id or item name (default is bone_meal)
    #
    FertilizerItem: bone_meal
    
    #
    # MaxUncollectedItems: optional parameter, approximate maximum number of items that will be left on
    #                      the ground around a tree
    #
    # Allowed values: any integer bigger than 1 (set to -1 to disable, or comment out the parameter)
    #
    MaxUncollectedItems: 6
    
    #
    # MaxTreesPerPlayer: optional parameter, maximum number of trees a player can plant
    #
    # Allowed values: any integer bigger than 1 (set to -1 to disable, or comment out the parameter)
    #
    #MaxTreesPerPlayer: 10
    
    #
    # MaxIsPerWorld: optional parameter, determines if MaxTreesPerPlayer setting is server wide or per world
    #                defaults to "No"
    #
    # Allowed values : Yes (players can plant MaxTreesPerPlayer trees in each world)
    #                  No  (players can plant MaxTreesPerPlayer regardless of which world they are planted in)
    #
    #MaxIsPerWorld: No
    
    #
    # WandItem: item used in game to see what type a tree is and if it needs fertilizer
    #
    # Allowed values: any item id or item name (default is wood_hoe)
    #
    WandItem: wood_hoe
    
    #
    # MinimumTreeDistance: optional parameter specifies minimum block distance between planted trees
    #
    # Allowed values: any number bigger than 1 (set to -1 to disable, or comment out the parameter)
    #
    #MinimumTreeDistance: 8
    
    #
    #
    # TreeTypes: list of items that can be planted in soil(aka farmland)
    #
    # Example:
    #    - "apple"                      # Name of the item that must be planted and will be dropped
    #        DropLikelihood: 33         # Chance an item will drop under a tree (numbers 1-100)
    #        RequireFertilizer: Yes      # Yes if the tree should require occasional fertilizer
    #        DropsBeforeFertilizer: 50   # Approximate number of drops before fertilizer is required
    #        MaxFertilizer: 5            # Approximate number of times a tree can be fertilized (optional, or set to -1 to disable)
    #        TreeType: Standard         # Type of tree that should grow from the sapling (Standard/Spruce/Birch)
    #
    TreeTypes:
        apple:
            DropLikelihood: 33
            RequireFertilizer: Yes
            DropsBeforeFertilizer: 50
    #        MaxFertilizer: 10
            TreeType: Standard
    
        cocoa_beans:
            DropLikelihood: 33
            RequireFertilizer: Yes
            DropsBeforeFertilizer: 50
    #        MaxFertilizer: 10
            TreeType: Spruce
    
        golden_apple:
            DropLikelihood: 5
            RequireFertilizer: Yes
            IntervalsBeforeFertilizer: 10
            MaxFertilizer: 5
            TreeType: Birch
    
        cookie:
            DropLikelihood: 33
            RequireFertilizer: Yes
            IntervalsBeforeFertilizer: 60
    #        MaxFertilizer: 5
            TreeType: Standard
    
        egg:
            DropLikelihood: 44
            RequireFertilizer: Yes
            IntervalsBeforeFertilizer: 60
    #        MaxFertilizer: 5
            TreeType: Birch
    
        slimeball:
            DropLikelihood: 33
            RequireFertilizer: Yes
            IntervalsBeforeFertilizer: 60
    #        MaxFertilizer: 5
            TreeType: Spruce
    
        clay:
            DropLikelihood: 33
            RequireFertilizer: Yes
            IntervalsBeforeFertilizer: 60
    #        MaxFertilizer: 5
            TreeType: Standard
    
     
  28. Offline

    redsgreens

    Your Appleseed config looks fine, so it must be a permissions problem. I'm not familiar with the Heroes plugin at all.. does it use the new built-in permissions in the latest Bukkit build? I haven't updated my plugins to use that, yet.

    What happens when a player tries to plant an apple? Do they get a message that says they don't have permission?

    Also, can you paste the text from the server console that Appleseed prints when it starts?
     
  29. Offline

    Montpelier

    I use this plugin because it doesn't need chat commands and can be easily explained in logical terms (put apple in soil get apple tree). It's a good time.

    That said: I would like to request an option to limit each type of tree to certain biomes, so that cocoa and apple trees require different areas of world to grow. Something unique to differentiate Village A from Village B.
     
  30. Our plant limit per person is set to 200. Yet we are having many players who can't plant more. When I check the data files, I count like 100-130 trees for them, not even close to 200.

    So the limit is somehow bugging for us :S
     
  31. Offline

    Aiyania

    I could use some help with the config. I will post below what it is currently set at.

    -What I wish to achieve.
    I am having problems (OP) setting a limit for the players, i wanna set it for limit 2 trees per player. I can place more than 2, is that cause i am OP or is that something else. Also is the limit, say 2, 2 total or 2 per each tree.

    Also I dont understand the line

    cocoa_beans:
    DropLikelihood: 33
    RequireFertilizer: Yes
    DropsBeforeFertilizer: 6
    # MaxFertilizer: 10
    TreeType: Spruce

    golden_apple:
    DropLikelihood: 33
    RequireFertilizer: Yes
    IntervalsBeforeFertilizer: 1
    MaxFertilizer: 5
    TreeType: Birch

    What is the difference between DropsbeforeFertilizer and Intervals ect.
    I want to set it so a apple tree after 6 drops needs fertalizer and a golden apple tree after 1. I want them to keep rare. Its for a small group of friends.

    That is all. Here is my config copy/paste
    #
    # ShowErrorsInClient: toggle that determines if permissions or other error messages
    # are displayed client-side
    #
    # Allowed values : Yes (shows errors to players)
    # No (errors only show up in server console)
    #
    ShowErrorsInClient: Yes

    #
    # DropInterval: length of time, in seconds, between drops
    #
    # Allowed values: numbers bigger than 1 (no decimals)
    #
    DropInterval: 100

    #
    # FertilizerItem: item used in game to fertilize a tree
    #
    # Allowed values: any item id or item name (default is bone_meal)
    #
    FertilizerItem: bone_meal

    #
    # MaxUncollectedItems: optional parameter, approximate maximum number of items that will be left on
    # the ground around a tree
    #
    # Allowed values: any integer bigger than 1 (set to -1 to disable, or comment out the parameter)
    #
    MaxUncollectedItems: 6

    #
    # MaxTreesPerPlayer: optional parameter, maximum number of trees a player can plant
    #
    # Allowed values: any integer bigger than 1 (set to -1 to disable, or comment out the parameter)
    #
    #MaxTreesPerPlayer: 2

    #
    # MaxIsPerWorld: optional parameter, determines if MaxTreesPerPlayer setting is server wide or per world
    # defaults to "No"
    #
    # Allowed values : Yes (players can plant MaxTreesPerPlayer trees in each world)
    # No (players can plant MaxTreesPerPlayer regardless of which world they are planted in)
    #
    #MaxIsPerWorld: No

    #
    # WandItem: item used in game to see what type a tree is and if it needs fertilizer
    #
    # Allowed values: any item id or item name (default is wood_hoe)
    #
    WandItem: wood_hoe

    #
    # MinimumTreeDistance: optional parameter specifies minimum block distance between planted trees
    #
    # Allowed values: any number bigger than 1 (set to -1 to disable, or comment out the parameter)
    #
    #MinimumTreeDistance: 8

    #
    #
    # TreeTypes: list of items that can be planted in soil(aka farmland)
    #
    # Example:
    # - "apple" # Name of the item that must be planted and will be dropped
    # DropLikelihood: 33 # Chance an item will drop under a tree (numbers 1-100)
    # RequireFertilizer: Yes # Yes if the tree should require occasional fertilizer
    # DropsBeforeFertilizer: 50 # Approximate number of drops before fertilizer is required
    # MaxFertilizer: 5 # Approximate number of times a tree can be fertilized (optional, or set to -1 to disable)
    # TreeType: Standard # Type of tree that should grow from the sapling (Standard/Spruce/Birch)
    #
    TreeTypes:
    apple:
    DropLikelihood: 33
    RequireFertilizer: Yes
    DropsBeforeFertilizer: 6
    # MaxFertilizer: 10
    TreeType: Standard

    cocoa_beans:
    DropLikelihood: 33
    RequireFertilizer: Yes
    DropsBeforeFertilizer: 6
    # MaxFertilizer: 10
    TreeType: Spruce

    golden_apple:
    DropLikelihood: 33
    RequireFertilizer: Yes
    IntervalsBeforeFertilizer: 1
    MaxFertilizer: 5
    TreeType: Birch

    cookie:
    DropLikelihood: 33
    RequireFertilizer: Yes
    IntervalsBeforeFertilizer: 6
    # MaxFertilizer: 5
    TreeType: Standard


    Thank you - Aiyania

    Also my users can NOT plant trees, i dont see a part of the config that will let them. I dont use premissions. any thoughts?

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

Share This Page