πΏ Configuration
Settings for TGG Casino & Slots live in two places. Use the right one for the job.
| Where | What it controls | When to use it |
|---|---|---|
Resource config files (config/*.lua) | Framework, target, inventory, phone, banking, safezone, admin ACE, jackpot screens/TVs, CCTV models, table models/controls/bet tiers | Server setup and integrations |
| Admin dashboard β Settings (database) | Lobby look, currency format, cashier, ranks, big wins, per-game bet options, table-game chip item / limits/timers | Day-to-day tuning without restarting |
For framework bridges and third-party scripts, see Integrations.
For the in-game Admin UI and DB-backed Settings, see Admin dashboard.
Primary config β tgg-slots-server
Open tgg-slots-server/config/config.lua. This is the main editable file for the pack.
Key options
| Option | Purpose |
|---|---|
Config.Framework | Your framework: auto, qbox, qb, or esx. Prefer auto unless you need a fixed choice. |
Config.Target | Target system name (default ox_target). Bridge logic lives in client/custom/target/. |
Config.Inventory | Inventory adapter: auto or a supported script (ox_inventory, qb-inventory, qs-inventory, β¦, standalone). |
Config.Phone | Phone messaging for promo blasts: auto, yseries, lb-phone, or custom. |
Config.CasinoSafezone | Optional no-combat zone(s) around the casino (requires ox_lib zones). Toggle restrictions and add sphere/box zones. |
Config.Death | While a slot session is open: warn on low health and close the session on death so wallet state stays consistent. |
Config.AdminAcePermission | ACE object for Admin UI, placement, and admin callbacks (e.g. admin or qbcore.admin). Grant it in server.cfg. |
Config.AdminCommandsPermission | ox_lib command principal only (e.g. group.admin). Separate from ACE. |
Config.JackpotScreen | DUI jackpot panels on slot machines (enable, distance, promo attract, brand posters). |
Config.JackpotTVs | World TV boards that show jackpots / recent winners. Models is the whitelist of props admins may assign. |
Config.CCTV.Models | Whitelist of CCTV prop models for admin placement. |
Short example (framework + admin ACE):
luaConfig.Framework = 'auto' Config.Target = 'ox_target' Config.Inventory = 'auto' Config.Phone = 'auto' Config.AdminAcePermission = 'admin' -- IsPlayerAceAllowed Config.AdminCommandsPermission = 'group.admin' -- ox_lib commands
Table games β tgg-casino-tables
Table games live in tgg-casino-tables. Start it after tgg-slots-server (see Installation).
Edit files under tgg-casino-tables/config/:
| File | What itβs for |
|---|---|
config.lua | Shared integrations + BetTiers. Framework / Target often use 'inherit' to follow tgg-slots-server. Set Banking and Inventory here (auto or a supported script). |
blackjack.lua | Blackjack table models, sit/cancel distances, controls, key hints, camera offsets. |
poker.lua | Three-card poker models, distances, controls, labels. |
roulette.lua | Roulette models, distances, controls, keymappings. |
Skip anything named internal (e.g. config.internal.lua) β not for live servers.
Inheritance example:
lua-- tgg-casino-tables/config/config.lua Config.Framework = 'inherit' -- use tgg-slots-serverβs Framework Config.Target = 'inherit' Config.Banking = 'auto'
BetTiers in the same file is the ordered chip/amount ladder shared by roulette, blackjack, and poker.
Custom bridges (editable)
When auto is not enough, override behaviour in the open bridge folders (listed in escrow_ignore):
tgg-slots-server
server/custom/frameworks/β framework money / player helpersserver/custom/inventory/β inventory adapters (standalone.luafor custom)server/custom/phone/β promo messaging (custom.luastub)client/custom/target/β target systemclient/custom/frameworks/β client framework helpersserver/custom/layouts.luaβ optional Lua venue layouts (machines/tables/cashiers)
tgg-casino-tables
server/custom/frameworks/,server/custom/inventory/,server/custom/banking/client/custom/target/,client/custom/inventory/
Copy the closest adapter and adjust exports β do not invent a second config file outside these folders.
After you change config
- Save the file.
- Restart the resource you edited:
ensure tgg-slots-server(or restart it) for slots-server config / bridgesensure tgg-casino-tablesfor table-game configs / bridges
- A full server restart is fine if you changed several resources.
Admin dashboard Settings apply from the database and usually do not need a resource restart β see Admin dashboard.
Related pages
- Integrations β frameworks, inventory, phone, banking, target
- Admin dashboard β placement, venues, DB-backed Settings
- Phone app β GoldLine lobby on YSeries / LB Phone
- Installation β dependencies and start order