Skip to main content

Requirements

  • QB-Core or qbx_core
  • oxmysql
  • ox_lib
  • One of: lb-phone or yseries

Install

  1. Drop hb_diamondonline into resources/.
  2. Import sql/casino.sql into your FiveM database. Creates these tables:
    • casino_credits
    • casino_flyus_rounds, casino_flyus_bets
    • casino_blackjack_hands
    • casino_slots_hands
    • casino_roulette_rounds, casino_roulette_spins
  3. Add to server.cfg after your phone resource and oxmysql / ox_lib:
    ensure hb_diamondonline
    
  4. Edit config_server.lua if you want to change bet limits, payouts, or phone selection. See Configs.
  5. Restart the server. The phone app registers itself with LB Phone or YSeries automatically.
That’s it. Players open the phone, find Diamond Online, and start playing.

Notes

  • config_server.lua is the only file you can edit. Every other Lua file is escrow-protected. Everything the client needs is fetched from the server at runtime, so there is no client config to touch.
  • Round counters resume from the database on resource restart, so round_id stays unique forever.