🧠 Installation
🪜 First steps
- Install the latest stable version of MariaDB (used with oxmysql).
- Add all dependencies listed below and follow their installation instructions.
- Place the Casino & Slots resources in your resources folder (for example a
[slots]folder). - Add them to
server.cfgin the exact order shown in Resource positioning. - Start the server once so SQL tables can be created automatically (no manual SQL import).
🔴 Dependencies
- ox_lib — follow their installation instructions.
- oxmysql — follow their installation instructions.
- ox_target — follow their installation instructions. Recommended.
- Your framework resource (QBCore / QBox / ESX) — must start before the TGG casino resources.
🖼️ Frameworks
Compatible with QBCore, QBox, and ESX.
With Config.Framework = 'auto' (default), the script auto-detects the framework through the built-in bridge. You usually do not need to change this.
🎯 Resource positioning
Add this to server.cfg (or your equivalent ensure list). Order matters.
🪙 Table games chip item
Table games (roulette, blackjack, poker, etc.) bet with an inventory item — not the casino wallet used for slots.
You must register this item in your inventory script (the pack does not add it for you). Use the same name as in Admin Settings.
Inventory icons (download)
Drop these PNGs into your inventory images folder (ox_inventory/web/images/, qb-inventory/html/images/, etc.). File names match the default item names.
ox_inventory — add to ox_inventory/data/items.lua:
qb-inventory / QBox — add to your shared items file (e.g. qb-core/shared/items.lua):
Change the item name (Admin UI)
- Open the Admin dashboard (
/slotdashboardor machine lobby → admin). - Go to Settings.
- Find Table games currency → Chip item.
- Set the inventory item name (default
casinochips), save, then restarttgg-casino-tablesso tables pick it up.
Venue cashiers buy/sell this same item for bank/cash. See Cashiers & economy.
✅ Notes
- Each game resource depends on
tgg-slots-server. - You can leave all listed games enabled, or stop / remove game resources you do not want to run.
- This release is a bundle: include
tgg-casino-tables(table games) by default. Only skip it if your package does not include table games. - Database tables migrate automatically on first run (and on later updates) — no manual
.sqlfile to import. - OneSync is required (
/onesyncdependency on the core resources).
➡️ Next steps
- Configuration — editable config files and what belongs in Admin Settings.
- Admin dashboard — permissions,
/slotdashboard, and admin tabs. - Integrations — framework, target, inventory, banking, and phone.

