AutoReplant
Harvest. Replant. Repeat. automatically.
Harvest. Replant. Repeat. automatically.
AutoReplant is a lightweight, feature-rich farming plugin for Spigot/Paper 1.21. The moment a fully-grown crop is broken, it replants itself - keeping farms productive with zero manual effort, while still requiring a seed so your farming economy stays intact.
Every feature has a config toggle, all player-facing text lives in messages.yml, and the plugin runs completely dependency-free.
Features
- Auto harvest & replant - break a mature crop, collect the drops, and the crop replants on the spot.
- Three drop modes - Replant, Double Drops, and Triple Drops. Each is permission-gated and individually enabled/disabled in the config - and the tiers are data-driven, so you can add your own without a plugin update.
- Seed-based economy - replanting consumes one seed, keeping farms balanced (fully toggleable).
- Custom drops system - reward players with items, money, or console commands at configurable chances. Perfect for handing out crate keys, tokens, or economy payouts straight from a harvest.
- Inventory telepathy - harvested drops go straight to the player's inventory, with a configurable full-inventory fallback.
- Farmland trample protection - stop players and/or mobs from destroying crops.
- Per-world control - whitelist or blacklist exactly which worlds AutoReplant runs in.
- Mode persistence -every player's chosen mode is remembered across logout.
- Polish built in - configurable harvest sounds and particles, plus broadcast announcements for rare drops.
- Fully customizable messages - edit every message, or silence any of them.
- Lightweight & dependency-free - Spigot/Paper API, with bStats metrics and a built-in update checker.
Supported Crops
Wheat, Carrots, Potatoes, Beetroot, Nether Wart, and Cocoa Beans.
AutoReplant - Documentation
Installation
- Stop your server.
- Drop AutoReplant.jar into your /plugins folder.
- (Optional) Install Vault + an economy plugin if you want MONEY custom drops.
- Start the server to generate the config files.
- Edit the configs, then run /autoreplant reload.
Commands
- /autoreplant - show your current mode and help.
- /autoreplant <mode> - set your mode: replant, doubledrops, tripledrops, or off.
- /autoreplant reload - reload all config files.
- Alias: /ar
Permissions
- autoreplant.use - access the plugin and commands. (default: true)
- autoreplant.replant - use Replant mode. (default: true)
- autoreplant.doubledrops - use Double Drops mode. (default: op)
- autoreplant.tripledrops - use Triple Drops mode. (default: op)
- autoreplant.admin - use /autoreplant reload. (default: op)
Config Files
- config.yml - modes, telepathy, trampling, per-world control, sounds/particles, and toggles.
- messages.yml - every player-facing message (supports & color codes; leave blank to silence).
- customdrops.yml - bonus drop tables (items, money, commands).
Drop Modes
Every mode replants — the only difference is the drop multiplier. A player can select a mode only if it's enabled in the config AND they hold its permission. Disable a tier in the config and it disappears server-wide. In config.yml, each mode has three settings:
- enabled - true or false
- multiplier - the drop multiplier (1, 2, 3, or your own)
- permission - the node that lets a player select it
Custom Drops
Add bonus drops per crop, or a global table that rolls on every harvest. Three types:
- ITEM - a vanilla or fully custom item (name, lore, model data, glow, enchants).
- MONEY - pays the player via Vault.
- COMMAND - runs any console command(s); use %player% for the player's name.
How It Works
- Breaking a mature crop (with a mode active) harvests it, applies the multiplier, delivers any custom drops, then replants - consuming one seed if require-seed is on.
- Breaking an immature crop is cancelled entirely - the crop is protected, nothing drops, and no seed is used.
- With off selected, crops behave vanilla (telepathy can still apply if enabled).
FAQ
Does it need any dependencies? No - pure Spigot API. Works with paper also. Vault is only needed for MONEY drops.
Can I disable a mode? Yes - set enabled: false on that mode in the config.
Can custom drops give crate keys? Yes - that's what the COMMAND drop type is for.
Where do I change the messages? All player-facing text is in messages.yml.
