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

leaderboards_scores

leaderboards_scores Per player Endpoints only

Use from the game

Game clients cannot read or write this collection directly (accessMode is not public). Call an endpoint that reads or writes it; direct calls answer 403 ENDPOINT_ONLY. The endpoint "leaderboards_submit" reads or writes it: call that endpoint from the game. Collection access

This project has no enabled public key. Create one under API keys: game code needs it.

var result = await NetworkStorage.CallEndpoint( "leaderboards_submit", new { score = 0, name = "" } );
if ( !result.HasValue )
{
    NetworkStorage.TryGetLastEndpointError( "leaderboards_submit", out var code, out var message );
    Log.Warning( $"leaderboards_submit failed: {code} {message}" );
    return;
}
My sbox-ns project ID is proj_a75070d69b083f0f16f827f1. I am working on the collection "leaderboards_scores" (endpoint-only: game clients get 403 ENDPOINT_ONLY on direct calls). The endpoint "leaderboards_submit" reads or writes it. Dry-run that endpoint with endpoint_test (target next when staged), then show me the C# that calls it with NetworkStorage.CallEndpoint. Do not save anything without my confirm string.

New collection

Choose an id using letters, numbers, underscore or hyphen. A fresh draft opens with this id; nothing is published until you save.

Confirm