R_Casino is a complete rebuild of the R-Scripts casino, engineered in React for a fast, game-native interface. Players gamble a custom coin balance across six games — and every outcome is rolled on the server, so results can't be spoofed from the UI.
The games
Cases. Open loot cases across four rarity tiers with a smooth spinner reveal. Rewards can be items, weapons, vehicles or cash — all defined per case in the config.
Coinflip. Fast flips with a 3D coin animation, configurable win chance and payout, and a live session history.
Mines. A 5x5 grid, 1–24 mines, multiplier scaling with every safe tile and cash-out at any moment.
Crash. A live rising multiplier with manual and auto cash-out — the crash point stays secret on the server until the round ends.
Plinko. Drop balls down an 8, 10 or 12-row board across three risk levels, with every bucket payout adjustable in the config.
Blackjack. A real six-deck shoe dealt by the server, with hit / stand / double down and configurable house rules.
Key features
Server-validated everything. Case rolls, mine boards, crash points, plinko drops and blackjack hands are generated and paid out server-side with atomic balance updates — NUI spoofing and double-spend tricks simply don't work.
Multi-framework out of the box. Works with ESX (including legacy 1.1), QBCore and QBX, with support for ox_inventory, qb-inventory and Quasar.
One config-driven casino. Bet limits, odds, payouts, plinko multiplier tables, rarity chances and the entire case catalog live in a single heavily-commented config.lua. Toggle any of the six games off with one switch.
r_store integration. Share one coin balance with r_store for a unified economy and add a store shortcut right in the casino header. Fully optional — the casino runs standalone too.
Case restrictions. Lock cases behind Discord roles (trase_discord or Badger_Discord_API) and per-player cooldowns, with badges shown on the case cards.
Big win hype. Optional server-wide notifications when someone wins above a configurable threshold.
Discord logs. Separate webhooks per game — Cases, Coinflip, Mines, Crash, Plinko, Blackjack and Admin — with full player identifiers.
Multi-language. Ships with English and Finnish and follows your ox:locale — add your own language with a simple locale file.
Your brand colour. Set a single accent hex in the config to match your server's style.
NPC & blip. A customizable casino NPC (model, scenario, location), an optional map blip, ox_target / qb-target support, a rebindable hotkey (default F5) and a /casino command.
Built-in commands
/casino
Open the casino — also via the NPC or the hotkey.
/giveCasinoCredits
Admin / console: grant coins to a player.
Developer-friendly
Server exports. Add, remove and read a player's coin balance — integrate with any resource (donations, rewards, minigames).
Atomic balance updates. On every bet and payout, server-side.
SQL auto-insert. Creates its tables on first start, with a debug mode for easy troubleshooting.