---
title: "Screenshot storage"
description: "Keep evidence screenshots forever by storing them on FiveManage instead of Discord's CDN."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.asphyxia.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Screenshot storage

Evidence screenshots are taken every time a player gets banned or receives a strike. These screenshots help you evaluate if the action made by Asphyxia was correct and also provide you with a proof for it.
By default, screenshots are uploaded to your specified Discord webhooks – however, Discord won't store these screenshots forever. Images uploaded to Discord will usually become unavailable after a few days or weeks.
This is why Asphyxia includes a FiveManage integration so your screenshots will stay stored forever. FiveManage is a CDN built for FiveM and other game platforms to allow you easily upload images, logs and or other files. FiveManage includes a free 10GB storage
for free. This will allow you to store about 300,000 screenshots from Asphyxia!

## Setting it up

1. **Enable the option.** In the dashboard, open
   [Configuration](/website/configuration) → **General** → toggle **Upload
   Screenshots via FiveManage** on.
2. **Create a token.** In the [FiveManage dashboard](https://fivemanage.com/dashboard),
   create an API token and **select the "Images only" token type** — it can
   upload images and nothing else, so if your token ever leaks, you'll have at least some kind of failsafe.
3. **Paste the token.** Back in Configuration, paste the token into the
   **FiveManage API Token** field and press **Save**.

Restart the resource (`restart asphyxia`) so your game server picks up the new
configuration once, at startup.

> **Note**
>
> The token is stored server-side and never leaves your server except to
> authenticate against FiveManage's API. You need to keep this token safe, otherwise a 3rd party can abuse it and upload files under your account.

Uploads also carry context so files stay identifiable in the FiveManage
dashboard: a readable filename (e.g. `ban_PlayerName.webp`) and metadata
(player, ban/strike ID, reason, license, severity, timestamp).

## Screenshot quality

The **Screenshot Quality** option (Configuration → General, 0-100) sets the
encoder quality of evidence screenshots. The default value is recommended, however if you need higher quality screenshots, bump it up.
Note that higher quality screenshots will take up more space, will take longer to capture and upload and in rare cases might even fail to capture completely.

## Failures
If the upload to FiveManage ever fails, a set Discord webhook will be used for upload instead. If you enabled the integration, it's recommended to also set a Discord webhook as a backup, or a screenshot will never get uploaded.

Source: https://docs.asphyxia.dev/website/screenshots/index.mdx
