🧠 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.
lua-- Core dependencies ensure oxmysql ensure ox_lib ensure ox_target -- Framework first (never below the TGG casino resources) ensure es_extended -- or: ensure qb-core / ensure qbx_core -- Optional GoldLine assets (recommended when included in your package) -- Props MUST start before the interior ensure tgg-slots-props ensure tgg-slots-interior -- Core resource — must start BEFORE every other TGG casino / slots resource ensure tgg-slots-server -- Table games (this bundle includes them by default) ensure tgg-casino-tables -- Slot / machine games (each depends on tgg-slots-server) ensure tgg-slots-crash -- Mines (lobby / UI name) ensure tgg-slots-ore-mining ensure tgg-slots-fruit-cocktail ensure tgg-slots-lucky-fruits ensure tgg-slots-sweet-spin ensure tgg-slots-golden-frog ensure tgg-slots-orbit ensure tgg-slots-plinko -- Optional: custom slot engine (if included in your package) ensure tgg-slots-custom
🪙 Table games chip item
Table games (roulette, blackjack, poker, etc.) bet with an inventory item — not the casino wallet used for slots.
| Default item | casinochips |
| Rule | 1 item = 1 chip |
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.
| Item | Preview | Download |
|---|---|---|
casinochips | ![]() | casinochips.png |
marked_casino_chips (optional marked chips) | ![]() | marked_casino_chips.png |
ox_inventory — add to ox_inventory/data/items.lua:
lua['casinochips'] = { label = 'Casino Chips', weight = 0, stack = true, close = true, description = 'Casino chips for table games', }, -- Optional: only if you use cashier item exchange / marked chips ['marked_casino_chips'] = { label = 'Marked Casino Chips', weight = 0, stack = true, close = true, description = 'Marked casino chips from item exchange', },
qb-inventory / QBox — add to your shared items file (e.g. qb-core/shared/items.lua):
luacasinochips = { name = 'casinochips', label = 'Casino Chips', weight = 0, type = 'item', image = 'casinochips.png', unique = false, useable = false, description = 'Casino chips for table games', }, -- Optional: only if you use cashier item exchange / marked chips marked_casino_chips = { name = 'marked_casino_chips', label = 'Marked Casino Chips', weight = 0, type = 'item', image = 'marked_casino_chips.png', unique = false, useable = false, description = 'Marked casino chips from item exchange', },
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.

