Automated Lottery System
A lightweight, rock-solid economy sink for your Minecraft server.
PRODUCT OVERVIEW
The Automated Lottery System is a fully autonomous Skript-based resource designed to keep your server economy healthy by acting as a consistent, player-driven money sink. Players participate by purchasing tickets, which contributes to a growing jackpot pool. Once the automated timer concludes, a winner is chosen via a weighted randomizer—meaning the more tickets a player holds, the higher their statistical chance of winning the pot.
Unlike standard manual lottery plugins, this script runs entirely in the background, requiring zero intervention from staff. Whether you operate a Survival, Skyblock, or Prison server, this resource provides an engaging gambling mechanic that keeps players active and excited.
VISUAL SHOWCASE
See how the Lottery System looks on your server:
/lottery
/lottery info
/lottery draw
• Dynamic Real-Time Jackpot: The pool starts at 0 (or an admin-set base) and grows instantly every time a player purchases a ticket.
• Weighted Randomizer Logic: True lottery statistics. If a player buys 1 ticket, their name enters the pool once. If they buy 10, their name enters 10 times. Higher ticket volume equals higher mathematical odds.
• 100% Native Time Engine: No messy text parsing or configuration locks. Supports time formats directly (1 minute, 60 minutes) right out of the box.
• Carryover Failsafe Mechanics: If a drawing occurs and no tickets were sold, the jackpot can automatically roll over into the next draw to build hype, or reset cleanly.
• Vault Economy Hooked: Built-in seamless communication with your existing server economy system (e.g., EssentialsX, RoseEconomy) using standard console commands.
• Flawless Reload Engine: Change your pricing or intervals in the file, type /sk reload LotterySystem, and the system perfectly overwrites its active memory instantly.
• Immersive Audio/Visual Effects: Global notes play on draw completions and a distinct leveling sound rings out exclusively for the lucky winner.
-> COMMANDS & PERMISSIONS
Player Commands: (Requires lottery.use)
• /lottery - Opens the main UI text menu showing current pool, ticket pricing, and personal stats.
• /lottery buy [amount] - Safely purchases a specified amount of tickets.
• /lottery info - Displays detailed countdown intervals, ticket limits, and rollover status.
Administrative Commands: (Requires lottery.admin)
• /lottery draw - Manually bypasses the active countdown timer and forces a drawing instantly.
• /lottery setpool [amount] - Artificially sets or inflates the current jackpot pool.
• /lottery reset - Clear the ticket databases and reset the active pool cleanly to 0.
• /lottery enable / disable - Toggle the ticket purchasing system live right from the chat panel.
Staff Permissions:
• lottery.notify - Allows moderators or staff members to silently receive drawing alerts if public global broadcasting is disabled in the options.
Everything can be edited completely right at the top of the file:
Code:
options:
enabled: true # Turn the system on/off by default
ticket.price: 5000 # Cost per individual ticket
draw.interval: 60 minutes # Time span (e.g., 60 minutes = 1 hour)
max.tickets: 10 # Maximum ticket limit per player
carryover: true # If true, empty draws roll over.
announce.server: true # Set to false to broadcast to staff only
• Dependencies: Skript , Vault.
NEED SUPPORT?
Join my official Discord community for quick troubleshooting, updates, or custom feature requests.
