Island survival demo
Generated sample data. No real players or production credentials.
proj_a75070d69b083f0f16f827f1Clients & 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 impactConnect 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 ID
proj_a75070d69b083f0f16f827f1 - Public API Key Create a public key under API keys.
- Base URL
https://demo.sboxns.com - Secret KeyShown once when you create a secret key under API keys. Only the editor Sync Tool needs it.
Checklist
| Step | Status | Details |
|---|---|---|
| A public key exists | Not yet | Create a public key under API keys. |
| A collection or endpoint is defined | Done | Define them under Collections and Endpoints, or push them with Editor > Network Storage > Sync Tool. |
| The game reached this server | Not 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 hours | None | 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.
| Finding | Detail | Fix |
|---|---|---|
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.
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.
Project settings
Security
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.
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
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-steamid
economy_balance - Player inventoryplayer
inventory - inventory_state One record per player holding items and crafting materials. Only kit endpoints change it. per-steamid
inventory_state - leaderboards_scores One record per player holding their best score. Only the kit endpoint changes it. per-steamid
leaderboards_scores - Player progressplayer
players - progression_profile One record per player holding XP and level. Only the kit endpoint changes them. per-steamid
progression_profile - World stateglobal
world
Endpoints
- Save progressPOST
save-progressEnabled - Earn goldPOST
Enabled - Get balanceGET
Enabled - Spend goldPOST
Enabled - Consume itemPOST
Enabled - Craft itemPOST
Enabled - Get inventoryGET
Enabled - Grant itemPOST
Enabled - Submit scorePOST
Enabled - Get levelGET
Enabled - Grant XPPOST
Enabled
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.