How the Jackpot Works
Every ticket purchase contributes 50 % of the ticket price directly to the jackpot pool (configurable viajackpot-contribution in config.yml). The pool starts at a minimum floor of $50,000 and accumulates across draws until a winner is found. After a win, the jackpot resets to the configured floor value.
The jackpot and all active tickets are persisted to
lottery.yml in the plugin data folder. The jackpot survives server restarts.Draw Cycle
1
Countdown begins
When the plugin starts (or after each completed draw), a 60-minute countdown begins automatically. The interval is configurable via
draw-interval-minutes in config.yml.2
Server-wide announcements
The server broadcasts countdown messages to all online players at these intervals before the draw:
3
Winning number drawn
At zero, the server picks a random number between 1 and 1,000 (configurable via
number-range). Every ticket held by any player has exactly one number assigned at purchase.4
Winners determined
All tickets whose number matches the draw win. If multiple players hold winning tickets, the jackpot is split equally among them.
5
Discord webhook fires
When there is at least one winner, a Discord webhook notification is sent automatically with the winner name(s) and prize amount.
6
Reset and repeat
All tickets are cleared, the jackpot resets to the floor value if it was claimed, and a new 60-minute countdown starts immediately.
Buying Tickets
Run/lottery (alias: /loteria) to open the ticket purchase GUI. Select how many tickets you want — up to your remaining daily limit. Each ticket costs $5,000 by default and is assigned a unique random number at the moment of purchase. You can hold a maximum of 5 tickets per draw period.
Daily Use Limits
Default Players
Up to 5 tickets per day.
VIP Players
Up to 10 tickets per day (
casinoliric.uses.vip permission).Admins with
casinoliric.uses.admin have unlimited daily ticket purchases. Limits are set under lottery.uses in config.yml.Commands
- Player Commands
- Admin Commands
