2.3 KiB
2.3 KiB
type, title, description, status
| type | title | description | status |
|---|---|---|---|
| User Story | US-018: Complete Tyrant commands contextually | Replace Bukkit's player-name fallback with valid context-aware command suggestions. | done |
US-018: Complete Tyrant commands contextually
As a player or administrator, I want contextual command suggestions so that I can discover valid Tyrant commands and arguments.
Acceptance criteria
/tyrantsuggests its available subcommands instead of arbitrary player names./tyrant buysuggests Tyrant unlock names./tyrant assignsuggestsassassin,fixer, andtamer, followed by eligible online players./tyrant relinquishsuggestsconfirm./vigilantesuggests its available subcommands./vigilante invitesuggests eligible online recruitment candidates./vigilante dismisssuggests current online Followers./tyrantadminsuggestions are visible only to senders withspigottyrant.admin./tyrantadmin startsuggests online Tyrant and Vigilante candidates./tyrantadmin resetsuggestsconfirm./tyrantadmin arenasuggestssetandstatus.- Suggestions are filtered case-insensitively by the partially typed argument.
- Suggestions never include syntactically invalid options for the current argument position.
- Console completion works for administrative commands without exposing player-only commands as executable console actions.
- Existing command execution behavior remains unchanged.
Validation
Automated tests verify root syntax, unlocks, classes, confirmations, eligible recruits, current Followers, permission gating, online administrative candidates, argument positions, and case-insensitive prefix filtering. The complete ./gradlew clean check jar lifecycle passes.