You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4a3a754
Browse filesBrowse the repository at this point in the historyBrowse files
run at once per server (then it throws); one past 60 s is logged and flagged in Server > Status. Older kernels
396
396
throw "needs kernel 0.3.8; use the DataHost job queue (Player data guide)": the other option, which works on every
397
397
kernel. `features.runDetached` tells which one this server has.
398
+
-**`reserveServer(options?)`** (framework 0.7.5, kernel 0.5.9, server only; `src/reserve-server.ts`): reserves a
399
+
server for the game's OWN teleport and records it in the kernel's private branch registry on THIS server's branch,
400
+
so it boots this branch's head. A plain `TeleportService:ReserveServer` server has no record and boots the
401
+
universe's default branch, so players sent from a dev branch would land on the prod build. It does not teleport:
402
+
teleport with your own `TeleportOptions` (`ReservedServerAccessCode = accessCode`, `SetTeleportData(...)`), e.g. a
403
+
ticket bound to `privateServerId`. Returns `{ ok, accessCode?, privateServerId?, branch?, error? }` and never
404
+
throws on a server (clients throw). Never another branch (prod game code must not start dev builds; `options` takes
405
+
no branch). No dev check; at most 20 calls a minute per server (`"rate limited"`); yields (ReserveServer + a
406
+
DataStore write). Other errors: `"studio"`, `"kernel too old"` (before kernel 0.5.9), `"no kernel"` (edit mode),
407
+
`"no artifact on branch <b>"`, `"ReserveServer: ..."`, `"could not save the branch: ..."`, `"kernel error: ..."`.
408
+
`features.reserveServer` tells whether this server's kernel has it. `accessCode` is server-only data.
398
409
-**Live debug: `remoteDebug` and `fleet`** (framework 0.7.1, kernel 0.5.7, server only; `src/live-debug.ts`,
399
410
plans/34): the game's own read-only commands and streams for the backend explorer's server page (`/servers/<JobId>`),
400
411
and its own columns on the Fleet page. Import them (`import { fleet, remoteDebug } from "@typetorch/framework"`) or
@@ -807,7 +818,7 @@ bun run build # rbxtsc --type package -> out/
807
818
Attention issues.
808
819
The others, each on the compiled `out/`: `test-hot-assets` (manifest parser, AssetSync decisions incl. the backup
809
820
vouch, live-copy rules), `test-messaging` (messaging and the server list), `test-settings` (`liveConfig` and the
810
-
settings lines), `test-live-events` (scheduled live events on a fake clock), `test-detached` (`runDetached`), `test-live-debug` (`remoteDebug` / `fleet`: names, limits, the client,
821
+
settings lines), `test-live-events` (scheduled live events on a fake clock), `test-detached` (`runDetached`), `test-reserve-server` (`reserveServer`: pass-through, older kernels, edit mode, odd answers), `test-live-debug` (`remoteDebug` / `fleet`: names, limits, the client,
811
822
older kernels, one declaration per frame, the handlers, columnsChanged), `test-dev-access` (the dev-only tools rule and every gate through
812
823
it), `test-remote-debug` (the remote debug ops and their limits), `test-net-inspect` (packet capture),
813
824
`test-explorer-core` (Dex), `test-toolbox-sanitize` (the Creator Store sanitizer), `test-sha256` (SHA-256 / HMAC in util and the
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@typetorch/framework",
3
-
"version": "0.7.4",
3
+
"version": "0.7.5",
4
4
"description": "TypeTorch framework for roblox-ts: hot-swappable modules (dependency injection, lifecycle, troves), guarded networking, hot assets and the in-game dev menu. Ships inside every TypeTorch artifact.",
0 commit comments