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/harvest <attribute> <value>Displays all attributes in a human friendly readable format.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.
-
View User Profile
-
Send Message
Posted Nov 26, 2020personally feel the hoe_tool_required should be set to true by default cause it would give purpose to getting a hoe.
-
View User Profile
-
Send Message
Posted Aug 6, 2020I just tested this out on my server and it appears to be working. Thank you for this plugin, i'm excited to use it as it solves one of my primary issues with vanilla.
Any chance that there might be a way to add other blocks or other items to this list? Like, for example, adding logs and axes so you can gain xp when farming for wood? Or another example, adding stone and pickaxes?
-
View User Profile
-
Send Message
Posted Aug 7, 2020In reply to jthrockmorton206:
Hey I'm glad it's working for you! Hmm I definitely could add support for additional blocks but that type of open-ended support for breaking a block with an item and receiving xp might be a good idea for a separate plugin! It would be quite the extension for this plugin.
-
View User Profile
-
Send Message
Posted Aug 8, 2020In reply to AllegiantMember:
I appreciate the reply. I'll keep my eye on this plugin for any updates.
I'm very happy with it's functionality already.
-
View User Profile
-
Send Message
Posted Aug 9, 2020In reply to jthrockmorton206:
No worries and thanks, I'm happy to hear that. I already updated it, just waiting for it to process!
-
View User Profile
-
Send Message
Posted Apr 5, 2020Hey there, although 1.15.2 is working. I have found a few bugs that you may be able to iron out.
When Harvesting Pumpkin/Melon, you do not get XP from the fruit, but rather you only get it when you mine the actual plant itself, not the offspring fruit.
Is this something you, or I am able to fix on my server? Many thanks
-
View User Profile
-
Send Message
Posted Aug 7, 2020In reply to Forge_User_90305302:
I'm sorry I never saw this, I don't know why I never check this site. I can definitely look into this but I thought I saw this before and patched it! I'll update the plugin with the most recent version I have to see if that resolves this.
-
View User Profile
-
Send Message
Posted Mar 25, 2020Doest not work 1.15.2 waaaah :sob:
-
View User Profile
-
Send Message
Posted Mar 26, 2020In reply to JennerPalacios:
Hey, I just made an update, check if it works if you're still interested! Might need to wait for approval.
-
View User Profile
-
Send Message
Posted Mar 27, 2020In reply to AllegiantMember:
I'm very interested, thank you for the hard work. I am trying to teach son and his friends the importance of farming, making a farm, instead of raiding villages, running out of food, and then asking me for food, etc. This plugin will encourage them to have a farm in order to get both food and Xp at the same time.
-
View User Profile
-
Send Message
Posted Mar 28, 2020In reply to JennerPalacios:
Wow, thank you so much. That is really cool that you thought about teaching them farming instead of just raiding villages.