Installation
Requirements
Download & Extract
- 01Download
orb_slotsfrom your Tebex purchase dashboard - 02Extract it into your server's
resources/directory - 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_slotsDatabase
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:
- 01Run
/slotcreator(admin) to open the editor and place your first machine - 02If the panel says "no permission", run
/slotperms— it diagnoses your permissions and prints the exactserver.cfgline 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