π’ Venues & placement
A venue (shown in the admin UI as a casino) is a physical casino location: map blip, machines, table games, cashiers, CCTV, and jackpot TVs grouped under one place.
How venues relate to the lobby, machines, and tables
| Piece | Role |
|---|---|
| Venue / casino | Container for a location (name, anchor coords, blip, enable/disable). |
| Slot machine | World prop players use to open the GoldLine lobby UI. Each machine belongs to a venue. |
| Table game | Roulette / blackjack / three-card poker props registered on that venue. Gameplay runs in the casino tables resource (tgg-casino-tables). |
| Lobby | Shared UI opened from a machine (games, cashier balance, jackpots, admin for staff). Admin tools scope work by venue (Casinos tab, Venue picker, settings). |
There is also a system Phone Sessions venue (phone-virtual) for phone-app play. It is not a map location you place props for β see Phone app.
Admin β Casinos
- Open a slot machine lobby (staff with admin access).
- Open the Admin view.
- Open the Casinos tab.
From there you can:
- Create Casino β name, optional casino template (layout), Use my position for location, map blip on/off, blip label, and blip icon (sprite ID or name; default casino-style icon).
- Edit β update name, location, and blip.
- Enable / Disable venue β disabled venues stay in the list but are not treated as active floor locations.
- Delete casino β remove the venue (confirm in the UI).
Row actions also cover placements, cashiers, prop cleanup, and layout export (see below).
Placing slot machines and table props
High-level flow (same for slots and supported table types):
- Casinos tab β venue row β Add placement.
- Pick a type: Slots, Roulette, Blackjack, Poker.
- Choose a placement method:
- Spawn a new prop β lobby closes; place preview props, lock with G, cycle variations, then confirm.
- Use existing prop β lobby closes; aim at a matching world prop and press E (or G for group multi-select).
- Replace prop β lobby closes; aim at any world prop and press E to replace it (or G for group).
- With Spawn a new prop, pick an arrangement if shown (row, stacked row, circle, oval, arch). Some table types may reject bulk placement β follow any on-screen error.
- Finish in-world; placements save to that venue.
Other useful venue actions:
- Edit machines β adjust existing placements in the world.
- Move group / Duplicate group β work with bulk placement groups.
- Remove props / Restore props β hide or restore world props for that venue.
- Export layout β dump the venueβs current layout for use as a template.
Cashiers, CCTV, and jackpot TVs
These are also venue-scoped, but managed from dedicated admin surfaces:
| Feature | Where | Details |
|---|---|---|
| Cashiers | Casinos β venue β Cashiers | Place or manage ped / target cashiers for that casino. Full economy notes: Cashiers & economy. |
| CCTV | Admin β CCTV tab | Add camera β pick casino β spawn new or use existing prop β place / aim β configure POV β save. See CCTV & displays. |
| Jackpot TVs | Admin β Jackpot TVs tab | Assign a screen to a casino (use existing prop or replace with a clean screen). See CCTV & displays. |
Layouts and the GoldLine interior
Owner-editable layout templates live in:
tgg-slots-server/server/custom/layouts.lua (VenueLayouts)
When you create a casino (or apply a template), the script can seed that venueβs machines, table registry rows, cashiers, CCTV cameras, and jackpot TVs from the template.
The default GoldLine layout matches the optional tgg-slots-interior MLO (map coords around 763.97, -815.82, 26.33). If your package includes the interior:
ensure tgg-slots-interior(and props) beforetgg-slots-serverβ see Installation.- Create or keep a casino that uses the GoldLine template so the preconfigured floor is applied.
You can also create empty casinos (no template) and place everything yourself, or use other templates defined in layouts.lua (for example third-party MLOs shipped as extra keys).
Ops tips
- Start the table-games resource before you expect table placement or table gameplay (
ensure tgg-casino-tablesβ see Installation). Without that resource started, table props/runtime will not behave correctly. - Start each slot game resource you want playable on machines (for example
tgg-slots-fruit-cocktail,tgg-slots-lucky-fruits,tgg-slots-orbit,tgg-slots-plinko, and any other games in your package). Machines open the lobby; the individual game resources power those games. - Keep load order as in Installation: dependencies β optional interior/props β
tgg-slots-serverβ table-games resource β slot game resources.