HomeJavaModsAuto Farm Regions
Auto Farm Regions
ModsJava

Auto Farm Regions

by ShackInTheMiddle · on Modrinth

A farming plugin that auto-replants and grows crops, with support for WorldGuard regions and customizable tools.

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.20.5–1.21.5 · Bukkit⬇ Download for 1.20.5–1.21.5 · Folia⬇ Download for 1.20.5–1.21.5 · Paper⬇ Download for 1.20.5–1.21.5 · Purpur⬇ Download for 1.20.5–1.21.5 · Spigot
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Automatically manage crops in protected farming areas

A lightweight plugin that automates crop harvesting and regrowth inside WorldGuard regions. When a player breaks a mature crop, it's instantly replanted and sent to their inventory. Crops can also regrow automatically after a set time. Immature crops can’t be broken, and harvesting can be limited to specific tools like hoes.

Features:

All features are restricted to defined WorldGuard regions, ideal for public farms or spawn zones.

Why use this plugin?

I personally use RegionFarm on my EarthSMP server's spawn, where there's a public farm. It keeps the area clean by auto-replanting crops and speeds up growth in that specific region. It’s hands-off farming that fits well into shared spaces and public zones.

Click to expand configuration example
# AutoFarmRegions Configuration
# Version: 1.1
# Support: https://discord.primalmc.fun
#
# This plugin automates farming tasks within WorldGuard regions.
# For help and support, join our Discord server: https://discord.primalmc.fun

# List of WorldGuard region names where auto-farming is enabled
# Example: enabled-regions: [farm1, farm2, wheat-farm]
enabled-regions:
- farm

# Auto-replant settings
auto-replant:
  # Enable or disable automatic replanting of crops
  enabled: true
  
  # If true, crop drops will be added directly to the player's inventory
  # If false, drops will be dropped on the ground
  add-to-inventory: true
  
  # If true and inventory is full, drops will be dropped on the ground
  # If false and inventory is full, drops will be lost
  drop-if-full: false
  
  # Settings for inventory full notifications
  inventory-full-notification:
    # Show a title message when inventory is full
    show-title: false
    
    # Show an action bar message when inventory is full
    show-action-bar: true
    
    # Duration of the title message in ticks (20 ticks = 1 second)
    title-duration: 40

# Automatic crop growth settings
growth:
  # Enable or disable automatic crop growth
  enabled: true
  
  # Time in seconds for crops to grow to maturity
  interval: 60
  
  # Show particle effects when crops grow
  show-particles: true
  
  # Particle type to show when crops grow
  # Available particles: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
  particle: VILLAGER_HAPPY

# Crop protection settings
protection:
  # Prevent players from breaking immature crops
  prevent-immature-break: true
  
  # Show a message when players try to break immature crops
  show-immature-message: false
  
  # Require specific tools to break crops
  require-tools: false
  
  # List of tools that can be used to break crops
  # Only used if require-tools is true
  allowed-tools:
  - WOODEN_HOE
  - STONE_HOE
  - IRON_HOE
  - GOLDEN_HOE
  - DIAMOND_HOE
  - NETHERITE_HOE

Servers Currently Using This Plugin
play.primalmc.fun

Contact us on our Discord server to add your server here.

Support:

Join our Discord for faster help and plugin discussions. Questions get answered quicker there than on other platforms.

RegionFarm is open source, feel free to contribute! If your changes are valuable, we’ll consider merging them into the main release.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more