What is Nexal Lottery?
Full-featured lottery system with cron-scheduled automatic draws and timezone support.
- Players buy tickets to enter the prize pool: more tickets means higher win chance. /lottery opens an auto-refreshing GUI with quick-buy buttons (1 to 10,000 tickets), a Custom Amount button that asks for any number and confirms the total cost, and the recent draws labelled 1 draw ago, 2 draws ago and so on.
- An admin GUI covers settings, statistics, draw history, forced draws, alerts and data export/import.
- Configurable ticket prices, per-player purchase limits, and purchase cooldowns.
- Tax system takes a configurable cut of winnings for the server economy.
What you get
Automated Cron Draws
Schedule lottery draws at any interval with cron expressions and timezone support. Automatic winner selection uses weighted random based on ticket count.
Real-Time GUI Dashboard
/lottery opens a live-updating GUI with quick-buy buttons (1 to 10,000 tickets), a Custom Amount button with a cost confirmation screen, an auto-refreshing prize pool and a win chance calculator.
Progressive Warning System
Broadcast reminders at 30m, 10m, 5m, and 1m before each draw to maximize participation. Winner announcements with titles, sounds, and fireworks.
Comprehensive Player Statistics
Track lifetime tickets bought, lotteries won, total money spent and earned, and net profit/loss per player.
Configurable Tax & Limits
Optional tax on winnings flows back to the server economy. Set per-player ticket limits and purchase cooldowns to prevent spam.
Draw History Display
Recent draws are labelled 1 draw ago, 2 draws ago and so on, with the winner, prize, tax, ticket count and date; draws nobody entered show as No winner. The admin GUI keeps the same history.
Purchase Alerts
Optional server-wide broadcast when someone buys tickets. Drives participation by showing other players are entering the pot.
Win Chance Calculator
Real-time percentage displayed in the GUI showing each player's individual probability of winning the current lottery round.
Running in four steps
Buy it
The JAR is in your account right after checkout. Download it again anytime.
Drop the JAR
Put it in your plugins folder.
Restart once
The plugin writes its files and starts working.
Open the menu
Set everything up in game:
/lottery admin
Under the hood
Player6
/lotteryOpen the lottery GUI (the console gets the help menu)nexallottery.use/lottery help [page]Show the help menunexallottery.use/lottery infoOpen the lottery GUInexallottery.use/lottery buy <amount>Buy lottery ticketsnexallottery.buy/lottery statsView your lottery statisticsnexallottery.stats/lottery alertsToggle purchase alertsnexallottery.alerts
Admin10
/lottery adminOpen the admin GUI (the console gets the admin commands)nexallottery.admin/lottery admin help [page]List the admin commandsnexallottery.admin/lottery admin forceDraw a winner nownexallottery.admin/lottery admin exportExport players, current tickets and draw history to export/nexallottery.admin/lottery admin importImport the files in export/ into the current storagenexallottery.admin/lottery admin alerts on <player>Enable alerts for a playernexallottery.admin
nexallottery.*All lottery permissionsDefault: Operatorsnexallottery.useUse /lottery, the help menu and the GUIDefault: Everyonenexallottery.buyBuy lottery ticketsDefault: Everyonenexallottery.statsView lottery statisticsDefault: Everyonenexallottery.alertsToggle purchase alertsDefault: Everyonenexallottery.adminThe admin GUI and all admin commandsDefault: Operators
%nexallottery_tickets%The player's tickets in the current round%nexallottery_total_tickets%All tickets in the current round%nexallottery_prize_pool%The current prize pool, before tax%nexallottery_next_draw%The next draw time (e.g. Jan 01, 18:00)%nexallottery_win_chance%The player's win chance in percent%nexallottery_wins%Lotteries the player won
Every setting and more detail are in the docs.
Read the docsFits your server
- Minecraft
- 1.20 to 1.21
- Server software
- PaperSpigotPurpur
- Other plugins
Works on its own, nothing else needed.
- PlaceholderAPIOptional
- VaultOptional
Patch notes
v1.0.32026-10-11
New2
- Add /lottery admin help for the text list of admin commands
- New pink colour theme, clearly distinct from warning messages, and a restyled lottery GUI
Changed21
- /lottery admin now opens an admin GUI: settings, statistics, draw history, force draw, purchase alerts for everyone, export and import
- Reduce lag: lottery data is now saved in the background
- Export and import now include current tickets and the draw history
- Draws and draw times now follow the configured timezone instead of the server clock
- Keep the last 100 draws in the history (new draw-history-limit setting)
- A draw with no tickets no longer shows a title or drawing announcement to everyone
- Draw warnings now play a sound
- With tax disabled, winner announcements and winner commands now show 0% tax
- Tab completion for /lottery buy amounts
- Placeholders total_tickets, prize_pool and next_draw now work without a player
- Ticket sales pause, without taking any money, while lottery data cannot be saved, and resume by themselves
- The plugin disables itself with a clear error when its storage cannot be loaded, instead of selling tickets it cannot save
- Enabling or disabling purchase alerts for everyone now also covers players who never bought a ticket and new players (new purchase-alerts-default setting)
- /lottery admin is listed in the admin help
- Fireworks for the winner when they are online at the draw; they never hurt anyone (new winner-fireworks setting, also in the admin GUI)
- /lottery now opens the lottery GUI; /lottery help shows the help
- Custom Amount button in the lottery GUI (replaces Buy 100,000): type any number of tickets in chat, then confirm the total cost
- Past draws are labelled "1 draw ago", "2 draws ago", ... with the winner, prize, tickets and date, in the lottery GUI and the admin draw history
- Draws nobody entered are now shown as "No winner" in the draw history
- Messages added in an update now work with an older messages.yml, using the default text until you add them
- Data is saved safely: a crash, power cut or full disk while saving no longer leaves a broken data file
Fixed4
- Fix player statistics and alert settings resetting after a restart
- Fix SQL storage: buying tickets failed with a misleading "not enough money" message and the draw history stayed empty
- Fix "bought 1 tickets" in purchase broadcasts
- Fix the help menu not working on Spigot servers
Before you ask
Will Lottery run on my server?
It runs on Spigot and Paper, plus forks like Purpur, on Minecraft 1.20 to 1.21.
Does it need other plugins?
No, it works on its own. Anything listed as optional adds extras when you have it.
Do I have to touch a config file?
Nope. Everything has a menu in game. The files are still there if you prefer them.
Do I pay for updates?
No. You pay once, and updates for plugins you own are free.
What happens when Minecraft updates?
We update the plugin, and you download the new version from your account.
What if it does not work on my server?
Open a ticket or ask on Discord and we help you set it up. If a technical problem stops it from working, contact us within 7 days of purchase about a refund.
Stuck? Ask the people who wrote it
Come to Discord with a question, a bug or an idea, and talk to the developers directly.
Ask on DiscordCombo with
- Economy
€5.99
Withdraw
Withdraw currencies into tradeable physical items. Supports Vault, TokenManager, PlayerPoints, and more.
- Economy
€5.99
Taxes
Automated tax system with progressive brackets, land taxes, evasion detection, and a government treasury.
- Economy
€14.99
Shops
Player and admin shops with 5 display styles, remote browsing, price suggestions and native holograms.
- Economy
€14.99
Regions
Admin-defined regions that players buy, rent and manage, with auto-renewal, eviction and holograms.








