HarvestFlow v1.11 - The Permissions & Control Update!
This update introduces major features focused on giving server administrators granular control over how players interact with the plugin.
✨ New Features
1. Detailed Permission System
A comprehensive permission system has been added. When enabled via the new config.yml option (general.use-permissions: true), every feature of HarvestFlow can be controlled on a per-player or per-group basis. If disabled, the plugin functions as before, granting access to all players.
- Per-Crop Harvesting: Control which players can harvest specific types of crops (e.g., harvestflow.crops.wheat).
- Feature Toggles: Grant access to specific features like auto-replanting (harvestflow.replant), auto-inventory (harvestflow.inventory.auto), and Area of Effect (AoE) harvesting (harvestflow.area.use).
- Tiered AoE Radius: Assign different AoE radius permissions to different ranks (e.g., harvestflow.area.radius.1 for default players, harvestflow.area.radius.3 for donors).
2. Vanilla Growth Speed Option
A new option, general.use-vanilla-growth-speed: true, has been added to the config.yml. When enabled, the plugin's custom growth timer (regeneration-ticks-per-stage) is completely disabled. Instead, replanted crops will grow using Minecraft's native randomTickSpeed gamerule. This is ideal for servers that want to manage crop growth globally.
Bug Fixes & Improvements
- Fixed a critical bug where the custom growth task would continue running even when vanilla growth speed was enabled. The task is now properly managed and will only run when required.
- The plugin.yml has been updated to properly register all new permissions with their recommended default states (false for features, op for admin commands).
⌨️ Commands
The plugin has one main administrative command with an alias.
- Command: /harvestflow reload
- Alias: /hf reload
- Permission: harvestflow.admin
- Description: Reloads the config.yml and applies all changes, including starting or stopping the custom growth task.
Permissions
This is the complete list of permissions available in HarvestFlow v1.12. When use-permissions is true, these must be granted manually using a permissions plugin like LuckPerms.
- harvestflow.admin (Default: op) - Allows usage of the /harvestflow reload command.
- harvestflow.notify (Default: op) - Notifies the player about available updates when they join the server.
- harvestflow.use (Default: false) - (Required) The base permission needed to use any HarvestFlow feature.
- harvestflow.replant (Default: false) - Allows crops harvested by the player to be automatically replanted.
- harvestflow.inventory.auto (Default: false) - Allows harvested items to be automatically added to the player's inventory.
- harvestflow.area.use (Default: false) - Allows the player to use Area of Effect (AoE) harvesting.
- harvestflow.area.radius.1 (Default: false) - Grants access to AoE harvesting with a 1-block radius (3x3 area).
- harvestflow.area.radius.2 (Default: false) - Grants access to AoE harvesting with a 2-block radius (5x5 area).
- harvestflow.area.radius.3 (Default: false) - Grants access to AoE harvesting with a 3-block radius (7x7 area).
- harvestflow.crops.wheat (Default: false) - Allows the player to harvest Wheat.
- harvestflow.crops.carrots (Default: false) - Allows the player to harvest Carrots.
- harvestflow.crops.potatoes (Default: false) - Allows the player to harvest Potatoes.
- harvestflow.crops.beetroots (Default: false) - Allows the player to harvest Beetroots.
- harvestflow.crops.nether_wart (Default: false) - Allows the player to harvest Nether Wart.