# Configuration
Recap's configuration is stored in `plugins/Recap/config.yml`. The plugin saves a default config on first run.
---
## Default Config
```yaml
# Recap Configuration
version: 1
# Recording settings
recording:
max-duration: 0
capture-radius: 128
format: json
# Playback settings
playback:
view-distance: 64
loop: false
# Storage settings
storage:
directory: recordings
```
---
## Recording
| Key | Type | Default | Description |
|---|---|---|---|
| `recording.max-duration` | int | `0` | Maximum recording duration in ticks. `0` = unlimited. |
| `recording.capture-radius` | int | `128` | How far away (in blocks) players must be to be included in a scene recording. |
| `recording.format` | string | `json` | Storage format hint. Recordings use the optimized binary `.recap` format regardless. |
---
## Playback
| Key | Type | Default | Description |
|---|---|---|---|
| `playback.view-distance` | int | `64` | View distance in blocks for NPC visibility during playback. |
| `playback.loop` | boolean | `false` | Whether playback loops by default when started without an explicit loop argument. |
---
## Storage
| Key | Type | Default | Description |
|---|---|---|---|
| `storage.directory` | string | `recordings` | Directory for recording files, relative to the plugin data folder. |
Recordings are saved as `.recap` files using a compressed binary format. Scenes are saved as `.json` files in `plugins/Recap/scenes/`.
---
## Related Pages
- [[Recap/Server Owners/Commands]] — command reference
- [[Recap/Server Owners/Overview]] — plugin overview