To work with planted crops

This plugin is no longer maintained. If you (like myself) are having issues getting the gather bonus item from working when harvesting from a plant that is grown in planter box you can apply this fix yourself...

On line 37 of the ExtraGatherBonuses.cs file (not the config file, the plugin file) Change this line:

private void OnCropGather(GrowableEntity  plant, Item item, BasePlayer player)


To This:

private void OnGrowableGathered(GrowableEntity  plant, Item item, BasePlayer player)​

Thank you man. A former Admin set this plugin up so we get a seed for every plant in planters harvested, and not realising this was the plugin making it happen I recently deleted it thinking it was dead weight. This little piece of code is what got it to work again after a frantic search to find the config. Thank you. Now I'll leave my config here for all.

{
  "A. Bonus list": [
    {
      "Item gathered to get bonus": "cloth",
      "Permission": "extragatherbonuses.vip",
      "Maximal items that player can get by once": 1,
      "Bonus list": [
        {
          "Shortname": "seed.hemp",
          "Amount min": 1,
          "Amount max": 1,
          "Skin": 0,
          "Display name": "Hemp Seed",
          "Chance": 100
        }
      ]
    },
    {
      "Item gathered to get bonus": "blue.berry",
      "Permission": "extragatherbonuses.vip",
      "Maximal items that player can get by once": 1,
      "Bonus list": [
        {
          "Shortname": "seed.blue.berry",
          "Amount min": 1,
          "Amount max": 1,
          "Skin": 0,
          "Display name": "Blue Berry Seed",
          "Chance": 100
        }
      ]
    },
    {
      "Item gathered to get bonus": "black.berry",
      "Permission": "extragatherbonuses.vip",
      "Maximal items that player can get by once": 1,
      "Bonus list": [
        {
          "Shortname": "seed.black.berry",
          "Amount min": 1,
          "Amount max": 1,
          "Skin": 0,
          "Display name": "Black Berry Seed",
          "Chance": 100
        }
      ]
    },
    {
      "Item gathered to get bonus": "green.berry",
      "Permission": "extragatherbonuses.vip",
      "Maximal items that player can get by once": 1,
      "Bonus list": [
        {
          "Shortname": "seed.green.berry",
          "Amount min": 1,
          "Amount max": 1,
          "Skin": 0,
          "Display name": "Green Berry Seed",
          "Chance": 100
        }
      ]
    },
    {
      "Item gathered to get bonus": "red.berry",
      "Permission": "extragatherbonuses.vip",
      "Maximal items that player can get by once": 1,
      "Bonus list": [
        {
          "Shortname": "seed.red.berry",
          "Amount min": 1,
          "Amount max": 1,
          "Skin": 0,
          "Display name": "Red Berry Seed",
          "Chance": 100
        }
      ]
    },
    {
      "Item gathered to get bonus": "yellow.berry",
      "Permission": "extragatherbonuses.vip",
      "Maximal items that player can get by once": 1,
      "Bonus list": [
        {
          "Shortname": "seed.yellow.berry",
          "Amount min": 1,
          "Amount max": 1,
          "Skin": 0,
          "Display name": "Yellow Berry Seed",
          "Chance": 100
        }
      ]
    },
    {
      "Item gathered to get bonus": "white.berry",
      "Permission": "extragatherbonuses.vip",
      "Maximal items that player can get by once": 1,
      "Bonus list": [
        {
          "Shortname": "seed.white.berry",
          "Amount min": 1,
          "Amount max": 1,
          "Skin": 0,
          "Display name": "White Berry Seed",
          "Chance": 100
        }
      ]
    },
    {
      "Item gathered to get bonus": "pumpkin",
      "Permission": "extragatherbonuses.vip",
      "Maximal items that player can get by once": 1,
      "Bonus list": [
        {
          "Shortname": "seed.pumpkin",
          "Amount min": 1,
          "Amount max": 1,
          "Skin": 0,
          "Display name": "Pumpkin Seed",
          "Chance": 100
        }
      ]
    },
    {
      "Item gathered to get bonus": "corn",
      "Permission": "extragatherbonuses.vip",
      "Maximal items that player can get by once": 1,
      "Bonus list": [
        {
          "Shortname": "seed.corn",
          "Amount min": 1,
          "Amount max": 1,
          "Skin": 0,
          "Display name": "Corn Seed",
          "Chance": 100
        }
      ]
    },
    {
      "Item gathered to get bonus": "potato",
      "Permission": "extragatherbonuses.vip",
      "Maximal items that player can get by once": 1,
      "Bonus list": [
        {
          "Shortname": "seed.potato",
          "Amount min": 1,
          "Amount max": 1,
          "Skin": 0,
          "Display name": "Potato Seed",
          "Chance": 100
        }
      ]
    }
  ]
}​