> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Rich Presence appendix

> Reference notes on using XBOX Live Player Data stats and state values, such as kills or current map, as parameters inside Rich Presence strings.

This topic describes using player stats from the Player Data in Rich Presence strings.

## Player Data

The basics of Player Data are part of the "Entertainment as a Service" initiative.
Everything in a game can be described as events, with attributes associated with those events.

You can configure statistics and state values that are important to the game's experience in the service.

### Example statistics

* Number of kills
* Number of side quests completed
* Number of coins collected
* Number of miles driven

### Example state data

* Current map
* Current X, Y, and Z coordinates
* Current weapon

For more information, see [Stats and leaderboards](/services/xbox-services/player-data/stats-leaderboards/live-stats-leaderboards-nav).


## Related topics

- [Rich Presence concepts](/services/xbox-services/community/presence/concepts/live-presence-concepts-nav.md)
- [Concepts](/services/xbox-services/community/presence/concepts/index.md)
- [Rich Presence](/services/xbox-services/community/presence/live-presence-nav.md)
- [Rich Presence overview](/services/xbox-services/community/presence/live-presence-overview.md)
- [Rich Presence portal config](/services/xbox-services/community/presence/config/live-presence-config-nav.md)
