LiricCasino can send rich Discord embeds automatically whenever a notable event occurs in-game — a jackpot on the Slots 777, an unusually large win on any game, or a Lottery draw with a winner. All webhook behaviour is configured inDocumentation Index
Fetch the complete documentation index at: https://pumpkings.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
webhooks.yml, and every webhook type is disabled by default so you opt in only to the notifications you want.
Webhook types
Jackpot
Fires when a player lands the 777 jackpot on the Slot Machine (100× multiplier). Ideal for hyping big moments on your Discord server.
Big Win
Fires when any player wins an amount that exceeds the configurable
min-amount threshold (default: $50,000) on any game.Lottery Winner
Fires when a scheduled or force-started lottery draw produces a winner, showing the winning number and prize amount.
webhooks.yml structure
Embed placeholders
| Placeholder | Available in | Description |
|---|---|---|
{player} | jackpot, big-win, lottery | The player’s Minecraft username |
{amount} | jackpot, big-win, lottery | The formatted winning amount |
{game} | jackpot, big-win | The name of the game where the win occurred |
{number} | lottery | The winning lottery number drawn |
Setting up a Discord webhook
Open your Discord server settings
In Discord, right-click your server name and choose Server Settings, then navigate to Integrations → Webhooks.
Create a new webhook
Click New Webhook. Give it a recognisable name (e.g.
LiricCasino) and select the channel where notifications should appear. You can also upload a custom avatar.Paste the URL into webhooks.yml
Open
plugins/CasinoLiric/webhooks.yml and replace the placeholder URL for each webhook type you want to enable:Enable the master switch and individual webhooks
Set the top-level
enabled flag to true, and confirm that you have set a valid URL for each webhook type you intend to use. Webhook types with a placeholder URL (YOUR_ID/YOUR_TOKEN) will not fire.Additional configuration tips
You can point multiple webhook types at the same Discord channel (or different channels) simply by using the same or different URLs. There is no limit to how many channels you notify.
Role mentions
Setmention-role to notify a role when a webhook fires:
"@everyone". Leave the value empty ("") for no mention.
Adjusting the big-win threshold
If you find the big-win webhook fires too often or too rarely, raise or lowermin-amount to match your server’s economy scale:
/casino reload after every change to webhooks.yml to apply it immediately.