# Changelog - 6.0.0
## ⚠ Important, Config Overhaul ⚠
This update introduces a complete rewrite of the config file. The new config is meant to be clearer, more flexible, and easier to maintain and add new features to.
## ⚠ Breaking Changes ⚠
- Old values will **NOT** automatically migrate.
- While the plugin will add the new options to your old config, the new comments will not carry over and everything will be put at the top, which will make the file look confusing
- It is strongly recommended to delete or move your existing config to allow the plugin to generate a new one
### Changes
- __Removed__ `left-click` and `right-click` categories in favor of `auto-replant` and `right-click-harvest` categories
- Auto-replant configurations will now be applied regardless of which way the block was broken. Dividing into left and right click added a level of complexity that became exponentially difficult to manage as more features were added.
- **New options**
- `require-seeds` - whether auto-replanting requires the player to have seeds in their inventory. Will consume seeds.
- `delay-ticks` - how long to delay replanting, default 1 tick.
- _Moved and renamed_ all tool configurations to new `tools` section
- `replant-tools` and `replant-tools-item-models` are now in this section and renamed to `enabled-tools` and `required-item-models`
- Added the ability to take away tool durability on harvest and replant
- **ℹ** Please note, this does not affect blocks harvested in the vanilla way, as vanilla harvesting does not remove tool durability. **ℹ**
- **New options** are
- `harvest-uses-durability` - right-click-harvest will use tool durability
- `replant-uses-durability` - automatic replanting will use tool durability
- `prevent-tool-break` - whether the plugin will prevent harvest or auto-replant if a tool is below a certain durability threshold
- `minimum-durability` - the minimum durability for the previous option
- _Moved and renamed_ all sound configurations to new `sounds` section
- `play-sounds` has been renamed to `enabled` under the `sounds` section
- `sound` has been renamed to `break-sound`
- `sound-volume` has been renamed to `volume`
- `sound-pitch` has been renamed to `pitch`
- **New option** has been added: `plant-sound`
- _Moved and renamed_ all particle configurations to new `particles` section
- `break-particles` has been renamed to `enabled` under `harvest` in the `particles` section
- `particle-count` has been renamed to `count` under `harvest` in the `particles` section
- `particle` has been moved under `harvest` in the `particles` section
- **New options**:
- `harvest` section:
- `spread` - how far from the center particles should go
- `replant` section:
- `enabled` - whether replant particles are enabled
- `particle` - what particle to use for replant particles
- `count` - how many particles to spawn
- `spread` - how far from the center particles should go
Optional dependencies
CoreProtect
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }