Skip to content

Runtime Layout

The public server runtime is the developer-server package produced by tools/package-developer-server.ps1 (a built example lives at dist/Varion-Server-Developer-MVP/). It is intentionally smaller than the engine source tree and carries only what is needed to run a JavaScript server plus the developer kit.

Runtime Root

text
varion-server.exe
server.toml
start-varion-server.ps1
README.md
build-info.json
host/
resources/
developer/

Required Directories

PathPurpose
host/Node host (varion-host.cjs) for js resources
resources/Server/client resources; the package ships a starter my-gamemode
developer/Developer kit: SDK, docs, templates and tools (not needed by the server at runtime)
developer/sdk/Varion.Server/Server JavaScript package (@varion/server)
developer/sdk/Varion.Client/Client JavaScript package (@varion/client) with native typings
developer/sdk/templates/Resource templates (js-full-resource)
developer/tools/resource scaffolding
developer/docs/Curated docs subset (js, scripting, configuration; plus en/)

Required Files

FilePurpose
varion-server.exeDedicated server executable
server.tomlMain server configuration
host/varion-host.cjsNode host, started for js resources
start-varion-server.ps1Launch helper
build-info.jsonPackage/build metadata (protocol, gtaBuild, engineCommit, serverSha256)
README.mdRuntime package instructions

modules/ And data/

  • modules/ is not shipped in the package. modulesDir defaults to modules; create that directory and drop native C-ABI modules into it to have the loader pick them up (they are loaded last, after the subsystems and the network).
  • data/ is not shipped either. The server creates runtime paths under data/ on demand — for example data/masterlist-token.txt and data/server-license.txt.

What Is Not In The Runtime

The package does not include:

  • engine source trees: src/, client/, server/src/, deps/ and build folders
  • top-level tools/, docs-public/, docs-site/
  • top-level sdk/ and include/ C/C++ headers (the SDK ships as JavaScript packages under developer/sdk/)
  • version.json, .gitignore, cache/

Source Backing

This page is derived from tools/package-developer-server.ps1 and the built dist/Varion-Server-Developer-MVP/.

Varion Multiplayer Platform