Lotto Plugin for MyBB
MYBB
PLUGIN
free
Members buy tickets with DF Credits, the pot rolls all week, and one winner takes everything on draw night.
A weekly lottery that runs itself inside your board. Members open the booth, buy tickets with their DF Credits, watch the pot grow, and meet in the winners hall after the draw.
What it gives you:
• A booth page with three live tiles — this week's pot, how many tickets are in the drum, and the ticket price — plus a buy form with a quantity field.
• One drum row per member per week, so buying more tickets grows the count instead of creating rows. A per-week cap (10 by default) is enforced politely, and a refused purchase leaves the wallet untouched.
• A Sunday 18:00 task that picks one random ticket, pays the whole pot to that member's wallet, logs the draw and clears the drum for the new week.
• A past-winners hall on the same page — winner, pot size and ticket count, newest first.
• If DF Credits is not installed it says so plainly instead of failing, and the task simply skips its draw.
This is the 2.0 line, rebuilt as a versioned release from the source running on Data-Forums; the original 1.x archive was not recoverable, so this is the honest replacement rather than a recovered original.
What it gives you:
• A booth page with three live tiles — this week's pot, how many tickets are in the drum, and the ticket price — plus a buy form with a quantity field.
• One drum row per member per week, so buying more tickets grows the count instead of creating rows. A per-week cap (10 by default) is enforced politely, and a refused purchase leaves the wallet untouched.
• A Sunday 18:00 task that picks one random ticket, pays the whole pot to that member's wallet, logs the draw and clears the drum for the new week.
• A past-winners hall on the same page — winner, pot size and ticket count, newest first.
• If DF Credits is not installed it says so plainly instead of failing, and the task simply skips its draw.
This is the 2.0 line, rebuilt as a versioned release from the source running on Data-Forums; the original 1.x archive was not recoverable, so this is the honest replacement rather than a recovered original.
What's included
- Booth page with live pot, ticket count and price tiles, plus a quantity buy form
- One drum row per member per week (indexed upsert) — buying more tickets just grows the count
- Per-week buy cap, default 10, enforced without touching the wallet on refusal
- Sunday 18:00 MyBB task draws one random ticket and pays the full pot
- Past-winners hall with winner, pot size and ticket count
- Graceful, non-fatal behaviour when DF Credits is absent
At a glance
| Platform | MyBB plugin |
|---|---|
| Latest version | v2.0.0 |
| Download size | 20.2 KB |
| Released | 25 Oct 2026 |
| Downloads | 0 |
| Access | Free — sign in to download |
| Compatibility | MyBB 1.8.40 tested |
| PHP | 8.1+ intended, runtime tested on 8.4.27 |
| Database | MySQL / MariaDB |
| Requires | DF Credits (users.dfcredits) for the currency |
| Licence | GPL-3.0-or-later |
| Tables | two, created on install |
Requirements
- MyBB 1.8.40 is the tested target.
- PHP 8.1 or newer (runtime tested on 8.4.27).
- DF Credits installed and active — this is the only currency the lotto uses.
- A working task schedule: the draw fires with normal board traffic, like every MyBB task.
Checksum
Verify your download before you upload it to your board.
d4556da32e1a98ddfcb85a53327f93e135f4cb419d037201f8f3a86a48ef639bInstall it
1. Back up your files and database first.
2. Upload the inc/ folder from the archive into your MyBB root, keeping the paths.
3. Admin CP → Configuration → Plugins → Install & Activate.
4. Admin CP → Configuration → Settings → DF Lotto: master switch, ticket price (default 50 credits), max tickets per member per week (default 10).
2. Upload the inc/ folder from the archive into your MyBB root, keeping the paths.
3. Admin CP → Configuration → Plugins → Install & Activate.
4. Admin CP → Configuration → Settings → DF Lotto: master switch, ticket price (default 50 credits), max tickets per member per week (default 10).
Questions people ask
What happens if nobody buys a ticket that week?
An empty drum draws nothing — no payout, no log row, and the pot simply starts again next week.
Does the draw fire at exactly 18:00?
It runs on MyBB's task schedule, which advances with normal board traffic. On a quiet board the draw happens when the next visitors arrive.
What does uninstall remove?
Both lotto tables, the page template, the settings group and the Sunday task. Draw history goes with them by design.
All releases
| Version | Released | Size | Downloads | Changelog |
|---|---|---|---|---|
| v2.0.0 latest | 25 Oct 2026 | 20.2 KB | 0 | # 2.0.0 — 23 October 2026 New versioned replacement; the 1.0 archive was not recovered. - Booth page (misc.php?action=dflotto): three tiles — live pot, your tickets in this week’s drum, ticket price — plus a buy form with quantity. - One drum row per member per week (indexed upsert), so buying more tickets just grows your count; a per-week buy cap (default 10) is enforced politely with the wallet untouched on refusal. - Sunday 18:00 MyBB task draws the winner: one random ticket pick from the drum, the full pot paid to the winner’s wallet, the draw logged, the drum cleared for the new week. - Past-winners hall on the same page: trophy rows with winner name, pot size and ticket count, newest first. - Degrades gracefully when DF Credits is missing: friendly notice on the page and the task simply skips its draw — no fatal errors, ever. |
Ratings & reviews
No ratings yet — the first one will be real, not seeded
Ratings come from registered members only — that is the whole point.
Sign in to rateFree account, 20 seconds. Create one
More MyBB plugins
Credits Plugin for MyBB
The points engine the rest of the suite builds on — earned automatically, spent in the shop.
Support Desk Plugin for MyBB
A private support desk inside your forum — tickets, staff view, no third-party helpdesk.
Achievements Plugin for MyBB
Ten automatic milestone badges — posts, threads, hours online, tenure — on profiles and a…
MyBB Google Authenticator Login
Google Authenticator (TOTP) two-factor authentication for MyBB logins