29 lines
1.5 KiB
Markdown
29 lines
1.5 KiB
Markdown
---
|
|
type: User Story
|
|
title: "US-008: Control player quest commands"
|
|
description: Let administrators require physical-board interaction by controlling access to player quest commands.
|
|
status: done
|
|
---
|
|
|
|
# US-008: Control player quest commands
|
|
|
|
As an **administrator**, I want to enable or disable player quest commands so that I can require players to use physical quest boards.
|
|
|
|
## Acceptance criteria
|
|
|
|
- [x] Player `/quests` commands are disabled by default.
|
|
- [x] An authorized administrator can use `/questadmin commands enable|disable` with contextual autocomplete.
|
|
- [x] The command setting persists across server restarts.
|
|
- [x] When disabled, `/quests`, `list`, `complete`, `cancel`, and `claim` reject execution with a clear message directing the player to a quest board; nearby creation follows [US-012](us-012-create-quests-near-a-board.md).
|
|
- [x] Disabling commands does not prevent any equivalent action through a registered board.
|
|
- [x] `/questadmin` remains available to authorized administrators regardless of the player-command setting.
|
|
- [x] Unauthorized users cannot change the setting.
|
|
- [x] Automated tests verify the default, persistence, authorization, every gated subcommand, and autocomplete.
|
|
|
|
## Related
|
|
|
|
- [US-002: Create and use shared quest boards](us-002-create-and-use-shared-quest-boards.md)
|
|
- [US-003: Create a block-delivery quest](us-003-create-a-block-delivery-quest.md)
|
|
- [US-007: Expire quests and claim held items](us-007-expire-quests-and-claim-held-items.md)
|
|
- [US-012: Create quests by command near a board](us-012-create-quests-near-a-board.md)
|