AreaPlanter
Minecraft plugin enabling planting crops in a configurable area (default 3x3) with one right-click.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
AreaPlanter
AreaPlanter
Plant crops in a configurable area with a single right-click!
AreaPlanter is a Bukkit/Spigot/Paper plugin that enhances the farming experience in Minecraft by allowing players to plant crops in a specified area with a single right-click. No more tedious block-by-block planting!
Example of Planting with radius set to 5:
Features
* Seeds are consumed from the player's inventory first, preserving the stack in their hand whenever possible. Right-click on farmland with seeds to plant crops in a configurable area around the clicked block. * Seeds are consumed from the player's inventory first, preserving the stack in their hand whenever possible. Server admins can easily adjust the planting radius by editing the `config.yml` file. * Seeds are consumed from the player's inventory first, preserving the stack in their hand whenever possible. The plugin consumes only the necessary number of seeds based on the actual planting area and available farmland. * Seeds are consumed from the player's inventory first, preserving the stack in their hand whenever possible. Supports all vanilla Minecraft seeds that can be planted on farmland. * Seeds are consumed from the player's inventory first, preserving the stack in their hand whenever possible. Seeds are consumed from the player's inventory first, preserving the stack in their hand whenever possible.
Installation
1. Configure: Download the latest `AreaPlanter.jar` file from the Releases page. 2. Configure: Place the `AreaPlanter.jar` file into your server's `plugins` folder. 3. Configure: Start or reload your server to enable the plugin. 4. Configure: Adjust the planting radius and seed consumption behavior in the generated `config.yml` file within the `plugins/AreaPlanter` folder.
Configuration
The `config.yml` file in the `plugins/AreaPlanter` folder allows you to customize the plugin's behavior:
* consume-from-inventory-first: Sets the default planting radius (default: 3). Make sure to use an odd number to ensure a central planting block. * consume-from-inventory-first: Enables or disables prioritizing seed consumption from the inventory (default: `true`).
How it Works
1. Seed Consumption: When a player right-clicks on farmland with seeds in their hand, the plugin checks the surrounding area based on the configured radius. 2. Seed Consumption: If there's enough farmland and seeds available, the plugin plants crops around the clicked block. 3. Seed Consumption: * If `consume-from-inventory-first` is enabled, the plugin will first attempt to consume seeds from the player's inventory, leaving the stack in their hand intact if possible. * Otherwise, it will consume seeds directly from the player's hand.
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests on GitHub.
License
This plugin is licensed under the MIT License. See the `LICENSE` file for details.