Automatically harvests mature crops for your Farmer regions, with flexible piston requirements, stock handling, and performance tuning.
- Place the
AutoHarvestfolder intoplugins/Farmer/modules/. - Restart your server.
- A
config.ymland matching language file will be created underplugins/Farmer/modules/AutoHarvest/.
-
Automatic Crop Harvesting
Detects when configured crops reach maturity and harvests them for the farm owner. -
Optional Piston Requirement
Only harvest when a piston is placed above (or in any direction) of the crop, reducing accidental pickups. -
Stock-Aware Growth
Prevent drops when your inventory is full, or allow crops to drop on the ground instead. -
Farmer-Linked or Standalone
Operates within a Farmer region or globally if no Farmer is present. -
Performance Controls
Toggle per-crop piston checks and multi-direction scans to balance performance on large farms.
All options are documented inline in config.yml. Key settings include:
-
status
Enable or disable automatic harvesting. -
requirePiston & checkAllDirections
Define whether a piston must be present (and in which directions) for harvest to occur. -
withoutFarmer
Allow harvesting even if no Farmer region is active. -
checkStock
Prevent harvesting when stock is full, or allow ground drops. -
defaultStatus
Default enabled state for new farms. -
items
List of crop types (by base item name) to harvest.
- Fork the repository.
- Add your improvements or fixes.
- Open a pull request against
develop.
Please follow existing code style and update documentation as needed.