Simple plugin that forces tools to lose durability when breaking crops. Perfect for setups where vanilla doesn’t reduce durability (e.g. replant hoes or custom farming tools) and you still want crop harvesting to wear down the item properly.
is a simple Spigot/Paper plugin that makes tools lose durability when harvesting certain crops. The list of affected crops is configurable.
The main setting is a list of block types that should cause hoes to lose durability when broken.
config.yml example:
crop-materials:
- "WHEAT"
- "CARROTS"
- "POTATOES"
- "BEETROOTS"
- "NETHER_WART"
- "SWEET_BERRY_BUSH"
- "CAVE_VINES"
- "CAVE_VINES_PLANT"
- "BROWN_MUSHROOM"
- "RED_MUSHROOM"
- "COCOA"
- "TORCHFLOWER"
- "PITCHER_PLANT"
- "CRIMSON_FUNGUS"
- "WARPED_FUNGUS"
Notes:
Material names. They are treated case-insensitively.crop-materials, the plugin checks the player's main hand and off hand.1 / (level + 1).Commands:
/cropsdurability reload - Reloads the plugin configuration.Permissions:
cropstakedurability.reload - Allows reloading the configuration. Default: op.cropstakedurability.bypass - Prevents hoes from taking durability when harvesting configured crops. Default: false.This project is licensed under the MIT License. See the LICENSE file for details.