Edit

Game Server Configuration

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

Game Server Configuration provides server-side storage for data scoped to your title's game_server entity. It uses the Entity Objects and Entity Files APIs to store and retrieve JSON objects and binary files that configure game server behavior.

What belongs in Game Server Configuration

Use Game Server Configuration for data that:

  • Applies to your game servers rather than individual players
  • Needs to be read by server-authoritative game logic
  • Includes configuration such as match settings, server parameters, or feature flags that aren't per-player

How it works

Game Configuration uses the same underlying APIs as other entity data storage in PlayFab:

  • Entity Objects — store small JSON-serializable key/value pairs on the game_server entity using SetObjects and GetObjects
  • Entity Files — store larger binary or text files on the game_server entity using the File APIs

To authenticate as a game_server entity, call AuthenticateGameServerWithCustomId as a title entity.

For a comparison of all entity storage features, see Entity Objects.

View in Game Manager

You can view and manage Game Configuration data in Game Manager under the entity browser by selecting a game_server entity.

See also