ZyloLotto
A lottery plugin with an integrated player/admin GUI, with live animation, and its own database.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
ZyloLotto
ZyloLotto – GUI-Based Lottery System for Minecraft 1.21
English (`en_US`) This version supports English (`en_US`). Currently, English (`en_US`) and English (`en_US`) are available. Set your preferred language in `config.yml`. Additional languages will be added in future updates.
ZyloLotto brings a complete, easy-to-use lottery system to your server. Players can buy tickets, watch live drawings, and enjoy massive winnings.
Everything is fully GUI-based – no complicated commands required.
---
Features
Ticket System
- Players buy tickets directly through a GUI – each ticket is a randomly generated 5-digit code. - All tickets are saved automatically and increase the jackpot.
Jackpot & Economy System
- Fully Vault-compatible, including automatic payout handling. - The jackpot grows with every ticket purchased or via optional autofill.
Animated Drawing
- Winning numbers are displayed through a multi-stage animation with sound effects.
Intelligent Winner Detection
- Automatically detects 2 to 5 correct numbers in the correct positions. - Winnings are distributed based on configurable percentage values.
Drawing & Winner History
- Clean GUIs show past draws, winners, dates, and payout amounts. - All data is stored permanently.
Player Ticket Overview
- Players can browse their tickets in a paginated GUI. - Admins can view or delete tickets directly.
Admin Menu
- Complete lottery management through a dedicated admin menu. - Change jackpot, ticket price, delete winners or draws, modify autofill, enable/disable rollback, and more.
Automatic Drawing
- Optional auto-draw that starts a drawing at regular intervals. - Interval can be set live via chat.
Test Drawing
- Admins can run a test draw with any 5-digit number. - Perfect for testing or events.
SQLite Database
- No setup required – `lotto.db` is created automatically. - The plugin handles saving tickets, drawings, winners, and jackpot values on its own.
---
Commands
| Command | Description | |------------------|----------------------------------------------| | `/lotto` | Opens the main lottery GUI | | `/lottodraw` | Starts a regular lottery drawing | | `/lottotest <12345>` | Starts a test drawing with fixed numbers |
---
LuckPerms Permissions
| Permission | Description | Default | |---------------------|---------------------------------------------------------------|---------| | `zylolotto.admin` | Access to the full admin menu and all admin functions | `op` | | `zylolotto.draw` | Allows executing the official lottery draw (`/lottodraw`) | `op` | | `zylolotto.test` | Allows executing test drawings (`/lottotest`) | `op` | | *(no permission)* | Opens the lottery menu via `/lotto` | `everyone` |
---
Required Plugins
- LuckPerms – For economy integration *(SpigotMC: Vault Plugin)* - LuckPerms – For permissions management *(Modrinth: LuckPerms)*