π 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.
1. Frameworks
Supported: QBCore (qb), QBox (qbox), ESX (esx).
In tgg-slots-server/config/config.lua:
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.
- 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)
4. Banking / money
Slots and table games use money differently.
Slots (tgg-slots-server)
Player deposits and withdrawals use framework money (cash / bank accounts via the framework bridges). Society banking uses Config.Banking in tgg-slots-server/config/config.lua.
A society casino uses the shared bank account of an existing framework job. With Config.Banking = 'auto', Slots selects a supported banking resource already running on the server. You can also select a bank explicitly. Casino admin does not create the job.
Supported Slots banking options: auto, tgg-finance, tgg-banking, okokBanking, qb-management, Renewed-Banking, qb-banking, esx_addonaccount, esx_society, and your_banking. Editable bridges are in tgg-slots-server/server/custom/bankings/. Complete the custom bridge before selecting your_banking.
Table games (tgg-casino-tables)
Table-game society accounting uses the shared Slots Server treasury and its banking selection. The table resource also has Config.Banking in tgg-casino-tables/config/config.lua for its own banking bridge calls.
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.
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-propsβ slot / casino props (must start before the interior)tgg-slots-interiorβ default GoldLine MLO
Start optional props then interior 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:
These folders are intended for customer edits. Match the function patterns in the existing adapter files for the same resource.
Lucky Wheel vehicle grant (tgg-casino-tables)
Implement GiveVehicle in tgg-casino-tables/server/custom/vehicle/GiveVehicle.lua.
Full guide: Lucky Wheel.
Claw Machine prize grant (tgg-casino-tables)
Implement or adjust GiveClawPrize in tgg-casino-tables/server/custom/claw/GiveClawPrize.lua.
Full guide: Claw Machine.