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
| Path | Purpose |
|---|---|
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
| File | Purpose |
|---|---|
varion-server.exe | Dedicated server executable |
server.toml | Main server configuration |
host/varion-host.cjs | Node host, started for js resources |
start-varion-server.ps1 | Launch helper |
build-info.json | Package/build metadata (protocol, gtaBuild, engineCommit, serverSha256) |
README.md | Runtime package instructions |
modules/ And data/
modules/is not shipped in the package.modulesDirdefaults tomodules; 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 underdata/on demand — for exampledata/masterlist-token.txtanddata/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/andinclude/C/C++ headers (the SDK ships as JavaScript packages underdeveloper/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/.