1.8 KiB
1.8 KiB
type, title, description, status
| type | title | description | status |
|---|---|---|---|
| User Story | US-006: Configure plugin behavior | Let operators tune cooldown tiers and run the plugin with clear validation, messages, permissions, and durable state. | done |
US-006: Configure plugin behavior
As a server operator, I want safe configuration and durable state so that Trigger Spawn behaves predictably across worlds and restarts.
Acceptance criteria
- The one-kill cooldown is independently configurable and defaults to 28,800 seconds.
- The two-kill cooldown is independently configurable and defaults to 14,400 seconds.
- The three-kill cooldown is independently configurable and defaults to 3,600 seconds.
- Configured cooldowns must be positive and representable safely by the plugin.
- Invalid required configuration prevents partial initialization and produces a clear server log message.
- Player-facing messages use clear built-in wording, readable colors, and friendly duration formatting.
- Ordinary players do not require a plugin permission node to execute
/spawn; eligibility is controlled by progression, grants, cooldowns, and bans. - Administrative commands require
triggerspawn.admin. - Server operators receive
triggerspawn.adminby default. - Boss progress, grants, bans, cooldown timestamps, latest known names, and per-world spawn settings persist across clean restarts.
- Persisted data is handled defensively so corrupt or invalid records do not silently grant access.