promotional bannermobile promotional banner

Harvest XP

A plugin that allows you to get XP after harvesting a certain number of resources!
Harvest XP  
 
What does the plugin do?
The plugin grants the player with experience after harvesting a certain number of crops. If harvesting with a hoe tool, the amount needed to harvest is reduced. This is entirely configurable.
What crops can you get XP from harvesting?
  • Wheat
  • Potato
  • Beetroot
  • Carrot
  • Melon
  • Pumpkin
Commands
/harvest_config
 
Displays all attributes in a human friendly readable format.
 
/harvest <attribute> <value>
 
Set the value of an attribute like wheat experience or beetroot harvest required to a new value.
I.E: /harvest wheat.experience 2
What version of the game is supported?
I have tested this on version 1.15.2 and it has worked as intended.
Where can I find the source code?
It's on GitHub! Feel free to check it out here.
 
What are the default configuration values?
The default configuration values can be found in the code block below. It is worth noting that at anytime the end-user can update the attributes of this file manually or with the /harvest command.
wheat:
  experience: 1
  harvest_required: 10
beetroot:
  experience: 1
  harvest_required: 10
potato:
  experience: 1
  harvest_required: 10
carrot:
  experience: 1
  harvest_required: 10
pumpkin:
  experience: 1
  harvest_required: 10
melon:
  experience: 1
  harvest_required: 10
wood_hoe:
  reduction: 0
stone_hoe:
  reduction: 0
gold_hoe:
  reduction: 1
iron_hoe:
  reduction: 2
diamond_hoe:
  reduction: 3
hoe_type_reducing_harvest: true
hoe_tool_required: false

 

Thank you, feel free to leave a comment or feedback on how I can improve this! Any feedback is appreciated.

The Harvest XP Team

profile avatar
  • 1
    Projects
  • 1.4K
    Downloads
Donate