Pink Frog Scratchcard & Lottery System
Pink Frog Scratchcard is a complete instant win and lottery system for FiveM, combining a scheduled number lottery with four unique scratchcard games in a single resource.
Every result is calculated entirely on the server, ensuring fair gameplay and preventing any client-side manipulation or reward exploits.
Key Features
- Fully server authoritative reward system
- Built-in anti-cheat validation with editable abuse hook
- Supports ESX, QBCore, and QBox
- Compatible with ox_inventory and easily adaptable to other inventories
- Pre-translated languages: EN / PL
- Persistent MySQL storage for tickets, prize pools, and rewards
Game Modes
- Number Lottery – Scheduled draws with a shared jackpot pool.
- Green Bingo – Match three identical symbols on a 3x3 scratch grid.
- Blue Bingo – Alternative bingo card with its own rewards.
- Dollars Diamond – Reveal three matching cash amounts to win.
- The Scratcher – Find enough matching symbols to claim the prize.
Players can enjoy multiple scratchcard styles while participating in an automatically scheduled lottery that continues even when winners are offline.
Economy & Rewards
- Configurable cash and item rewards
- Weighted prize tables
- Custom win chance for every scratchcard
- Lottery jackpot pool with automatic ticket contributions
- Pool multiplier when no player wins a draw
- Offline winners receive rewards automatically upon login
Security & Reliability
- Server-side prize calculation
- Single-use server sessions to prevent replay exploits
- MySQL persistence for lottery tickets and pending rewards
- Editable anti-cheat callback for ban/kick integrations
Presentation
- Smooth animated scratchcard interface rendered on HTML5 canvas
- Coin cursor rendered independently for streaming compatibility
- Reward popups with item previews
- Discord webhook notifications for lottery draws and winners
Configuration
The entire system is designed to be easily configurable without modifying the core resource.
Customizable Elements
- Scratchcard rewards and win chances
- Lottery settings and draw intervals
- Prize pool behavior and rollover multiplier
- Framework and inventory integration
- Localization and UI settings
- Discord webhook messages
Requirements
- ESX / QBOX / QBCORE
- ox_lib
- MySQL database (oxmysql recommended)
- ox_inventory or any inventory system (editable integration)