ForumCrafts — plugins, themes, extensions, add-ons & tools for real boards — tools for real boardsDownloads & licences →

Lotto Plugin for MyBB

MYBB PLUGIN free
Not rated yet Be the first

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'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

PlatformMyBB plugin
Latest versionv2.0.0
Download size20.2 KB
Released25 Oct 2026
Downloads0
AccessFree — sign in to download
CompatibilityMyBB 1.8.40 tested
PHP8.1+ intended, runtime tested on 8.4.27
DatabaseMySQL / MariaDB
RequiresDF Credits (users.dfcredits) for the currency
LicenceGPL-3.0-or-later
Tablestwo, 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.

d4556da32e1a98ddfcb85a53327f93e135f4cb419d037201f8f3a86a48ef639b

Install 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).

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

VersionReleasedSizeDownloadsChangelog
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

More MyBB plugins

All MyBB plugins