Docs/ORB Slots/Installation

Installation

Requirements

ResourceRequiredPurpose
ox_libYesCallbacks (lib.callback) and notifications
oxmysqlYes (in practice)Editor, history, jackpot and limits. Without it the resource still starts in a degraded, play-only mode
qbx_core / qb-core / es_extendedYesProvides the player's money
ox_inventoryOnly with Currency.mode = 'chips'Chips as an item
xsoundOptional3D positional music. Without it, audio falls back to the DUI's 2D sound
ox_target / qb-target / qtargetOptionalEye-target interaction. Without a target, it falls back to a proximity [E] Play prompt

Download & Extract

  1. 01Download orb_slots from your Tebex purchase dashboard
  2. 02Extract it into your server's resources/ directory
  3. 03Keep the folder named orb_slots

Configure server.cfg

Dependencies must load before the core and orb_slots:

cfg
ensure ox_lib
ensure oxmysql
ensure xsound        # optional — load before orb_slots
# ... your framework core (qbx_core / qb-core / es_extended) ...
ensure orb_slots

Database

No SQL to import. The 9 tables are created and migrated automatically on first boot (idempotent). You'll see DB lista and Registro: N máquina(s) in the console.

The tables created: orb_slot_history, orb_slot_machines, orb_slot_admin_log, orb_slot_alerts, orb_slot_jackpots, orb_slot_daily, orb_slot_bank, orb_slot_credits and orb_slot_statues.

First Machine

The script ships with no machines placed. In-game:

  1. 01Run /slotcreator (admin) to open the editor and place your first machine
  2. 02If the panel says "no permission", run /slotperms — it diagnoses your permissions and prints the exact server.cfg line to add

File Structure

orb_slots/
├── fxmanifest.lua          # v1.0.0
├── config.lua              # all configuration
├── bridge/init.lua         # qbx / qb / esx bridge
├── shared/
│   ├── catalog.lua         # cabinet → game map
│   └── locale.lua
├── locales/                # ar, en, es, fr, pt
├── client/
│   ├── dui.lua             # cabinet catalog + DUI + game + hotkeys
│   ├── placer.lua          # placement mode (ghost, snap, blips)
│   ├── admin.lua           # NUI ↔ server for /slotcreator
│   └── social.lua          # big win + leaderboard
├── server/                 # spin RNG, jackpot, limits, bank, stats, perms…
├── sql/orb_slots.sql       # reference schema (auto-created, no need to run)
└── ui/dist/                # pre-compiled React UI