Discord Webhooks
ScalaPlot can send automatic notifications to a Discord channel via webhooks, letting you track plot activity directly from your Discord server.
Configuration
Section titled “Configuration”webhooks: claim_webhook_url: https://discord.com/api/webhooks/...... report_webhook_url: https://discord.com/api/webhooks/...... star_webhook_url: https://discord.com/api/webhooks/......| Webhook | Triggering event |
|---|---|
claim_webhook_url |
A player claims a new plot |
report_webhook_url |
A player reports a plot |
star_webhook_url |
A player rates a plot |
How to create a Discord webhook
Section titled “How to create a Discord webhook”- In your Discord server, open Channel Settings → Integrations → Webhooks.
- Create a new webhook and copy the generated URL.
- Paste the URL into the corresponding field in
config.yml. - Reload the configuration with
/plot reload.
If a webhook field is left empty, the corresponding notification simply won’t be sent: you don’t need to configure all three webhooks.