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
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, whichconfig 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:
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:
-
Edit
nod-arena/accesspolicies.xml. See Access policies. -
Validate the change:
-
If validation reports no errors, save it:
-
Publish the sandbox:
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.
-
Download the title draft:
-
Edit the embargo in
nod-arena-title/productdeveloper.xml. See Embargo. -
Validate the change:
-
If validation reports no errors, save it:
-
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: -
Each 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:Then publish it:
Title settings
Title names
Excerpt ofproductdeveloper.xml:
DevDisplayLocale locale must keep
its name. These names are separate from the game’s Store listing.
Platforms
Excerpt ofproductdeveloper.xml:
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 ofproductdeveloper.xml:
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 ofproductdeveloper.xml:
Open-tier titles can’t turn it on.
Business partner
Excerpt ofproductsystem.xml:
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:
skipRetailPublish="false" publishes achievements to RETAIL. New titles use the values
shown.
Partner Center offers each title two stats systems:
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.
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:
Excerpt of
titlepriv.xml that stops players broadcasting the title in every sandbox:
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 callsXUserGetTokenAndSignatureAsync 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:
- 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. EachAccessPolicy 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:
- 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:In PowerShell: -
A
Multiplayer.Runtimegrant to the other game inaccesspolicies.xml.
1234ABCD, package family name Nod.Rally_abc123) join Nod
Arena’s sessions:
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.