Skip to content

recordCommands beta ​

Function of @v12-engine/engine

ts
export declare function recordCommands(world: World, options: {
    player: PlayerId;
    every?: number;
    checkpoints?: number;
}): CommandRecorder;

Records a world from now as its start and the commands given to it from outside a tick (the players', by a session or a server; a computer player's are its system's, which runs again), with its hash every every ticks (300, ten seconds at 30 a second, when left out). Starting takes a save of the world, as saving does (it puts the crowd back as a load does)