prp-dartboard
prp-dartboard is a 1v1 darts minigame where two players compete at a dartboard using the classic 301-style format. Players take turns throwing darts to reduce their score to exactly zero - finishing on a double. The starting score is configurable (101, 301, 501, 701, etc.) for shorter or longer matches.
Features
- 301-style format - players start at a configurable score (default 301) and must reach exactly 0, finishing on a double.
- Bust rule - going below 0 or reaching exactly 1 point skips the turn.
- Lobby system - create a lobby at a dartboard. Nearby players can request to join.
- Wager system - optionally stake cash on the outcome. Both players must be able to afford the bet.
- Spectator mode - other players nearby can enter spectator mode and watch active matches in real time.
- Dynamic board management - admins can place and remove dartboards in-game using a command and target interaction. All changes are persisted in the database and visible to all players immediately.
- Disconnect protection - disconnecting mid-match counts as a forfeit. The opponent wins the wager.
- Webhook logging - wager transactions and dartboard placement/removal are logged to a configurable Discord webhook.