# Spigot Harvest A Spigot 26.2 plugin providing progression-gated, connected crop harvesting and automatic replanting. The approved behavior is specified in the [OKF design bundle](design/index.md). ## Requirements - Spigot 26.2 - Java 17 or newer ## Build ```bash ./gradlew clean check jar ``` The plugin JAR is written to `build/libs/`. ## Commands ```text /harvest /harvest status [wheat|carrot|potato|beetroot] /harvest bossbar ``` The progress boss bar is enabled by default and remains visible for five seconds after its latest update. Sneaking while breaking a mature crop bypasses auto-harvest while still earning progress. ## Administration The `spigotharvest.admin` permission is granted to server operators by default. ```text /harvestadmin status [crop] /harvestadmin setlevel <0|I|II|III|IV|V|VI|VII|VIII|IX|X> /harvestadmin setprogress /harvestadmin reset /harvestadmin reset all confirm ``` Validated progression and presentation defaults are documented in `src/main/resources/config.yml`. UUID-keyed player state is stored in `plugins/SpigotHarvest/state.yml` using atomic replacement where supported. ## Releases Gitea Actions checks pushes and pull requests and stores a development JAR. Pull requests validate conventional commits. Main-branch conventional commits drive semantic releases when the repository defines a `RELEASE_TOKEN` with contents-write permission.