Using it

Announcements and Discord webhook

StrikeBoards can announce three things in chat and, optionally, to a Discord webhook: a new #1 on a board, a win streak milestone, and the final top 3 when a season ends. No announcements are sent while stats are still loading after a restart or a season reset.

announcements:
  new-leader:
    # Someone takes #1 on one of these boards.
    enabled: true
    chat: true
    boards:
      - global-elo
  streaks:
    # A player reaches one of these win streaks.
    enabled: true
    chat: true
    milestones: [10, 25, 50, 100]
  season-end:
    # /sb season reset posts the final top 3 of these boards.
    chat: true
    boards:
      - global-elo

Discord webhook#

  1. In Discord: Server Settings, Integrations, Webhooks, create one and copy its URL.
  2. Run /sb set webhook <url> (or paste it into discord.webhook-url).
  3. Run /sb webhook test and check your channel.
discord:
  webhook-url: ""
  username: ""
  color: "#7c5cff"
  avatar-provider: "https://mineskin.eu/head/{name}/100"
  events:
    new-leader: true
    season-end: true
    streaks: false

Each embed has the player's head and a profile link. Streak messages to Discord are off by default (events.streaks: false).