Diamond Online
In-phone casino for QB-Core and QBox. flyUS crash, blackjack, slots, and shared-round roulette. Server-authoritative wallet, provably fair seeds, anti-extractor config.
Games
- flyUS. Crash game. Players bet during a betting phase, the multiplier starts climbing, they cash out before it crashes. Everyone watching the round sees the same multiplier tick up in real time. Provably fair: the seed hash is published before the round, the server seed is revealed after.
- Blackjack. Single-player. 6-deck shoe by default, dealer stands on 17, 3:2 on blackjack. The card animation runs in the UI, but the bet is deducted and the payout is decided server-side, with anti-replay so a stuck client can't settle the same hand twice.
- Slots. Three-reel, weighted symbols. Standard 3-of-a-kind payouts plus an optional pair payout. Symbols and weights live on the server, so the actual probabilities never reach the client.
- Roulette. Single-zero European wheel, shared round. Red, black, or green. Pocket is derived from
HMAC_SHA256(serverSeed, roundId)so you can verify any round after it ends.
How it works
- Players open the phone, find Diamond Online, deposit cash from their bank into casino credits, and play.
- Credits are 1:1 with cash. Withdrawing puts the money back in their bank account.
- Every bet, payout, and round result is written to MySQL. There's a profile tab showing total wagered, total won, last 100 bets across all four games, and a role that levels up based on lifetime winnings.
Phone support
Auto-detects LB Phone and YSeries. Force either one via config if you want to.
Framework support
Auto-detects QB-Core and qbx_core. Choose which bank account it pulls from (bank, cash).
Requirements
oxmysqlox_lib- A phone resource (
lb-phoneoryseries) - QB-Core or qbx_core
Install
- Drop
hb_diamondonlineintoresources/. - Import
sql/casino.sql. ensure hb_diamondonlineafter your phone and ox_lib/oxmysql.- Edit
config_server.luaif you want different bet limits or payouts. - Restart.
