Read-only demo.Generated sample data. Changes cannot be saved.

Island survival demo

Generated sample data. No real players or production credentials.

proj_a75070d69b083f0f16f827f1
Browse data
Project statusEnableds&box auth required

Clients & compatibility

Updating this server does not require games to update their library. Inspect the versions still running before changing any compatibility policy.

Client versions & policy impact

Connect your game

Paste this line into your game's startup code (for example a GameObjectSystem). Keep secret keys out of game builds.

NetworkStorage.Configure( "proj_a75070d69b083f0f16f827f1", "<public-api-key>", "https://demo.sboxns.com" );

This project has no enabled public key. Create one under API keys; the line above then shows it.

Editor setup window

Or enter the same values in Editor > Network Storage > Setup in the s&box editor, and leave CDN URL empty.

  • Project IDproj_a75070d69b083f0f16f827f1
  • Public API Key Create a public key under API keys.
  • Base URLhttps://demo.sboxns.com
  • Secret KeyShown once when you create a secret key under API keys. Only the editor Sync Tool needs it.

Checklist

StepStatusDetails
A public key existsNot yetCreate a public key under API keys.
A collection or endpoint is definedDoneDefine them under Collections and Endpoints, or push them with Editor > Network Storage > Sync Tool.
The game reached this serverNot yet No requests in the last 7 days. From the game machine run curl https://demo.sboxns.com/health and curl https://demo.sboxns.com/api/server-info. If they fail, check the firewall or port forward.
Rejected requests in the last 24 hoursNone No 401 or 403 responses in the recent request log.

Authority check

Hosting profile: Player-hosted. These findings are advisory: game data a client or untrusted host could still change. The same check is available as sbox-ns doctor --project proj_a75070d69b083f0f16f827f1.

FindingDetailFix
endpoint Endpoint writes player data with no condition or assert step guarding the input.Add a condition or assert step to that rejects out-of-range input before the write.

API keys

sbox_ns_... public keys are runtime credentials. sbox_sk_... secret keys must stay server-side.

No API keys yet. Create a public key for the game with the button above.

Create key

Secrets

Named values for endpoint scripts, read with ns.secrets.get("NAME"). Write-only: a value is never shown again after you save it; only its name and last update appear here. Up to 64 secrets per project, 4 KiB each.

No secrets yet.

Paste the exact value, including line breaks. It is never displayed again. Saving an existing name replaces its value.

Project settings

Sets the project tile on the dashboard. Tick Automatic colour to use the generated colour.

Security

Game clients must send a valid s&box token, so a player can only act as their own Steam ID. Turn it off only for development.

Auth sessions and encrypted requests

Lets the game trade its s&box token for a session token, so later calls skip the s&box check until the session ends. Auth sessions

Endpoint calls only (CallEndpoint / CallEndpointAs). Off: plain endpoint calls only. v1: v1 encrypted endpoint calls only. v2 preferred: v1 and v2 encrypted endpoint calls, and the signed config offers v2. v2 required: v2 encrypted endpoint calls only. Refused endpoint calls return SECURITY_ENCRYPTION_REQUIRED, SECURITY_ENCRYPTION_DISABLED or SECURITY_MODE_UNSUPPORTED. Direct documents, records, queries, game values, analytics and heartbeat remain unsealed, even with v2 required; on plain HTTP their data is exposed. Use HTTPS and endpoint-only collections (accessMode: endpoint) for sensitive player data. Encryption covers endpoint request and response bodies only; bearer and auth tokens still travel in headers and the security block. Encrypted requests

Signing key (pin in games)

Games pin this fingerprint to trust the server's signed security config. Rotating the request encryption key below does not change it. Rotating the signing key below makes a new key current; the old key signs a statement that announces the new one, so games that still trust the old key follow it until the grace ends. Games pinned to the old fingerprint need a repin. Encrypted requests

Fingerprint 1764 ce3a 1be8 0a4f 534b ed27 8622 e64e 1367 5a76 004e 5381 85d8 2584 0a9b 7d61

Request encryption key

One server key wraps the per-request keys of every project on this server. Rotating keeps the previous key usable for the grace period, so clients that still hold it keep working until then.

Key ID 0e9e4d605ca300fb249922f99e78fbbe

Fingerprint 0e9e 4d60 5ca3 00fb 2499 22f9 9e78 fbbe 625d 28af 3907 dc0e f6b0 ad93 9a52 f483

Created 2026-10-20 23:23:57 UTC

Player keys

Sets the record key endpoint steps use for the calling player. Player: the Steam ID. Player save: {steamId}_{saveId} when the call input has saveId, for save slots. Player key mode

Player projections

Built-in repair and leaderboard projection for the players, skills, kills and leaderboard_global collections of endpoint saves. Leave it off unless your game was built on those collections. Legacy player projections

Game logs

Structured game events your game sends to /api/game-logs. Off by default for every project. Game events and admin/audit events are stored by default; chat capture is a separate stream and stays off until you enable it. IP addresses are never stored. Player identity comes from the verified session, so a client cannot write logs as another player.

Since this server started (all game-log writes): accepted 0, written 0, rejected 0, sampled out 0, truncated 0, rate limited 0, dropped because the queue was full 0, write failures 0. Currently buffered: 0.

Streams
Player analytics settings

Analytics recorded from this project's players and games. A custom event sent with NetworkStorage.TrackAnalyticsEvent (or NetworkStorageAnalytics.TrackEvent) is stored only when its name is in the list below. The game library drops other names and counts them in its Dropped warning.

Media uploads

Lets games upload PNG, JPEG or WebP images through single-use upload grants. Off by default. Each purpose sets its own size, quota and retention. Saving this form rewrites only the purpose named below; other purposes are kept.

Script fetch (ns.fetch)

Lets script endpoints call outside hosts with ns.fetch. Nothing is allowed until you list a host here. Enter exact hosts (api.example.com) or subdomain patterns (*.example.com, which does not match example.com itself), one per line. Metadata and reserved addresses always stay blocked. Private addresses stay blocked unless the operator enables endpoints.fetch_private_networks. ns.fetch

No blocked calls in the recent window.

Revision policy (game versions)

Published revisions are retained so older game builds keep working: an old build inside its support window runs its own revision's definitions and values, while player data stays shared. The client library learns the policy from endpoint responses and revision-init. Server-side blocking is off unless you switch it on below. Revision policy

Support rules
Enforcement (applied by the client library)
Server-side enforcement (this server blocks requests)

Off by default. When on, requests from a known revision below the minimum or past its grace period are rejected with 403 REVISION_BLOCKED (block_writes rejects only mutating requests). Requests without a revision, or with an unknown one, still run against live.

Player messaging
Test simulation

Synced resources

Dashboard authoring and editor sync share the live store. Source-backed definitions keep their YAML/JSON source metadata; coordinate changes with your checked-in editor source.

Collections

  • economy_balance One record per player holding the kit's gold balance. Only kit endpoints change it. per-steamideconomy_balance
  • Player inventoryplayerinventory
  • inventory_state One record per player holding items and crafting materials. Only kit endpoints change it. per-steamidinventory_state
  • leaderboards_scores One record per player holding their best score. Only the kit endpoint changes it. per-steamidleaderboards_scores
  • Player progressplayerplayers
  • progression_profile One record per player holding XP and level. Only the kit endpoint changes them. per-steamidprogression_profile
  • World stateglobalworld

Endpoints

Use with a coding agent

After you connect a coding agent to this server (see All projects), start a session with this prompt so the agent works on this project.

My sbox-ns project ID is proj_a75070d69b083f0f16f827f1. Use the sbox-ns MCP tools to read its definitions, recent requests and errors before you change anything, and dry-run endpoints with endpoint_test before I play.

Portable project archive

Move this self-hosted project to an independent instance. Export includes its stored data and API-key hashes, but no instance configuration, secrets or signing keys. Keep the archive private. Import on the destination retains the original ID and refuses existing projects.

Create a new secret key on the destination for editor sync and dedicated servers. Existing player sessions must authenticate again. Update your game's server base URL.

To back up the whole server, use Export server on All projects or sbox-ns db backup.

Delete project

This permanently deletes the project and its data. Enter proj_a75070d69b083f0f16f827f1 to confirm.

Confirm