Skip to content

prp-dartboard

prp-dartboard is a 1v1 darts minigame where two players compete at a dartboard using the classic 301 format. Players take turns throwing darts to reduce their score from 301 to exactly zero - finishing on a double.

Features

  • 301 format - players start at 301 points 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.