── ENGLISH ──
RS Lotto — Lottery System with Jackpot Rollover
Full lottery system with number picking, automatic daily draws, jackpot rollover, and animated draw announcements to all players. Uses a lotto item from inventory to submit tickets.
Features:
- Pick X numbers from Y range (fully configurable, e.g. 4 from 20)
- Jackpot grows with each ticket sold (base + per ticket amount)
- Jackpot rollover when no winner — carries to next draw
- Automatic daily draw at configurable time
- 30 min pre-draw announcement to all players
- Animated number reveal with sound effects on draw
- Winner gets prize to bank account, split if multiple winners
- Random number generator with duplicate combo prevention
- Ticket count, win probability & submitted combos tracking per player
- Console commands for manual draw & giving tickets
- Discord webhook logging (draw results, winners, jackpot)
- Database: tickets, draw history, persistent jackpot rollover
- Modern minimalist dark UI
- ESX support
- All validation server-side
Config files (not encrypted):
- config.lua — Numbers, range, draw time, jackpot settings, item name, locales, notify function
- sv_config.lua — Webhook URL, console commands, log function
- colors.css — UI & jackpot colors
Requirements: ESX, oxmysql, a "lotto" item in your inventory system
── DEUTSCH ──
RS Lotto — Lottosystem mit Jackpot Rollover
Komplettes Lottosystem mit Zahlenauswahl, automatischen taeglichen Ziehungen, Jackpot Rollover und animierten Ziehungs-Ankuendigungen an alle Spieler. Nutzt ein Lotto-Item aus dem Inventar.
Features:
- X Zahlen aus Y waehlen (frei konfigurierbar, z.B. 4 aus 20)
- Jackpot waechst mit jedem verkauften Ticket (Basis + pro Ticket)
- Jackpot Rollover bei keinem Gewinner — wandert in naechste Runde
- Automatische taegliche Ziehung zu konfigurierbarer Uhrzeit
- 30 Min Vorankuendigung an alle Spieler
- Animierte Zahlenaufdeckung mit Sound bei Ziehung
- Gewinner erhaelt Preis auf Bankkonto, geteilt bei mehreren Gewinnern
- Zufallsgenerator mit Duplikat-Kombinations-Schutz
- Ticket-Anzahl, Gewinnwahrscheinlichkeit & eingereichte Kombos pro Spieler
- Konsolen-Commands fuer manuelle Ziehung & Ticket-Vergabe
- Discord Webhook Logging (Ziehungsergebnisse, Gewinner, Jackpot)
- Datenbank: Tickets, Ziehungs-Historie, persistenter Jackpot Rollover
- Modernes minimalistisches Dark UI
- ESX Support
- Alle Validierung serverseitig
Config-Dateien (nicht verschluesselt):
- config.lua — Zahlen, Range, Ziehungszeit, Jackpot, Item, Locales, Notify
- sv_config.lua — Webhook URL, Konsolen-Commands, Log Funktion
- colors.css — UI & Jackpot Farben
Voraussetzungen: ESX, oxmysql, ein "lotto" Item im Inventar