> For the complete documentation index, see [llms.txt](https://mediocraty-itself.gitbook.io/rusttools/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mediocraty-itself.gitbook.io/rusttools/discord-slash-commands/statistic-commands.md).

# Statistic commands

## - Getting list of saved data players

* `/stats all`  - returns list of names with steam id\`s that bot have gathered data about.

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FdCUKAOiI2a16F7vuYzhm%2Fimage.png?alt=media&amp;token=684bb637-4715-4dc7-8aea-3e691a0c1e63" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FaxxihaIGHHA181oZ6WJG%2Fimage.png?alt=media&amp;token=13d0765a-bfbb-44b0-9a2c-a6855f0eaa2d" alt=""><figcaption></figcaption></figure>

## - Getting info of 1 player

* `/stast view <name_or_steam_id>` - returns full data of user by steam id or username.

<sup>*\*Play time means time without being afk.*</sup>

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FpKS5cdpWEQ6rNjU7h8oK%2Fimage.png?alt=media&amp;token=4b73d708-4a31-4b4b-8807-706b6194b6ac" alt=""><figcaption></figcaption></figure>

## - Listing top-members per each statistic

* `/stats top (join/online/afk/play/death)` - if empty argument lists #1 member of each stat.\
  Same command but with argument play - will list top of team memebrs counted by time they actually played(time without afk) and etc.

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2F7rKlq6abNm944FcvVhdQ%2Fimage.png?alt=media&amp;token=91ed96bd-a2e1-4744-85bc-ef9d22e1434a" alt=""><figcaption></figcaption></figure>

## - Removing 1 member out of saved players data

* `/stats remove <name_or_steam_id>` - removes player from saved data.

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FbEQdIRrDIBHkGPa1XSVP%2Fimage.png?alt=media&amp;token=35325628-6fb7-4582-b973-cbca06782321" alt=""><figcaption></figcaption></figure>

## - Wiping all players data

* `/stats clear_all` - deletes all saved players data.

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FFkX2Zwh5DTaORqC62EJj%2Fimage.png?alt=media&amp;token=d1052971-9e38-401b-86ce-f0595b9d431c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FErLJP9STNWUirn0zamhk%2Fimage.png?alt=media&amp;token=8831c4f0-4da1-4637-ba8a-7fa26389b81d" alt=""><figcaption></figcaption></figure>
