🛡️ Admin dashboard
The admin dashboard is the in-game control center for TGG Casino & Slots. From here you manage machines, players, jackpots, promos, casinos, CCTV, displays, custom slots, and most live settings that used to live only in config files.
How to open it
You need admin permission (see Permissions below). Then open the dashboard in either way:
- Anywhere on the server — run:
This opens the admin UI without sitting at a machine (requires ACE — see below).
- From an in-world machine lobby — sit at / open a slot machine. Your slot account is resolved automatically. If you have ACE admin, an admin icon appears in the lobby header (or Machine Metrics in the mobile menu). Click it to enter the admin view.
The phone lobby app is players-only — it has no admin access. Use /slotdashboard or an in-world machine lobby.
Permissions
Edit these in tgg-slots-server/config/config.lua, then grant matching ACE entries in your server.cfg.
Example server.cfg (default ACE object admin)
Custom ACE object
If you set a custom object in config:
then grant that object instead:
Advanced: IsAdminSource export
Server scripts can check the same gate the dashboard uses:
This returns true when the player passes the configured AdminAcePermission check (same path as admin callbacks). Prefer this over inventing a second admin list.
Admin tabs
Once the dashboard is open, these tabs are available (labels match the UI):
- Machine Metrics — Performance and activity per registered machine/table (spins, wagered, wins, and related machine stats).
- Player management — Slot accounts overview: balances, play stats, online status, and account actions such as freeze/unfreeze.
- Game Metrics — Totals rolled up by game type across machines and tables.
- Jackpots — Configure Grand/Major progressive pools and review recent jackpot wins.
- Promos — Create and manage promotions/contests that players can claim in the lobby. See Promos.
- Custom Slots — Build and publish custom slot games (assets, bets, sounds, live tune). See Custom games.
- Casinos — Create and manage venues (casinos), place machines/tables, and open per-venue settings. See Venues & placement and Cashiers & economy. Venue Settings also cover ranks (including disable ranks), cashier, local economy, and table-game overrides.
- Society - Bind an existing framework job to one casino, then set the till, profit share, grade access, and upkeep. See Casino society.
- CCTV — Place and manage casino CCTV cameras for admin viewing. See CCTV & displays.
- Jackpot TVs — Assign and manage world TV boards that show jackpot/winner content. See CCTV & displays.
- Settings — Global and per-game live settings (currency, lobby look, phone app, table-game defaults, and more). Many options that used to sit only in Lua config are edited here. Per-venue overrides are edited from the Casinos tab (venue → Settings), not as a separate top-level tab.
- Reconciliation — Integrity checks comparing machine, account, and game totals (including payout-queue health). Shown only after it is unlocked in the admin UI; most operators can ignore this day to day.
Settings tab (what lives here)
Use Settings for server-wide behavior and per-game overrides without restarting for every tweak:
- Global currency and phone payment-method options
- Lobby branding (title, theme/colors, hero banner)
- Table-game defaults and per-game setting maps
- Other formerly config-only toggles that the admin settings service now stores live
Venue-specific overrides (cashier, ranks, local economy, table defaults, etc.) stay under Casinos → [venue] → Settings. To turn ranks off at a venue: Ranks → Enabled — see Disable ranks.
Settings inventory (global vs venue)
Admin commands
These ox_lib commands use Config.AdminCommandsPermission (default group.admin):