drepster
08/13/2025, 9:25 AMJimi Jokela
08/13/2025, 9:47 AMmetaplay init dashboard and therefore your dashboard files are located under Backend/Dashboard, including your gamespecific.ts, the server should automatically build that dashboard and serve it on port 5550 locally.
Do note, however, that running the dashboard that way gives you the version of the dashboard at server build time, meaning, you need to restart/rebuild the server to get changes made to the dashboard code visible again. That's why when developing anything for the LiveOps dashboard, it's possibly to indeed run it separately with metaplay dev dashboard from your project root.
Edit: gamespecific.ts is under Backend/Dashboard/srcJimi Jokela
08/13/2025, 9:54 AMmetaplay build dashboard, the game server then discovers the built files and serves that dashboard.Jimi Jokela
08/13/2025, 1:38 PMmetaplay build dashboard (in project root) or pnpm build (in Backend/Dashboard directory) (We're going to add a flag to the metaplay CLI to build directly to the PrebuiltDashboard folder, which will skip the complexity of copying files over)
- For now, you can copy the built files from Backend/Dashboard/dist folder to Backend/PrebuiltDashboard (delete first any files already there)
- Commit the built files to your version control repo
- Now your devs can run the server locally or deploy it to the cloud and the server will use the dashboard from the PrebuiltDashboard folder automatically.
This way all devs don't need the tools to build the dashboard. The steps will have to be repeated whenever changes are made to the dashboard code, with the added step of first deleting the old files from the PrebuiltDashboard folder.drepster
08/14/2025, 1:35 PMJimi Jokela
08/20/2025, 6:02 AM--output-prebuilt