Data & Schema
Define your schema and manage records in the Backoffice, then query, subscribe to, and mutate that data from the SDK.
Building a Game SchemaBuild your game's data model in the Backoffice — create entities, parts and enums, add fields, then review the migration and apply it; plus deleting objects, getting a removed field back, and the history of schema changes.Schema Object ReferenceThe building blocks of a PlayServ schema — entities, parts and enums, the four field kinds, the twelve primitive types, field settings, and the entity settings for singletons, display fields, player ownership, raw fields and schemas pushed from code.Access ControlDecide who may read and write each entity and run each function — the client, server and backend callers, Read and Write per entity, setting access in the Backoffice or from code, player-owned entities, client-side checks, function Execute, and what a refused call returns.Working with Game DataBrowse, create, edit and delete the records of your entities in the Backoffice — the Data view, saved views, the record panel, singletons, importing from CSV or JSONL, and exporting to JSON.Reading RecordsRead your game's data from Unity with PlayServData — C# types for your entities, loading a record by ID or natural key, querying with filters, sorting and pages, relations and parts, selected fields, singletons, and the errors you can get.Writing RecordsWrite your game's data from Unity with PlayServData — create records, save changes, handle version conflicts, create a record only once, delete one or many, write in bulk, retry safely, and what to do when a write is refused.Live RecordsGet your game's data live in Unity with PlayServData — subscribe to a set of records or to one record, what each update contains, the limits of a live query, when a subscription ends, stopping it, and what happens on a reconnect.Backoffice MCP IntegrationLet an AI agent such as Claude or Cursor work in your PlayServ project through MCP — what it can do, permission tiers, connecting Claude Desktop, Claude Code, Cursor or a claude.ai connector, choosing a project, changing the schema safely, and generating a schema from a game design document.