Home›Java›Mods›dLottery | Weighted Lottery System ✦ GUI ✦ Leaderboards ✦ VIP Tiers
dLottery | Weighted Lottery System ✦ GUI ✦ Leaderboards ✦ VIP Tiers
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 Spigot
[​IMG]
dLottery

Weighted draws · Live GUI · MySQL-backed · Offline payouts
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ What is dLottery?​
dLottery is a fully-featured, database-backed lottery plugin for your server. Players buy tickets using in-game currency, a weighted random draw picks the winner at the end of each round, and the prize pot is paid out instantly — or held for offline players until they return.
No flatfiles. No race conditions. No lost winnings. Pure MySQL.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ Features​
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ Commands​
Aliases: /lottery · /lot · /dlottery · /dlot
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ Permissions​
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ Requirements​
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ 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.
Spoiler: ️ Step 2 — Configure Database
Open plugins/dLottery/database.yml and fill in your MySQL credentials:
Code (Text):
host: your.db.host
port: 3306
database: dlottery # create this database first
username: yourUser
password: yourPassword
The plugin creates all required tables on first start automatically.
Spoiler: ⚙️ Step 3 — Configure Settings
Open plugins/dLottery/settings.yml:
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
To grant a VIP tier: /lp user <name> permission set dlottery.gold true
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.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Made by DZUSILL
​

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

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.

Explore more