Home / Documentation
Documentation
Connect your s&box game, call your backend from the C# library or plain HTTP, and run the server yourself. Generated from the server at 8e7623dda7e37159dc1757b76ad110fad5dd6f11 and the library at 7f77770c81dd6ab84facfa05e9a87010b6f27983.
New: Endpoints can now be written in YAML or JavaScript/TypeScript (more languages planned): a full global environment of shared code, sandboxed on your server. Script endpoints
Game library Library overview Install the library, configure credentials and call endpoints from game code. Install and configure Install, update and configure the library; API root, generated code and dedicated server keys. Runtime guide Endpoint calls, game values, encrypted requests and key pinning, compatibility status and helpers. Sync Tool Keep collections, endpoints and workflows as YAML in your project and push or pull them. Authoring collections and endpoints YAML sources for collections, endpoints and workflows, synced by the editor tool. Script endpoints (JavaScript / TypeScript) Write endpoints in YAML or JavaScript/TypeScript: sandboxed, with a shared global environment of reusable code. Examples Example sources you can copy into a project. Coding agent tools (in engine) The ns_* tools exposed through the sbox-cli MCP bridge. C# API reference Public types and members of the game library, from its source and XML docs.
Self-hosting Self-hosting Install, update, back up and run the server on Linux, macOS, Windows or Docker. Hosting models Player-hosted, P2P and dedicated servers, and what the backend checks in each. Configuration Every server.toml setting and environment variable. Databases SQLite and PostgreSQL, migrations, backups and rollback. Owner console The web dashboard: login, projects, records, keys and security. Media uploads Player and project media, quotas and retention. Game logs Structured game events per project: wire format, search and retention. Export and move projects Portable archives and moving a project between servers. Modules Optional server modules and how to enable them. Monitoring Health, metrics and logs. Alerting Email and webhook alerts for errors, updates and certificates. Coding agents (MCP) Let coding agents operate your server through MCP.
Publication and source
GitHub source; s&box publication unverified. No confirmed package revision. All versions
Server: Next release (unreleased, 8e7623d) (next-8e7623d), GitHub source sbox-cool/sbox-network-storage-server at 8e7623dda7e37159dc1757b76ad110fad5dd6f11 (8e7623d). Library: main source (7f77770) (source-7f77770), GitHub source sbox-cool/sbox-network-storage at 7f77770c81dd6ab84facfa05e9a87010b6f27983 (7f77770).