Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Title settings, access policies, privileges, and single sign-on endpoints are XML documents
in a title's XBOX services configuration. Partner Center edits the same documents. With the
XBOX CLI, you download them with xbox xbl config, edit the
XML, save it, and publish it.
This page says where each setting lives and how a change goes live. For what each feature
does, see
Portal configuration overview.
For every element and value a document accepts, download its schema with
xbox xbl schema download --type <type> --dest schemas. The xbl commands are
Experimental, so their names and options might change.
Find a setting
| Setting | Document | Scope | Goes live with |
|---|---|---|---|
| Title names | productdeveloper.xml |
Title | The title-wide publish |
| Platforms | productdeveloper.xml |
Title | The title-wide publish |
| Embargo | productdeveloper.xml |
Title | The title-wide publish |
| Multiple points of presence | productdeveloper.xml |
Title | The title-wide publish |
| Business partner | productsystem.xml |
Title | The title-wide publish |
| Stats and achievements systems | dataplatformconfig.xml |
Title | Each sandbox's next publish |
| Privileges | titlepriv.xml |
Title | Each sandbox's next publish |
| Single sign-on endpoints | nsal.xml |
Title | Each sandbox's next publish |
| Access policies | accesspolicies.xml |
Sandbox | That sandbox's publish |
| Cross-title multiplayer | crosstitlemultiplayer.xml and accesspolicies.xml |
Sandbox | That sandbox's publish |
How a change goes live
A sandbox setting applies to one title in one sandbox. A title setting applies to
one title in every sandbox, RETAIL included. Every scope has a draft, which
config save changes and your team and Partner Center see at once, and a published version,
which config publish changes and players and test accounts see.
The title draft holds every title setting. It goes live in two ways:
save to the title draft ──▶ title draft
│
├─ title-wide publish ──────────▶ live in every sandbox at once
│ (productdeveloper.xml, productsystem.xml,
│ globalaccesspolicies.xml)
│
└─ any publish of a sandbox ────▶ live in that sandbox
(dataplatformconfig.xml, titlepriv.xml, nsal.xml)
Each publish takes the whole draft, including teammates' unpublished changes.
config save --file sends only the files you name, so the other documents keep their draft
content. If a publish reports AlreadyPublished, none of the documents that publish takes
changed since its last publish; see Republishing before you
use --republish.
--scid takes the title's service configuration ID (SCID). config save and
config publish change a real title, so agents need the user's approval first. See
Safety and destructive operations.
Change a setting in one sandbox
This example lets Nod Rally read Nod Arena's leaderboards in sandbox XDKS.1. Cross-title multiplayer follows the same steps with two files.
Download the sandbox's draft:
xbox xbl config download --scid aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee --sandbox-id XDKS.1 --view draft --dest nod-arenaEdit
nod-arena/accesspolicies.xml. See Access policies.Validate the change:
xbox xbl config save --scid aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee --sandbox-id XDKS.1 --file nod-arena/accesspolicies.xml --validate-onlyIf validation reports no errors, save it:
xbox xbl config save --scid aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee --sandbox-id XDKS.1 --file nod-arena/accesspolicies.xml --message "Let Nod Rally read leaderboards"Publish the sandbox:
xbox xbl config publish --scid aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee --sandbox-id XDKS.1
Change a title setting
Title settings follow the same steps against the title draft, with --scope title. This
example ends the embargo in productdeveloper.xml.
Warning
Once you save a title setting, anyone's next publish, from the CLI or Partner Center, can make it live in any sandbox, RETAIL included. You don't choose which.
Download the title draft:
xbox xbl config download --scid aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee --scope title --view draft --dest nod-arena-titleEdit the embargo in
nod-arena-title/productdeveloper.xml. See Embargo.Validate the change:
xbox xbl config save --scid aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee --scope title --file nod-arena-title/productdeveloper.xml --validate-onlyIf validation reports no errors, save it:
xbox xbl config save --scid aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee --scope title --file nod-arena-title/productdeveloper.xml --message "End the embargo"
To see every document in the title draft, including teammates' saves, where each goes live, and what a title-wide publish would change:
xbox xbl config status --scope title --scid aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee --output table
How the change goes live depends on the document:
The title-wide publish makes
productdeveloper.xml,productsystem.xml, andglobalaccesspolicies.xmllive in every sandbox at once. The sameconfig status --scope titlecompares them with what's published, and reports the publish's result inlastPublish.Warning
The title-wide publish reaches RETAIL players as soon as it finishes. It publishes the title draft's copies of those three documents, including teammates' unpublished edits, so review the title draft's status first.
To publish them, which asks first:
xbox xbl config publish --scope title --scid aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeeeEach sandbox's next publish makes
dataplatformconfig.xml,titlepriv.xml, andnsal.xmllive in that sandbox. A sandbox'sconfig statuslists these documents with"scope": "title", so it shows which title changes its next publish takes.After you save, check what the sandbox you test in will take:
xbox xbl config status --scid aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee --sandbox-id XDKS.1Then publish it:
xbox xbl config publish --scid aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee --sandbox-id XDKS.1
Title settings
Title names
Excerpt of productdeveloper.xml:
<DevDisplayLocale>en-US</DevDisplayLocale>
<LocalizedTitleNames>
<LocalizedValue locale="en-US">Nod Arena</LocalizedValue>
<LocalizedValue locale="fr-FR">Nod Arène</LocalizedValue>
</LocalizedTitleNames>
Each locale appears once with a non-empty name, and the DevDisplayLocale locale must keep
its name. These names are separate from the game's Store listing.
Platforms
Excerpt of productdeveloper.xml:
<Platforms>
<Platform>XboxOne</Platform>
<Platform>Scarlett</Platform>
<Platform>WindowsOneCore</Platform>
</Platforms>
Partner Center offers XboxOne, Scarlett (XBOX Series X|S), WindowsOneCore (PC),
WindowsOneCoreMobile, iOS, and Android, and keeps other values already in the
document, so leave values you don't recognize in place. At least one platform is required.
Embargo
Excerpt of productdeveloper.xml:
<XboxLiveEmbargoDate>2027-03-01T17:00:00Z</XboxLiveEmbargoDate>
<EmbargoInvitesEnabled>true</EmbargoInvitesEnabled>
An embargo keeps the title's XBOX services configuration from being publicly visible in
RETAIL until a UTC date, so you can publish to RETAIL before launch.
EmbargoInvitesEnabled allows multiplayer invites during it. To remove an embargo, set the
date to 0001-01-01T00:00:00Z and EmbargoInvitesEnabled to false, as Partner Center
does. Titles whose XboxLiveTier in productsystem.xml is Open can't set one.
Multiple points of presence
Excerpt of productdeveloper.xml:
<MultiplePointsOfPresenceEnabled>false</MultiplePointsOfPresenceEnabled>
Multiple points of presence lets a player be signed in to the title on several devices at
once. Partner Center doesn't recommend it for games, because it limits achievements and
multiplayer. Open-tier titles can't turn it on.
Business partner
Excerpt of productsystem.xml:
<BusinessPartnerId>11111111-2222-3333-4444-555555555555</BusinessPartnerId>
It must be one of the seller account's business partners, which
xbox xbl business-partner list lists. XBOX sets every other
field in productsystem.xml, and changing one fails validation.
Stats and achievements systems
dataplatformconfig.xml:
<DataPlatformConfig xmlns="http://config.mgt.xboxlive.com/schema/dataplatformconfig/1">
<StatSystem>StatsLeaderboards2017</StatSystem>
<AchievementSystem skipRetailPublish="false">Achievements2017</AchievementSystem>
</DataPlatformConfig>
skipRetailPublish="false" publishes achievements to RETAIL. New titles use the values
shown.
Partner Center offers each title two stats systems:
| Partner Center option | StatSystem |
|---|---|
| Event-Based Stats | UserStats2013, or UserStats2015 for a title already on it |
| Title-Managed Stats | StatsLeaderboards2017 |
Partner Center warns that a title can't use Sets, which sets.xml defines, after it switches to
Title-Managed Stats.
A config save --scope title that sets a stats system Partner Center doesn't offer the title
fails with HTTP 409 and the code stats_system_change_not_allowed. That's UserStats2015 for a
title that isn't on it, and UserStats2013 for a title on UserStats2015. detail names the
ones the title can use.
Warning
Decide before RETAIL publishes achievements. After that, AchievementSystem,
skipRetailPublish, and StatSystem can't change, and achievements published to RETAIL
can't be rolled back.
A config save --scope title that changes a locked StatSystem fails with HTTP 409 and the code
stats_system_locked, and detail names RETAIL's stats system. So does every publish except
the title-wide one, development sandboxes included, while the title draft holds a different
StatSystem. To publish again, save dataplatformconfig.xml with RETAIL's StatSystem.
A config save --scope title of dataplatformconfig.xml, or a publish other than the title-wide
one, fails with HTTP 409 and the code stats_system_check_failed when the service can't read
RETAIL's published dataplatformconfig.xml to check the stats system. Nothing changed. Try again
later.
Achievements2013doesn't work withStatsLeaderboards2017.skipRetailPublish="true"doesn't work with theXboxOne,Scarlett, orWindowsOneCoreplatforms.- After you switch stats systems, a sandbox that still holds stats documents for the old system fails to publish until you remove them.
- Titles with
IsXblLimitedset inproductsystem.xmlcan't use achievements or theUserStats2013andUserStats2015stats systems.
Privileges
A privilege controls what the title's own players can do, such as broadcast it. The IDs are
the XBOX Game Development Kit (GDK)
XUserPrivilege
values:
| ID | GDK name | Partner Center label |
|---|---|---|
| 190 | Broadcast |
Broadcasting |
| 189 | Sessions |
Single-player experiences in shared environments |
| 254 | Multiplayer |
Online multiplayer sessions with live players |
Excerpt of titlepriv.xml that stops players broadcasting the title in every sandbox:
<DefaultPrivileges>
<Restrictions>
<Restriction Privilege="190" />
</Restrictions>
</DefaultPrivileges>
DefaultPrivilegesapplies to every sandbox. ASandboxPrivilegesentry underSandboxOverridesapplies to the sandbox in itsSandboxName.- Version 2 of the document (namespace ending
titlepriv/2) writes privileges as numbers and is what Partner Center writes. Version 1 writes names, such asPrivilege="Broadcast". Edit the version your file uses.
Single sign-on endpoints
Single sign-on lets your game sign players in to your own web service. When the game calls
XUserGetTokenAndSignatureAsync for a URL, XBOX matches it against the title's endpoints
and returns a token for that endpoint's relying party. The relying party belongs to the
seller account; create it with xbox xbl relying-party create or on
Partner Center's Relying parties page.
Excerpt of nsal.xml:
<DefaultNsal>
<Endpoint>
<Scheme>https</Scheme>
<Host>api.nodpublishers.com</Host>
<Path>/arena/</Path>
<HostType>FQDN</HostType>
<RelyingParty TokenType="JWT">rp://api.nodpublishers.com/</RelyingParty>
</Endpoint>
</DefaultNsal>
- Add endpoints to
DefaultNsal. New titles use only that list;CertificationNsal,RetailNsal, andSandboxesare older per-sandbox lists. HostTypeisFQDN(fully qualified domain name), orWILDCARDwhenHostcontains*.RelyingPartyis the relying party's name, asxbox xbl relying-party listshows it. Partner Center writesTokenType="JWT"(JSON Web Token).- Partner Center allows at most 50 endpoints in a list.
Access policies
An access policy lets another game, app, or service use this title's XBOX services data in
one sandbox. Each AccessPolicy names a feature, each Permission a level of access
(FullAccess or ReadOnly), and each Principal who gets it. THIS is the title itself.
Excerpt of accesspolicies.xml that lets Nod Rally read Nod Arena's leaderboards:
<AccessPolicy Scope="Leaderboards">
<Permission Type="FullAccess">
<Principal Type="Product">THIS</Principal>
</Permission>
<Permission Type="ReadOnly">
<Principal Type="Product">Nod.Rally_abc123</Principal>
</Permission>
</AccessPolicy>
- A game principal is its package family name. For your own games,
xbox game get --store-id <store-id>returns it aspackageFamilyName. - A web service principal is
Type="Service", with the web service's ID, whichxbox xbl web-service listshows. - Each feature appears once, each permission type once per feature, and each principal under one permission per feature. Every permission lists at least one principal.
- Keep
THISin every policy, as Partner Center does, so the title keeps access to its own data. - Features include
Achievements,GlobalStorage,Leaderboards,Multiplayer.Runtime,Presence,Stats, andUniversalStorage.
Cross-title multiplayer
Cross-title multiplayer lets players of another title join this title's multiplayer sessions. It takes two entries in the host title's sandbox, saved together; with only the first, the other title's players are refused when they join:
The other title's ID in
crosstitlemultiplayer.xml, in decimal.xbox game getshows it in hexadecimal asxboxTitleId. To convert it, in bash or zsh:printf '%d\n' 0x1234ABCDIn PowerShell:
[Convert]::ToInt64('1234ABCD', 16)A
Multiplayer.Runtimegrant to the other game inaccesspolicies.xml.
This lets Nod Rally (title ID 1234ABCD, package family name Nod.Rally_abc123) join Nod
Arena's sessions:
<CrossTitleMultiplayer xmlns="http://config.mgt.xboxlive.com/schema/crosstitlemultiplayer/1">
<ChildTitleIds>
<TitleId>305441741</TitleId>
</ChildTitleIds>
</CrossTitleMultiplayer>
<AccessPolicy Scope="Multiplayer.Runtime">
<Permission Type="FullAccess">
<Principal Type="Product">THIS</Principal>
<Principal Type="Product">Nod.Rally_abc123</Principal>
</Permission>
</AccessPolicy>
Pass both files to config save, each with its own --file. Validation rejects a title ID
listed twice, the host title's own ID, and a title ID that doesn't exist.