feat(progress): show unlock status and boss bar
This commit is contained in:
@@ -49,3 +49,10 @@
|
||||
- Added player-only usage and positional completion for `enabled`, `unlocked`, `undo`, and boolean values without exposing the administrative command tree.
|
||||
- Registered configurable player messages and kept `treefeller.command` separate from `treefeller.admin`.
|
||||
- Verified state preservation, reporting, autocomplete, metadata, and the complete build with `./gradlew clean check jar`.
|
||||
|
||||
### US-002 progress visibility completed
|
||||
|
||||
- Added `/treefeller unlocked` with every species' durable unlocked state or current count and live threshold.
|
||||
- Added one configurable boss bar per player with species and numeric progress, live threshold evaluation, timeout replacement, and five-second default cleanup.
|
||||
- Suppressed progress presentation for all ineligible events and removed it immediately when a species unlocks.
|
||||
- Verified command output, player-only completion, boss-bar presentation and timeout, cleanup, and the complete build with `./gradlew clean check jar`.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
type: User Story
|
||||
title: "US-002: View tree progress"
|
||||
description: Show players which species are unlocked and their progress toward the remaining unlocks.
|
||||
status: backlog
|
||||
status: done
|
||||
---
|
||||
|
||||
# US-002: View tree progress
|
||||
@@ -11,16 +11,16 @@ As a **player**, I want clear unlock and progress information so that I know whi
|
||||
|
||||
## Acceptance criteria
|
||||
|
||||
- [ ] `/treefeller unlocked` lists every supported species in a readable locked or unlocked state.
|
||||
- [ ] Each locked species includes the player's current qualifying-block count and active threshold.
|
||||
- [ ] Each unlocked species is clearly distinguished and is not presented as needing further progress.
|
||||
- [ ] Mining a qualifying block for a locked species displays or updates a boss bar with the species name and numeric progress toward its active threshold.
|
||||
- [ ] The boss bar reflects a changed threshold the next time qualifying progress is recorded.
|
||||
- [ ] The boss bar disappears after no qualifying block has been mined for five seconds by default.
|
||||
- [ ] Mining another qualifying block before timeout restarts the configured visibility period.
|
||||
- [ ] Boss-bar visibility duration, text, color, and style are configurable.
|
||||
- [ ] Progress feedback is not displayed for cancelled, ineligible, automatically felled, or already-unlocked blocks.
|
||||
- [ ] `/treefeller unlocked` and its autocomplete expose no administrative functionality.
|
||||
- [x] `/treefeller unlocked` lists every supported species in a readable locked or unlocked state.
|
||||
- [x] Each locked species includes the player's current qualifying-block count and active threshold.
|
||||
- [x] Each unlocked species is clearly distinguished and is not presented as needing further progress.
|
||||
- [x] Mining a qualifying block for a locked species displays or updates a boss bar with the species name and numeric progress toward its active threshold.
|
||||
- [x] The boss bar reflects a changed threshold the next time qualifying progress is recorded.
|
||||
- [x] The boss bar disappears after no qualifying block has been mined for five seconds by default.
|
||||
- [x] Mining another qualifying block before timeout restarts the configured visibility period.
|
||||
- [x] Boss-bar visibility duration, text, color, and style are configurable.
|
||||
- [x] Progress feedback is not displayed for cancelled, ineligible, automatically felled, or already-unlocked blocks.
|
||||
- [x] `/treefeller unlocked` and its autocomplete expose no administrative functionality.
|
||||
|
||||
## Related
|
||||
|
||||
|
||||
Reference in New Issue
Block a user