LuckyLotto icon

LuckyLotto -----

A light weight lottery plugin with jackpot, prizes!



** This plugin requires Vault to function. **
Description:
Players can purchase tickets, win small cash prizes, or even hit the jackpot! Pick your own numbers or go random, claim winnings from a clean in-game menu, and climb the winners leaderboard. The plugin ensures a fair experience with built-in anti-cheat measures and automatically growing jackpots as more tickets are sold.

Features:
  • In-Game Menu: /lotto opens a clickable menu to buy tickets, claim winnings and watch the live jackpot.
  • Pick Your Own Numbers: Choose your six numbers or let the plugin pick at random.
  • Multiple Ticket Purchases: Buy up to 10 lines on a single ticket.
  • Realistic Lottery System: Tickets add to the jackpot, and draws occur at configurable intervals.
  • Tiered Cash Prizes: Win the jackpot with 6 matches or smaller prizes by matching 2-5 numbers.
  • Live Draws: Titles, sounds, fireworks and an action-bar countdown before every draw.
  • Leaderboard & Stats: /luckytop ranks the biggest winners and /luckystats shows your personal totals.
  • Anti-Cheat Measures: Tickets are tagged server-side, bound to their draw and can only be claimed once.
  • Customizable: Adjust ticket cost, jackpot growth, draw intervals, revenue split and prize tiers via config.
  • Automatic Ticket Check: Configurable in `config.yml` to auto-check tickets after each draw.
  • Multi-Currency Support: Automatically detects and uses Vault-supported currencies.

Commands:
  • /buylucky [lines] - Purchase a ticket with 1-10 random lines.
  • /buylucky pick <6 numbers> - Purchase a ticket with your own numbers.
  • /checklucky - Claim your tickets against the latest draw.
  • /lotto - Open the LuckyLotto menu.
  • /luckystats - View the jackpot, prize pool, next draw time and your stats.
  • /luckytop - View the top winners.
  • /luckylotto reload|draw - Admin: reload the config or force a draw.
How It Works:
Players buy tickets for a chance to win the jackpot or smaller prizes. The jackpot grows as more tickets are purchased. After each draw, players can claim their tickets from the menu, right-click, or /checklucky, and the system pays out any winnings automatically. Each ticket is tied to its own draw and can only be claimed once. The plugin also supports picking your own numbers, multiple lines per ticket, automatic ticket checking, a winners leaderboard and multi-currency support.


Configuration:
Customize the ticket cost, starting jackpot, prize pool, draw intervals, revenue split and prize tiers in the config.yml file.

Code (YAML):

# LuckyLotto config

# Cost per line on a ticket
ticket-cost
: 100.0

# Jackpot and pool to start with on a fresh install
starting-jackpot
: 10000.0
starting-prize-pool
: 0.0

# Time between draws
draw-interval
:
  days
: 0
  hours
: 1
  minutes
: 0

# Auto-claim tickets for everyone online when a draw happens
automatic-ticket-check
: true

# Show the top winners menu
lottery-leaderboard
: true

# Let players choose their own numbers with /buylucky pick
allow-pick-numbers
: true

# Show a countdown on the action bar in the last minute before a draw
action-bar
: true

# Where ticket money goes. These are shares and are normalised, sink is burned
revenue
:
  jackpot
: 0.4
  pool
: 0.5
  sink
: 0.1

# Share of the prize pool paid per number matched (6 always wins the jackpot)
payouts
:
  '5'
: 0.20
  '4'
: 0.10
  '3'
: 0.05
  '2'
: 0.02

# Fewest matches needed to win anything
min-match
: 2

# How many past draws stay claimable, tickets older than this expire
history-size
: 100

 

[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
Resource Information
Author:
----------
Total Downloads: 143
First Release: Aug 19, 2024
Last Update: May 31, 2026
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings