📱 Slots - phone app (GoldLine lobby)
This registers the slots lobby UI as a phone custom app from tgg-slots-server. Players open it like any other app. Downloadable under the Games section in Addapp application.
Enable in config
- Open
tgg-slots-server/config/config.lua. - Find
Config.PhoneApp. - Set
enabled = true.
Example (adjust display names/icons only if you know what you are doing; keep uiUrl as documented below):
lualocal uiBasePath = 'https://cfx-nui-tgg-slots-server/ui/build' Config.PhoneApp = { enabled = true, -- must be true to register the app appKey = 'tbet', appName = 'GoldLine', description = 'Slots • Lobby', game = true, defaultApp = false, uiUrl = uiBasePath .. '/index.html?embedded=1', -- do not change icon = { yos = uiBasePath .. '/games/goldline.png', humanoid = uiBasePath .. '/games/goldline.png', }, }
After changing config
Restart tgg-slots-server (restarting the whole server is fine).
Disable
Set Config.PhoneApp.enabled = false and restart tgg-slots-server. The lobby app will not be registered and phone-specific flows stay off.