> For the complete documentation index, see [llms.txt](https://atascripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://atascripts.gitbook.io/docs/resource/xvi-phone/installation/fivemanage.md). Agents can also search and read this documentation through its [MCP server](https://atascripts.gitbook.io/docs/~gitbook/mcp).

# Fivemanage

Connect the storage for photos and videos.

XVI Phone stores photos and videos on [Fivemanage](https://fivemanage.com), so they never fill up your server's disk.

{% stepper %}
{% step %}

### Create a token

Sign in to [Fivemanage](https://fivemanage.com), open **Tokens** in your dashboard and create a new API token.
{% endstep %}

{% step %}

### Add it to server.cfg

Put it **above** `ensure ata_phone`:

```properties
set ata_phone_fivemanage_key "YOUR_FIVEMANAGE_TOKEN"
ensure ata_phone
```

{% hint style="danger" %}
Use `set`, not `setr`, and never share this token. Anyone who has it can upload to your account.
{% endhint %}
{% endstep %}

{% step %}

### Test it

Restart your server, open **Camera** and take a photo. If it shows up in **Gallery**, you're done.
{% endstep %}
{% endstepper %}

## How media works

The **Camera** uploads photos and videos up to 10 seconds. After that, players can use them across the phone:

| App       | How it uses your media                  |
| --------- | --------------------------------------- |
| Gallery   | Shows everything you've saved           |
| WhatUp    | Send it in a chat                       |
| Snapmatic | Post it or set it as your profile photo |
| News      | Add it to an article                    |

You can change the limits with `Config.MaxPhotos`, `Config.VideoMax` and `Config.MaxVideoBytes`.
