# Commands and Permissions

#### Commands

The main command for the plugin is `/harvestflow`, which also has the aliases `/hf` and `/farm`.

* `/harvestflow reload`
  * **Description:** Reloads the `config.yml` file, applying all changes without needing a server restart.
  * **Permission:** `harvestflow.admin`
* `/harvestflow debug`
  * **Description:** Toggles a personal debug mode for the player who runs the command. When enabled, detailed information about the plugin's actions and checks will be sent to you in chat. This is extremely useful for diagnosing why a feature might not be working as expected.
  * **Permission:** `harvestflow.admin`

#### Permissions

HarvestFlow includes a comprehensive permission system that can be enabled or disabled in the `config.yml` (`use-permissions: true/false`). When enabled, players will need the following permissions to access features.

<table data-header-hidden><thead><tr><th width="270.142822265625"></th><th></th><th></th></tr></thead><tbody><tr><td>Permission Node</td><td>Description</td><td>Default</td></tr><tr><td><code>harvestflow.admin</code></td><td>Grants access to all admin commands, like <code>/hf reload</code>.</td><td>OP</td></tr><tr><td><code>harvestflow.use</code></td><td>The base permission required to use any of the plugin's features.</td><td><code>true</code></td></tr><tr><td><code>harvestflow.replant</code></td><td>Allows crops harvested by the player to be automatically replanted.</td><td><code>false</code></td></tr><tr><td><code>harvestflow.inventory.auto</code></td><td>Allows harvested items to be added directly to the player's inventory.</td><td><code>false</code></td></tr><tr><td><code>harvestflow.notify</code></td><td>Notifies the player of new plugin updates when they join the server.</td><td>OP</td></tr><tr><td><strong>Area of Effect (AoE)</strong></td><td><br></td><td><br></td></tr><tr><td><code>harvestflow.area.use</code></td><td>Allows the player to use AoE harvesting.</td><td><code>false</code></td></tr><tr><td><code>harvestflow.area.radius.1</code></td><td>Allows the player to use AoE with a radius of 1 (3x3 area).</td><td><code>false</code></td></tr><tr><td><code>harvestflow.area.radius.2</code></td><td>Allows the player to use AoE with a radius of 2 (5x5 area).</td><td><code>false</code></td></tr><tr><td><code>harvestflow.area.radius.3</code></td><td>Allows the player to use AoE with a radius of 3 (7x7 area).</td><td><code>false</code></td></tr><tr><td><strong>Crop Specific</strong></td><td><br></td><td><br></td></tr><tr><td><code>harvestflow.crops.wheat</code></td><td>Allows the player to harvest WHEAT with HarvestFlow features.</td><td><code>false</code></td></tr><tr><td><code>harvestflow.crops.carrots</code></td><td>Allows the player to harvest CARROTS with HarvestFlow features.</td><td><code>false</code></td></tr><tr><td><code>harvestflow.crops.potatoes</code></td><td>Allows the player to harvest POTATOES with HarvestFlow features.</td><td><code>false</code></td></tr><tr><td><code>harvestflow.crops.beetroots</code></td><td>Allows the player to harvest BEETROOTS with HarvestFlow features.</td><td><code>false</code></td></tr><tr><td><code>harvestflow.crops.nether_wart</code></td><td>Allows the player to harvest NETHER_WART with HarvestFlow features.</td><td><code>false</code></td></tr></tbody></table>
