1.1 KiB
1.1 KiB
type, title, description, status
| type | title | description | status |
|---|---|---|---|
| User Story | US-004: Configure and persist stature behavior | Give operators validated settings and durable UUID-keyed player scales. | done |
US-004: Configure and persist stature behavior
As a server operator, I want validated stature and launcher settings with durable state so that behavior remains safe and predictable.
Acceptance criteria
- Defaults are minimum
0.4, maximum2.0, adjustment step0.1, launcher threshold0.5, speed1.5, and cooldown20ticks. - Configuration requires finite positive values, minimum no greater than maximum, and a launcher threshold within the supported scale range.
- Invalid startup configuration disables the plugin with a clear error.
- Player scales are stored by UUID using atomic file replacement where supported.
- Updating known state preserves unknown forward-compatible YAML fields.
- Missing state defaults safely to scale
1.0clamped to the configured range. - Saved out-of-range state is clamped before it is applied.
- Configuration and state behavior have automated tests.