HarvestHoe 1.4

Harvest Hoe economy system and Auto Replant !

  1. MCAzertox
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    _________________HarvestHoe________________

    Recommended version: 1.12.2

    _____________________________________________________________________

    Commands:

    - /hh get HarvestHoe's help
    - /hh reload reload HarvestHoe
    - /hh give <player> give the harvest hoe to the specified player
    _____________________________________________________________________

    Permissions:

    Static perms:

    - harvesthoe.help grant access to /help
    - harvesthoe.give grant access to /hh give
    - harvesthoe.reload grant access to /hh reload
    - harvesthoe.safemode grant access to /hh safemode
    Config perms:

    - harvesthoe.open open the HarvestHoe menu
    - harvesthoe.harvesthoe.levelxxx here is the permission to be able to buy the levelxxx
    - harvesthoe.harvesthoe.levelxxx.unlocked here is the permission to grant a level to the player wich has this permission (i recommand to not change this once player have pushased levels)
    _____________________________________________________________________

    Features:
    - Multiple plants !

    harvesthoe-plants.png

    - Auto Selling on break !

    ezgif.com-optimize (1).gif

    - Auto Replant !

    ezgif.com-optimize.gif

    - Upgrade system !

    Screenshot_1.png
    Screenshot_2.png
    Screenshot_3.png

    - Sounds !

    harvesthoe sounds.png

    - All prices are custom !

    - Sell prices
    - Upgrade prices

    - Custom Messages !

    - Sell messages
    - Action messages

    - SafeMode !

    - Only breaks plants when fully grown
    - Work with SugarCane
    - Can be enabled and disabled in the config
    - Can change the enabling and disabling messages
    - Can add permission to use it !
    _____________________________________________________________________

    Config:
    Code (YAML):
    [/LEFT][/LEFT]
    #Version: 1.0
    #Author: MCAzertox

    main-config
    :
      hoe-name
    : "&aHarvestHoe"
      #The name of the harvestHoe (it shoud be the same to open the menu)
      hoe-lore
    :
        - "&7&m-------------&aHarvestHoe&7&m-------------"
        - ""
        - "&5*&bUse this hoe to harvest crops !"
        - "&bIt will automatically sell the harvested resources !"
        - ""
        - "&eTips:"
        - "&6- &dyou need a level to start harvesting !"
        - "&6- &dyou can use &c/hh safemode &dto only breaks ripe crops !"
        - "&6- &dsell prices depends of your harvest hoe level !"
        - ""
        - "&7&l(&eRight-Click to upgrade !&7&l)"
        - ""
        - "&7&m------------------------------"
     
      open-permission
    : "harvesthoe.open"
      #Here is the permission the player should have to open the menu
      requires-permission
    : false
      no-perm-message
    : "&cYou don't have the permission to open the harvest menu !"
     
      enable-open-menu-message
    : true
      #If true a message will be appears in the chat for the player
     
      open-menu-message
    : "&eOpening the menu..."
      #The message when a player open the menu
     
      open-sound
    :
       #The sound played when the player open the ml
        enabled
    : true
        sound
    : ENTITY_EXPERIENCE_ORB_PICKUP
        volume
    : 10
        pitch
    : 1

      safe-mode
    : #Safe mode give you the ability to not break crops when they are not mature
        enabled
    : true
        enable-message
    : "&7Safe mode &aEnabled !"
        disable-message
    : "&7Safe mode &cDisabled !"
        permission-require
    :
          enabled
    : true
          permission
    : "harvesthoe.safemode"

    sounds
    :
     #For all the sounds, please use this list: https://helpch.at/docs/1.12.2/org/bukkit/Sound.html
     
      scane
    :
        enabled
    : true
        sound
    : BLOCK_NOTE_BELL
        volume
    : 10
        pitch
    : 1
      wheat
    :
        enabled
    : true
        sound
    : BLOCK_NOTE_BELL
        volume
    : 10
        pitch
    : 1
      carrots
    :
        enabled
    : true
        sound
    : BLOCK_NOTE_BELL
        volume
    : 10
        pitch
    : 1
      potatoes
    :
        enabled
    : true
        sound
    : BLOCK_NOTE_BELL
        volume
    : 10
        pitch
    : 1
      melons
    :
        enabled
    : true
        sound
    : BLOCK_NOTE_BELL
        volume
    : 10
        pitch
    : 1
      pumpkins
    :
        enabled
    : true
        sound
    : BLOCK_NOTE_BELL
        volume
    : 10
        pitch
    : 1
      netherwarts
    :
        enabled
    : true
        sound
    : BLOCK_NOTE_BELL
        volume
    : 10
        pitch
    : 1
      cocoabeans
    :
        enabled
    : true
        sound
    : BLOCK_NOTE_BELL
        volume
    : 10
        pitch
    : 1
     
    gui
    :
      gui-name
    : "&a&lHarvest Hoe GUI"
     
      gui-size
    : 27
      #Can be 9, 18, 27, 36, 46, 54
     
      #For all the items, pleace use this list: https://helpch.at/docs/1.12.2/index.html?org/bukkit/Material.html
     
      levelone
    :
        title
    : "&b✪Level 1✪" #/!\ Don't put same title to each level up icons
        material
    : DOUBLE_PLANT
        data
    : 0
        levelup-sound
    :
          enabled
    : true
          sound
    : BLOCK_ANVIL_USE
          volume
    : 10
          pitch
    : 1
        lore
    :
         - "&c&m-----------------------"
          - ""
          - "&e&lPrices:"
          - ""
          - "&6- &bSugar-Cane&6
    : &a25$"
          - "&6- &bWheat&6
    : &a30$"
          - "&6- &bCarrots&6
    : &a30$"
          - "&6- &bPotatoes&6
    : &a30$"
          - "&6- &bMelons&6
    : &a30$"
          - "&6- &bPumpkins&6
    : &a30$"
          - "&6- &bCocoabeans&6
    : &a35$"
          - "&6- &bNetherWarts&6
    : &a40$"
          - ""
          - "&7Price to unlock
    : &c25000$"
          - "&7Status
    : &c✘"
          - ""
          - "&c&m-----------------------"
        unlocked-lore
    :
         - "&a&m-----------------------"
          - ""
          - "&e&lPrices:"
          - ""
          - "&6- &bSugar-Cane&6
    : &a25$"
          - "&6- &bWheat&6
    : &a30$"
          - "&6- &bCarrots&6
    : &a30$"
          - "&6- &bPotatoes&6
    : &a30$"
          - "&6- &bMelons&6
    : &a30$"
          - "&6- &bPumpkins&6
    : &a30$"
          - "&6- &bCocoabeans&6
    : &a35$"
          - "&6- &bNetherWarts&6
    : &a40$"
          - ""
          - "&7Status
    : &a✔"
          - ""
          - "&a&m-----------------------"
        #To write on a new line, put ";;" symbol
        slot
    : 11
        quantity
    : 1
        permission-to-access
    : "harvesthoe.levelone"
        #Here is the permission that makes the player able to upgrade his harvesthoe to level one !
        permission-to-get-unlocked
    : "harvesthoe.levelone.unlocked"
        #Here is the permission to unlock to level for a player, if you want to upgrade harvesthoe to level one for a player
        #just add him this permission (and remove other "permission-to-get-unlocked" from other levels to the player)
        #Example:
        #if you want a player to get level 3 unlocked, remove the permissions: "harvesthoe.levelone.unlocked" and "harvesthoe.leveltwo.unlocked" (if he have thoses)
        #and now you can add "harvesthoe.levelthree.unlocked" to him !
        price-to-upgrade
    : 25000
        scane
    :
          enabled
    : true
          sell-price
    : 25
        wheat
    :
          enabled
    : true
          sell-price
    : 30
        carrots
    :
          enabled
    : true
          sell-price
    : 30
        potatoes
    :
          enabled
    : true
          sell-price
    : 30
        melons
    :
          enabled
    : true
          sell-price
    : 30
        pumpkins
    :
          enabled
    : true
          sell-price
    : 30
        netherwarts
    :
          enabled
    : true
          sell-price
    : 40
        cocoabeans
    :
          enabled
    : true
          sell-price
    : 35
       
      leveltwo
    :
        title
    : "&b✪✪Level 2✪✪" #/!\ Don't put same title to each level up icons
        material
    : DOUBLE_PLANT
        data
    : 0
        levelup-sound
    :
          enabled
    : true
          sound
    : BLOCK_ANVIL_USE
          volume
    : 10
          pitch
    : 1
        lore
    :
         - "&c&m-----------------------"
          - ""
          - "&e&lPrices:"
          - ""
          - "&6- &bSugar-Cane&6
    : &a30$"
          - "&6- &bWheat&6
    : &a35$"
          - "&6- &bCarrots&6
    : &a35$"
          - "&6- &bPotatoes&6
    : &a35$"
          - "&6- &bMelons&6
    : &a35$"
          - "&6- &bPumpkins&6
    : &a35$"
          - "&6- &bCocoabeans&6
    : &a40$"
          - "&6- &bNetherWarts&6
    : &a45$"
          - ""
          - "&7Price to unlock
    : &c25000$"
          - "&7Status
    : &c✘"
          - ""
          - "&c&m-----------------------"
        unlocked-lore
    :
         - "&a&m-----------------------"
          - ""
          - "&e&lPrices:"
          - ""
          - "&6- &bSugar-Cane&6
    : &a30$"
          - "&6- &bWheat&6
    : &a35$"
          - "&6- &bCarrots&6
    : &a35$"
          - "&6- &bPotatoes&6
    : &a35$"
          - "&6- &bMelons&6
    : &a35$"
          - "&6- &bPumpkins&6
    : &a35$"
          - "&6- &bCocoabeans&6
    : &a40$"
          - "&6- &bNetherWarts&6
    : &a45$"
          - ""
          - "&7Status
    : &a✔"
          - ""
          - "&a&m-----------------------"
        #To write on a new line, put ";;" symbol
        slot
    : 13
        quantity
    : 2
        permission-to-access
    : "harvesthoe.leveltwo"
        #Here is the permission that makes the player able to upgrade his harvesthoe to level two !
        permission-to-get-unlocked
    : "harvesthoe.leveltwo.unlocked"
        #Here is the permission to unlock to level for a player, if you want to upgrade harvesthoe to level two for a player
        #just add him this permission (and remove other "permission-to-get-unlocked" from other levels to the player)
        #Example:
        #if you want a player to get level 3 unlocked, remove the permissions: "harvesthoe.levelone.unlocked" and "harvesthoe.leveltwo.unlocked" (if he have thoses)
        #and now you can add "harvesthoe.levelthree.unlocked" to him !
        price-to-upgrade
    : 75000
        scane
    :
          enabled
    : true
          sell-price
    : 30
        wheat
    :
          enabled
    : true
          sell-price
    : 35
        carrots
    :
          enabled
    : true
          sell-price
    : 35
        potatoes
    :
          enabled
    : true
          sell-price
    : 35
        melons
    :
          enabled
    : true
          sell-price
    : 35
        pumpkins
    :
          enabled
    : true
          sell-price
    : 35
        netherwarts
    :
          enabled
    : true
          sell-price
    : 45
        cocoabeans
    :
          enabled
    : true
          sell-price
    : 40
     
      levelthree
    :
        title
    : "&b✪✪✪Level 3✪✪✪" #/!\ Don't put same title to each level up icons
        material
    : DOUBLE_PLANT
        data
    : 0
        levelup-sound
    :
          enabled
    : true
          sound
    : BLOCK_ANVIL_USE
          volume
    : 10
          pitch
    : 1
        lore
    :
         - "&c&m-----------------------"
          - ""
          - "&e&lPrices:"
          - ""
          - "&6- &bSugar-Cane&6
    : &a35$"
          - "&6- &bWheat&6
    : &a40$"
          - "&6- &bCarrots&6
    : &a40$"
          - "&6- &bPotatoes&6
    : &a30$"
          - "&6- &bMelons&6
    : &a40$"
          - "&6- &bPumpkins&6
    : &a40$"
          - "&6- &bCocoabeans&6
    : &a45$"
          - "&6- &bNetherWarts&6
    : &a50$"
          - ""
          - "&7Price to unlock
    : &c25000$"
          - "&7Status
    : &c✘"
          - ""
          - "&c&m-----------------------"
        unlocked-lore
    :
         - "&a&m-----------------------"
          - ""
          - "&e&lPrices:"
          - ""
          - "&6- &bSugar-Cane&6
    : &a35$"
          - "&6- &bWheat&6
    : &a40$"
          - "&6- &bCarrots&6
    : &a40$"
          - "&6- &bPotatoes&6
    : &a30$"
          - "&6- &bMelons&6
    : &a40$"
          - "&6- &bPumpkins&6
    : &a40$"
          - "&6- &bCocoabeans&6
    : &a45$"
          - "&6- &bNetherWarts&6
    : &a50$"
          - ""
          - "&7Status
    : &a✔"
          - ""
          - "&a&m-----------------------"
        #To write on a new line, put ";;" symbol
        slot
    : 15
        quantity
    : 3
        permission-to-access
    : "harvesthoe.levelthree"
        #Here is the permission that makes the player able to upgrade his harvesthoe to level three !
        permission-to-get-unlocked
    : "harvesthoe.levelthree.unlocked"
        #Here is the permission to unlock to level for a player, if you want to upgrade harvesthoe to level three for a player
        #just add him this permission (and remove other "permission-to-get-unlocked" from other levels to the player)
        #Example:
        #if you want a player to get level 3 unlocked, remove the permissions: "harvesthoe.levelone.unlocked" and "harvesthoe.leveltwo.unlocked" (if he have thoses)
        #and now you can add "harvesthoe.levelthree.unlocked" to him !
        price-to-upgrade
    : 250000
        scane
    :
          enabled
    : true
          sell-price
    : 35
        wheat
    :
          enabled
    : true
          sell-price
    : 40
        carrots
    :
          enabled
    : true
          sell-price
    : 40
        potatoes
    :
          enabled
    : true
          sell-price
    : 40
        melons
    :
          enabled
    : true
          sell-price
    : 40
        pumpkins
    :
          enabled
    : true
          sell-price
    : 40
        netherwarts
    :
          enabled
    : true
          sell-price
    : 50
        cocoabeans
    :
          enabled
    : true
          sell-price
    : 45
       
      quit
    :
        title
    : "&cQuit"
        material
    : REDSTONE_BLOCK
        data
    : 0
        lore
    :
         - "&cClose this GUI"
          - ""
          - "&7(Left-Click)"
        #To write on a new line, put ";;" symbol
        slot
    : 26
       
      other
    : #Use this to fill empty spaces if u want
        title
    : " "
        material
    : STAINED_GLASS_PANE
        data
    : 3
        #Put 0 to data if u don't want to use it
        lore
    :
         - ""
        #To write on a new line, put ";;" symbol
        slots
    : "0,1,2,3,4,5,6,7,8,9,17,18,19,20,21,22,23,24,25"
        #To put multiple slots, please use ","

    auto-replant
    : #Auto Replant gives you the ability to auto replant crops after breaking
      wheat
    : true
      carrots
    : true
      potatoes
    : true
      netherwarts
    : true
      cocoabeans
    : true

    messages
    :

      prefix-sell-messages
    : "&7[&aHarvestHoe&7] "
     
      #Placeholders you can use:
      # - %quantity% --> Return the amount of items selled
      # - %price%    --> Return the money earned by the player
      # - %player%   --> Return the nickname of the player
     
      scane
    :
        chat
    :
          enabled
    : true
          message
    : "&a+%quantity% SugarCanes selled ! (&7+ %price%$&a)"
        hotbar
    :
          enabled
    : true
          message
    : "&a+%quantity% SugarCanes selled ! (&7+ %price%$&a)"
     
      wheat
    :
        chat
    :
          enabled
    : true
          message
    : "&a+%quantity% Wheat selled ! (&7+ %price%$&a)"
        hotbar
    :
          enabled
    : true
          message
    : "&a+%quantity% Wheat selled ! (&7+ %price%$&a)"
     
      carrots
    :
        chat
    :
          enabled
    : true
          message
    : "&a+%quantity% Carrots selled ! (&7+ %price%$&a)"
        hotbar
    :
          enabled
    : true
          message
    : "&a+%quantity% Carrots selled ! (&7+ %price%$&a)"
     
      potatoes
    :
        chat
    :
          enabled
    : true
          message
    : "&a+%quantity% Potatoes selled ! (&7+ %price%$&a)"
        hotbar
    :
          enabled
    : true
          message
    : "&a+%quantity% Potatoes selled ! (&7+ %price%$&a)"
     
      melons
    :
        chat
    :
          enabled
    : true
          message
    : "&a+%quantity% Melons selled ! (&7+ %price%$&a)"
        hotbar
    :
          enabled
    : true
          message
    : "&a+%quantity% Melons selled ! (&7+ %price%$&a)"
     
      pumpkins
    :
        chat
    :
          enabled
    : true
          message
    : "&a+%quantity% Pumpkins selled ! (&7+ %price%$&a)"
        hotbar
    :
          enabled
    : true
          message
    : "&a+%quantity% Pumpkins selled ! (&7+ %price%$&a)"
     
      netherwarts
    :
        chat
    :
          enabled
    : true
          message
    : "&a+%quantity% NetherWarts selled ! (&7+ %price%$&a)"
        hotbar
    :
          enabled
    : true
          message
    : "&a+%quantity% NetherWarts selled ! (&7+ %price%$&a)"
     
      cocoabeans
    :
        chat
    :
          enabled
    : true
          message
    : "&a+%quantity% CocoaBeans selled ! (&7+ %price%$&a)"
        hotbar
    :
          enabled
    : true
          message
    : "&a+%quantity% CocoaBeans selled ! (&7+ %price%$&a)"

       
       
       
    [LEFT]
     
    Dependencies:
    - Vault:
    https://www.spigotmc.org/resources/vault.34315/

    - Economy system working with Vault such as Essential or Iconomy:
    https://www.spigotmc.org/resources/essentialsx.9089/

    - Permission system working with Vault such as GroupManager:
    https://www.spigotmc.org/resources/groupmanager.38875/

Recent Reviews

  1. junsu
    junsu
    5/5,
    Version: 1.3
    very very good plugin Thank You
    I want to turn on and off the cell cheat message. Also, I would like to upgrade to a custom item rather than money. Could you add this function? -Sorry for my poor English.
    1. MCAzertox
      Author's Response
      Hey, thanks for your review !
      I'm currently working on this plugin, new feature will come out quickly !