Lottery  for RPG logo

Lottery for RPG

Lottery: UI, Jackpot, 2 Drawings per Day, EliteEssentials & More, DE/EN, Fully Configurable

Features

For Players

  • Dedicated lottery UI showing:
    • Current jackpot
    • Account balance
    • Owned tickets
    • Next draw
    • Quick purchase
  • /lotto opens the menu
  • /lotto <amount> instantly purchases tickets
  • /lottoinfo displays lottery status (without exposing internal economy details)
  • Server-wide announcements before each draw and when someone wins
  • Jackpot is funded by ticket sales, with an optional bonus contribution

For Admins

  • Fully configurable through config.json (supports hot reload)
  • Two winning modes:
    • Weighted – always selects a winner
    • Percent – jackpot can roll over if nobody wins
  • Jackpot bonus per ticket (e.g. +1.5% added to the jackpot while players only pay the ticket price)
  • Configurable House Cut (percentage deducted from the jackpot before payout)
  • Custom draw schedules and time zone support
  • Grace period for missed draws (e.g. after a server restart)
  • Manual draws and configuration reloads via /lottoadmin
  • German and English language files included, with support for custom translations

Economy

  • Automatic detection of:
    • EliteEssentials
    • EcoAPI
    • Clicker
    • Otherwise falls back to the built-in economy
  • Automatically switches to EliteEssentials if it becomes available later
  • Built-in economy includes configurable starting balance and currency names, requiring no additional plugins

    Commands

    Command Permission Description
    /lotto Player Opens the lottery menu
    /lotto <amount> Player Instantly buys tickets
    /lottoinfo Player Shows jackpot and lottery information
         
    /lottoadmin draw Admin Starts an immediate draw
    /lottoadmin reload Admin Reloads configuration and language files
    /lottoadmin info Admin Displays scheduler, economy, and language status
         

    Important Configuration Options

    Option Example Description
    language "de" / "en" Language
    ticketPrice 100 Price per ticket
    maxTicketsPerPlayer 50 Maximum tickets per player per round
    winChanceMode weighted / percent Winning logic
    winChancePerTicket 1.0 Weight or percentage chance per ticket
    potBonusPercentPerTicket 1.5 Additional percentage added to the jackpot
    houseCutPercent 0–100 Percentage deducted before payout
    drawTimes ["12:00", "20:00"] Scheduled draw times
    timezone Europe/Berlin Server time zone
    announceBeforeMinutes 5 Minutes before draw announcement
    drawGraceMinutes 15 Grace period for missed draws
    economy.provider auto Economy provider

The Lottery for RPG Team

profile avatar
  • 1
    Projects
  • 6
    Downloads
Donate