ModsJava
dLottery | Weighted Lottery System ✦ GUI ✦ Leaderboards ✦ VIP Tiers
Java mod listed for Minecraft 1.16–1.21. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotdLottery
Weighted draws · Live GUI · MySQL-backed · Offline payouts
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ What is dLottery?
No flatfiles. No race conditions. No lost winnings. Pure MySQL.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ Features
✦ Features
- Weighted random draw — more tickets = higher chance, not guaranteed win
- ️ Live GUI — opens with /lottery, shows pool, timer and your tickets in real time
- Leaderboard GUI — sort by winnings, ticket count, win count or biggest single win
- Offline payouts — winner gets paid on next login if they're not online
- VIP ticket tiers — permission-based ticket caps (iron/gold/diamond/emerald ranks)
- Tax system — configurable % taken from each pot
- Title announcements — cinematic winner reveal on draw
- Winner history — full round-by-round winner log
- ️ MySQL-backed — survives restarts, no state loss
- Vault economy — works with EssentialsX, CMI, and any Vault-compatible plugin
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ Commands
Aliases:
/lottery · /lot · /dlottery · /dlot
✦ Commands
- /lottery — open the lottery GUI
- /lottery buy <amount> — purchase tickets
- /lottery status — show current round info
- /lottery history — view recent winners
- /lottery top— open leaderboard GUI
- /lottery shuffle(op) — manually trigger a draw
- /lottery reset (op) — refund all tickets & reset round
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ Permissions
✦ Permissions
- dlottery.gui — open GUI (default: true)
- dlottery.buy — buy tickets (default: true)
- dlottery.status — view status (default: true)
- dlottery.history — view history (default: true)
- dlottery.top — view leaderboard (default: true)
- dlottery.admin — admin help (default: op)
- dlottery.shuffle — manual draw (default: op)
- dlottery.reset — reset round (default: op)
- dlottery.iron / gold / diamond / emerald — VIP ticket tier perms
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ Requirements
✦ Requirements
- Paper or Spigot 1.16.5+
- MySQL or MariaDB database
- Vault
- Any Vault-compatible economy plugin (EssentialsX, CMI, etc.)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ Setup Guide
✦ Setup Guide
Spoiler: Step 1 — Install
Drop
dLottery.jar into your
/plugins/ folder.
Make sure Vault and your economy plugin are already loaded.
Start the server — config files generate automatically.
Make sure Vault and your economy plugin are already loaded.
Start the server — config files generate automatically.
Spoiler: ️ Step 2 — Configure Database
Open
plugins/dLottery/database.yml and fill in your MySQL credentials:
The plugin creates all required tables on first start automatically.
Code (Text):
host: your.db.host
port: 3306
database: dlottery # create this database first
username: yourUser
password: yourPassword
port: 3306
database: dlottery # create this database first
username: yourUser
password: yourPassword
Spoiler: ⚙️ Step 3 — Configure Settings
Open
plugins/dLottery/settings.yml:
To grant a VIP tier:
/lp user <name> permission set dlottery.gold true
Code (Text):
lossTime: 60 # seconds between draws
cooldown: 2 # seconds between ticket purchases per player
minPlayers: 2 # minimum unique players for draw to trigger
ticketPrice: 3000 # cost per ticket in economy currency
taxesPercent: 5 # % of pot withheld as tax
maxTickets:
dlottery:
default: 1 # all players
iron: 2 # players with dlottery.iron permission
gold: 3
diamond: 4
emerald: 5
cooldown: 2 # seconds between ticket purchases per player
minPlayers: 2 # minimum unique players for draw to trigger
ticketPrice: 3000 # cost per ticket in economy currency
taxesPercent: 5 # % of pot withheld as tax
maxTickets:
dlottery:
default: 1 # all players
iron: 2 # players with dlottery.iron permission
gold: 3
diamond: 4
emerald: 5
Spoiler: Step 4 — Restart & Verify
Restart the server. Connect to your MySQL and confirm tables were created.
Run /lottery in-game — the GUI should open with an active round.
Run /lottery in-game — the GUI should open with an active round.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Made by DZUSILL
Made by DZUSILL
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.16, 1.17, 1.18
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
dLottery | Weighted Lottery System ✦ GUI ✦ Leaderboards ✦ VIP Tiers is a free Minecraft Java mod. Compatible with Minecraft 1.16, 1.17, 1.18, 1.19 and newer. Downloaded 15 times (via Spigot). Download it and open it directly in the game.