This topic provides procedures for adding and changing rules for achievements in the service configuration for a title.
For an overall introduction to the various elements of the service configuration, see Introducing Service Configuration.
Sections in this topic:
The criteria that determines when the achievement will unlock. An achievement’s rules are effectively the instructions Xbox Live runs when it processes incoming User Stat updates for a title.
Every achievement must have at least one achievement rule and may have up to 50 rules.
Each rule contains the following fields:
| Field | Description |
|---|---|
| Rule name | A string with a maximum length of 44 characters that contains the name for the rule. It is not displayed. |
| Rule type | The type of the rule. Currently, the only option is “Basic”. |
| Stat instance | The stat instance(s) upon which the rule is based. You can configure up to 50 stat instances on an achievement rule, but string stat instances are not supported. For more info on stat instances, see Introducing Service Configuration. |
| Action | The operator applied to the stat instance(s) for the rule. Possible values are “SUM”, “MIN”, and “MAX”. |
| Threshold | The stat instance(s) target value against which the rule is evaluated. It is typically a numeric value. |
Important Ensure that the achievement that you clicked is selected (highlighted) before you continue.
For more information, please contact your developer account manager (DAM) or refer to the XDK documentation.
Your new rule is now listed on the Achievements & Challenges page whenever its achievement is selected.
You can add more than one rule to an achievement.
Multiple rules in a single achievement are treated as a logical AND. That is, the achievement will only unlock when all rules have been satisfied.
Important
After a title passes Final Certification, existing achievement rules in that title can no longer be changed or deleted.
To make changes to an existing rule:
Important
After a title passes Final Certification, existing events in that title can no longer be changed or deleted.
To delete an existing rule:
Important Deletion of an achievement rule is a permanent action and cannot be undone or reversed.