1 Recording and Playback
Victor Westerlund edited this page 2026-11-22 09:51:37 +01:00

Recording and Playback

Each player can record one track at a time. Players can record concurrently, and multiple mannequins can replay the same saved track independently.

Recording

Start recording, move along the route, then stop to save the track:

/function replay:start
/function replay:stop

The initial sample is captured immediately at tick zero. Stopping saves any unsampled current tick without duplicating a sample already captured for that tick.

Playback

Replay the player's most recently started track or choose a saved track by ID:

/function replay:play_latest
/function replay:play { id: 1 }

Playback requires a stopped recording. Playback uses the recorded world coordinates and dimensions. It starts at the first sample immediately, follows each sample at its recorded tick, and removes the mannequin one tick after the final sample. Recording always captures one sample per tick. Twenty ticks normally equal one second, and both recording and playback follow server tick speed.

New recordings use the mannequin's default skin. Select a player skin explicitly with Editing Recordings.

Persistence and loaded chunks

Saved tracks, recording IDs, and active playback survive reloads and world restarts. Each mannequin has its own clock and frame cursor.

  • Recording pauses while its player is disconnected and resumes on return. Death automatically stops the recording. Stop a recording before logging out if it needs to be played while its owner is offline.
  • Playback clocks pause while the mannequin's chunk is unloaded. Keep the replay route loaded, for example by following it, for uninterrupted playback. The pack does not add force-loaded chunks.

Samples are also saved in command storage, so playback can read them even when the original marker chunks are unloaded. Custom dimensions are captured and registered alongside vanilla dimensions.

Older recordings

Previously saved recordings retain their original timestamps and sample spacing. Re-record older tracks with sparse samples to capture movement every tick. Active recordings switch to sampling every tick after reloading the updated pack.

Recording scope

Recordings capture position, look direction, dimension, and pose. Equipment, interactions, block changes, and exact limb animations are outside the format. Mannequins are invulnerable, immovable, and unaffected by gravity.

See Internal Model for sample fields and Managing Recordings for storage costs and cleanup.