# Replays and mining review

Watch the moments before a death, report or freeze, and investigate suspicious ore finds.

## Replays

GlacierStaff keeps a short rolling recording of each player. When something happens, it saves the last stretch as a clip.

### What gets recorded

A clip covers up to `capture.length` (60 seconds by default) before:

- a death
- a report
- a freeze

Clips include nearby players, up to `max-nearby-players` within `nearby-radius` blocks. Death clips end at the recorded death and start from the samples available in that life.

### Watching a clip

```text
/replay
/replay menu Steve
/replay controls
```

`/replay` opens the archive, or the current clip's controls if you're watching one. From Reports, turn on Replay Mode and click a report, or press a number key over one in the regular queue.

The clip menu offers three views:

| View | What you see |
| --- | --- |
| Freecam | Fly around the scene |
| Follow | The camera follows the subject |
| POV | The subject's own view |

Pause, seek and change speed from the controls. `/replay focus` centres freecam on the subject, and `/replay step <back|forward>` pauses on a recorded frame.

With a compatible modern ProtocolLib, Freecam and Follow show viewer-only player replicas. Without it, players are drawn as player-shaped particles. Playback uses the current terrain, not the terrain at the time.

### Keeping evidence

Temporary clips expire after `storage.temporary-days`. Save one as evidence to keep it in the archive:

```text
/replay save
```

Saving evidence needs `glacierstaff.staff.replays.evidence`.

## Mining review

Mining watches for players who find buried rare ores at a suspicious rate.

### Cases

Buried diamond and ancient debris finds are scored. When a player crosses `alert-threshold`, staff get an alert and a case is opened with the coordinates of each find. Ores that players placed themselves are tracked and ignored.

```text
/mining review
/mining review Steve
/mining review <case-id>
```

In the queue you can filter by decision status, sort cases, step through each recorded find and record a review or a dismissal with an optional reason.

### Private views

```text
/mining tools
/mining xray
/mining xray off
/mining reveal
/mining reveal off
```

- **X-ray** shows ore around you, only to you, within `horizontal-radius` and `vertical-radius`.
- **Reveal** shows invisible players within `radius`.

Both run as timed sessions, limited to `max-staff` viewers at once. Players with `glacierstaff.staff.mining.exempt` aren't scored.

| Permission | Allows |
| --- | --- |
| `glacierstaff.staff.mining.review` | The case queue |
| `glacierstaff.staff.mining.xray` | The X-ray view |
| `glacierstaff.staff.mining.reveal` | The Reveal view |
