1 Function Reference
Victor Westerlund edited this page 2026-11-22 09:51:37 +01:00

Function Reference

This page lists the public replay: functions. Functions under z_replay: are internal and are described in Internal Model.

Functions

Function Arguments / executor Effect
replay:start Player Allocate an ID and record the initial sample at tick zero. Refuse a second simultaneous recording for that player.
replay:stop Recording player Finish the track without duplicating the current tick's sample. Repeated stops have no effect.
replay:play_latest Player Play that player's most recently started track, once it has been stopped.
replay:play { id: 1 } Spawn an independent playback. Active or missing recordings are rejected.
replay:halt { id: 1 } Remove all existing playbacks of this track. Future playbacks are allowed.
replay:list Player List all stored recordings, including active recordings, with their IDs, status, sampled duration, and sample count.
replay:edit/skin { id: 1, v: "PlayerName" } Save a player-name skin for an existing track, including an active recording, and refresh its loaded mannequins.
replay:delete { id: 1 } Remove a stopped track, its samples, and its playbacks. IDs are never reused.
replay:delete_all No arguments Delete every stored track and its playbacks. Refuse the entire operation while any recording is active, including an offline player's recording.
replay:uninstall No arguments Erase recordings, replay objectives, storage, variables, and loaded replay entities, including active recordings. Leave replay dormant until reload.

Commands using IDs can manage any player's track; there is no separate ownership permission system. Use Getting Started for command execution examples.

Guides