Webhook alerts
webhooks.yml posts shop events to a chat webhook (Discord-style embeds). Paste a URL into webhook-url, or give each event its own webhook-url, then set enabled: true on the events you want. All three events are off by default.
rotation: placeholders{rotation} {items} {next}.purchase: placeholders{player} {item} {quantity} {price} {rarity}.sold-out: placeholders{item} {player}.
events:
rotation:
enabled: false
webhook-url: ""
title: "The shop has rotated"
# Placeholders: {rotation} {items} {next}
description:
- "{items}"
- "New items in {next}."
color: "#D946EF"
purchase:
enabled: false
Each event also takes title, description (a list of lines) and color. The top-level username and avatar-url set the poster's name and picture.