π· CCTV & displays
Practical setup for cameras and jackpot screens in the world. Operational toggles stay in the admin lobby; which prop models are allowed is edited in tgg-slots-server/config/config.lua.
CCTV
Admin tab
Lobby admin β Admin dashboard β CCTV:
- List cameras by casino
- Place a new camera (pick a model from the whitelist, aim in-world)
- View the live feed (scripted camera viewer)
- Relocate, enable/disable, or delete
The CCTV viewer is admin-only and starts from this lobby tabβnot a public player job menu.
Models (config.lua)
Whitelist camera props under Config.CCTV.Models (label + model name). Only listed models can be placed. Restart tgg-slots-server after changing the list.
Optional inspect tweaks can live under Config.CCTV.Inspect if you need them; keep model names valid GTA/FiveM props.
Jackpot TVs (large screens)
World TVs that show Grand/Major (and, depending on mode, recent winners).
- Ensure the prop is listed in
Config.JackpotTVs.Modelsinconfig.lua(label, model, texture / render-target settings as shipped). - In admin β Jackpot TVs, Assign a screen for a casino:
- Existing prop β bind a TV/monitor already in the map
- Replace with clean screen β spawn/replace with a clean panel where needed
- Toggle, highlight (outline in world), or delete assignments from the same tab.
Players only see DUI content when near an assigned TV (proximity load/unload). Jackpot pool values themselves are edited under Jackpots, not here.
Machine jackpot screens
Slot machines can show progressive boards (and idle promo attract) on their built-in panels via Config.JackpotScreen in config.lua:
enabledβ master switch- Brand/poster list for game toppers
- Optional promo attract rotation with jackpot counters
No per-machine admin assignment is required for the shared ambient boardβmachines that support the feature pick it up when the config is enabled. Player graphics preference can still control per-machine focus behavior in-game.
Quick checklist
- Add/keep models in
config.lua(Config.CCTV.Models,Config.JackpotTVs.Models; enableConfig.JackpotScreenas needed). - Restart
tgg-slots-server. - Place CCTV / assign Jackpot TVs from the admin lobby.
- Tune Grand/Major amounts in Jackpots so the displays have something real to show.