π Integrations
TGG Casino & Slots connects to your framework and common FiveM resources through config options and editable bridge files. Prefer auto / inherit unless you need a fixed choice.
| Resource | Config file |
|---|---|
| Core lobby / slots | tgg-slots-server/config/config.lua |
| Table games | tgg-casino-tables/config/config.lua |
1. Frameworks
Supported: QBCore (qb), QBox (qbox), ESX (esx).
In tgg-slots-server/config/config.lua:
luaConfig.Framework = 'auto' -- Supported: auto | qbox | qb | esx
autodetects the running framework.- Table games use
Config.Framework = 'inherit'by default so they followtgg-slots-server.
Bridge files (editable): tgg-slots-server/server/custom/frameworks/ and client/custom/frameworks/.
2. Target
Default / recommended: ox_target.
lua-- tgg-slots-server Config.Target = 'ox_target'
- Slots interactions ship with ox_target logic in
tgg-slots-server/client/custom/target/target.lua. For another target system, replace that bridge (see comments in the file). - Table games inherit target from slots-server (
Config.Target = 'inherit').tgg-casino-tablesalso supportsox_targetandqb-targetwhen set explicitly (or viaautoon that resource).
3. Inventory
Set on both resources (same option names). Default is auto.
Supported values:
autoβ detect a started inventoryox_inventoryqb-inventory/lj-inventory/ps-inventoryqs-inventorycodem-inventorycore_inventorytgiann-inventorystandaloneβ custom bridge (server/custom/inventory/standalone.lua)
luaConfig.Inventory = 'auto'
4. Banking / money
Slots and table games use money differently.
Slots (tgg-slots-server)
Player deposits/withdraws use framework money (cash / bank accounts via the framework bridges). There is no separate Config.Banking on slots-server.
Table games (tgg-casino-tables)
Society / house banking uses Config.Banking in tgg-casino-tables/config/config.lua.
luaConfig.Banking = 'auto'
Supported banking options:
autotgg-bankingokokBankingrenewed-banking/Renewed-Bankingsnipe-bankings1n-banking/s1n_bankingfd_bankingqb-banking/qb-managementesx_addonaccountyour_bankingβ custom bridge (server/custom/banking/your_banking.lua)
5. Phone
There are two phone-related settings. Do not confuse them.
A) GoldLine lobby phone app
Registers the lobby UI as a custom app on the playerβs phone.
- Supported phone resources: YSeries and LB Phone (
lb-phone). - Enable and brand it from Admin β Settings β Phone app (see Phone app). Changes require restarting
tgg-slots-server.
B) Promo messaging phone (Config.Phone)
Used for promo advertise blasts (email / messages) from tgg-slots-server.
luaConfig.Phone = 'auto' -- Supported: auto | yseries | lb-phone | custom
autoβ prefer yseries if started, else lb-phone, else customyseries/lb-phoneβ built-in adapterscustomβ implementserver/custom/phone/custom.lua
6. Other dependencies
Required (see Installation):
Optional (when included in your package):
tgg-slots-interiorβ default GoldLine MLOtgg-slots-propsβ slot / casino props
Start optional interior/props before tgg-slots-server when you use them.
7. Custom bridges (script not listed)
If your framework, inventory, banking, phone, or target is not listed:
| Area | Where to edit |
|---|---|
| Framework | tgg-slots-server/server/custom/frameworks/ and client/custom/frameworks/ |
| Inventory | */server/custom/inventory/ (use standalone.lua or copy a close match) |
| Phone messaging | tgg-slots-server/server/custom/phone/custom.lua (Config.Phone = 'custom') |
| Target (slots) | tgg-slots-server/client/custom/target/target.lua |
| Banking (tables) | tgg-casino-tables/server/custom/banking/your_banking.lua (Config.Banking = 'your_banking') |
These folders are intended for customer edits. Match the function patterns in the existing adapter files for the same resource.