ModsJava
AutoFarmRegions - Automatic Farming in WorldGuard Regions
Java mod listed for Minecraft 1.19–1.21. Download on the author's site.
⬇ Download on SpigotAutoFarmRegions
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 AutoFarmRegions 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.
Commands
Permissions
Support
Join our Discord for faster help and plugin discussions. Questions get answered quicker there than on other platforms.
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
- Instantly replants and adds crops to inventory on break
- Automatically grows crops after a configurable delay
- Blocks immature crops from being broken
- Tool restrictions (e.g. hoes only)
- Fully region-based via WorldGuard
- Lightweight and open source
All features are restricted to defined WorldGuard regions, ideal for public farms or spawn zones.
Why use this plugin?
I personally use AutoFarmRegions 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.
Spoiler: 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
Code (YAML):
# 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
Spoiler: Servers Currently Using This Plugin
Commands
- /autofarm reload - Reload the configuration
- /autofarm list - List enabled regions
- /autofarm add <region> - Add a region
- /autofarm remove <region> - Remove a region
Permissions
- autofarmregions.admin - Access to all plugin commands
Support
Join our Discord for faster help and plugin discussions. Questions get answered quicker there than on other platforms.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.19, 1.20, 1.20.6
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
AutoFarmRegions - Automatic Farming in WorldGuard Regions is a free Minecraft Java mod. Compatible with Minecraft 1.19, 1.20, 1.20.6, 1.21. Downloaded 406 times (via Spigot). Download it and open it directly in the game.