VCORE Ecosystem StudioFrameworkServerClipr
VCORE Studio›Products›Vcore Framework›Resources
Documentation
Docs/Resources/Base/arcademachines
Base Resource

Vcore-arcademachines

Provides local and hosted HTML5 games through configurable arcade cabinets. Prices use Core’s configured currency. Define every title in Config.Games, then enable its ID in each cabinet’s games table. A game omitted from a cabinet is not shown there. For hosted games: 1. Use a direct HTTPS iframe-compatible HTML5 game URL. 2. Add its host to Config.ExternalAllowedHosts. 3. Add a kind = 'external' game entry. 4. Enable its ID on the required cabinets. Unreachable or iframe-blocked hosted games are excluded automatically. Local games remain available. Upstream hosted-game licences are listed in EXTERNALGAMES.md. Restart arcademachines after catalogue changes.

Resource folder: arcademachinesv1.0.0VCore FrameworkGameplay systems

Introduction

Provides local and hosted HTML5 games through configurable arcade cabinets. Prices use Core’s configured currency. Define every title in Config.Games, then enable its ID in each cabinet’s games table. A game omitted from a cabinet is not shown there. For hosted games: 1. Use a direct HTTPS iframe-compatible HTML5 game URL. 2. Add its host to Config.ExternalAllowedHosts. 3. Add a kind = 'external' game entry. 4. Enable its ID on the required cabinets. Unreachable or iframe-blocked hosted games are excluded automatically. Local games remain available. Upstream hosted-game licences are listed in EXTERNALGAMES.md. Restart arcademachines after catalogue changes.

2Client Lua
2Server Lua
2Exports
13Events
0SQL tables

UI page: html/index.html

Dependencies & References

ResourceTypePackage status
coreManifest dependencyIncluded in Base
logsReferenced resourceIncluded in Base

Cross-resource export calls

ResourceFunctions called
coregetCoreObject
logsLog

Installation / Start Order

Install the resource with its required dependencies, then enable it in your resource start order.

server.cfg
ensure arcademachines

Configuration

Config files

  • config.lua

Top-level config keys

AllowExternalGamesDebugExternalAllowedHostsExternalGameLoadTimeoutMsGamesHeartbeatSecondsLoadDurationMsMachineModelsMachinesMaxReportedScoreMaxStoredCreditSecondsPaymentAccountProbeExternalGamesOnStartRequestCooldownMsServerUseDistanceSessionTimeoutSecondsStreamDistanceTickets

Events, Exports & Callbacks

Exports

Server exports2
  • GetMachineOccupant
  • GetPlayerCredit

Callbacks

No Vcore callbacks are documented for this resource.

Registered network events

Client registered events6
  • VCORE:Client:OnPlayerUnload
  • arcademachines:client:forceExit
  • arcademachines:client:machineReady
  • arcademachines:client:sessionUpdated
  • arcademachines:client:startGame
  • arcademachines:client:timeExpired
Server registered events7
  • arcademachines:server:heartbeat
  • arcademachines:server:leaveMachine
  • arcademachines:server:purchaseTime
  • arcademachines:server:startGame
  • arcademachines:server:stopGame
  • arcademachines:server:submitScore
  • arcademachines:server:useMachine

Commands

No commands were detected.

Database / SQL

This resource does not include a resource-local SQL file.

This resource does not define its own CREATE TABLE statements.

Vcore also includes the consolidated VCORE_INSTALL.sql.

Source Layout

AreaFiles
Client Lua2
Server Lua2
Other/shared Lua2
JavaScript2
HTML1
CSS1
SQL0

Troubleshooting

  • Confirm all manifest dependencies are started before arcademachines.
  • Confirm the resource is enabled in the correct start order.
  • If database queries fail, import the consolidated Base SQL and any resource-local SQL listed above.
  • If the UI fails, verify the resource's NUI files and ui_page when one is declared.