Harvest XP

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.

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    367091
  • Created
    Mar 13, 2020
  • Last Released File
    Aug 7, 2020
  • Total Downloads
    1,454
  • License

Categories

Members

Recent Files