Package-level declarations
Types
Link copied to clipboard
Stable per-backend identifier used as the
backendId field when uploading to and downloading from the Bedrock pack relay.Link copied to clipboard
Reusable HTTP client for the magmaguy.com resource-pack hosting API.
Link copied to clipboard
Derives narrowly scoped bearer tokens from the shared RSPM network key.
Link copied to clipboard
Authenticates a network-key grant using Velocity's modern-forwarding secret.
Link copied to clipboard
Produces the RSPM network-key: the value that links a proxy with its backends and namespaces the network's storage on the relay.
Link copied to clipboard
Minimal HTTP server that serves:
- The pack zip itself on
<pathPrefix>, with the headers Geyser needs (Content-Type: application/zip + accurate Content-Length). If the pack file is absent, this route 404s — relevant when self-hosting hasn't produced a pack yet on a fresh backend. - Additional file-serving routes registered via registerFileRoute after start — used by the backend to expose its Bedrock-conversion outputs (
/bedrock.zip,/mappings.json) for the proxy to pull. These routes read the file fresh on every request, supportIf-Modified-Sinceso unchanged files return 304, and 404 cleanly when the file is absent.