> For the complete documentation index, see [llms.txt](https://docs.fivemstats.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fivemstats.net/tgiann-fivem-stats-script/admin-commands.md).

# Admin Commands

Admin commands need the `group.admin` ace (for example `add_principal identifier.fivem:123456 group.admin` in `server.cfg`).

## mediatest

Takes a screenshot of your own screen through the whole chain (media service, screenshot resource, upload) and prints the result in the server console. The result is also written to the `mediatest` dataset on the [Server logs](https://docs.fivemstats.net/panel/server-logs.md) page, and the screenshot shows on the [Media](https://docs.fivemstats.net/panel/media.md) page.

```txt
/mediatest
```

A working setup prints:

```txt
[tgiann-media] mediatest: https://203.0.113.10:6174/f/...
```

A failure prints the reason, see [Common Problems](https://docs.fivemstats.net/tgiann-fivem-stats-script/common-problems.md).
