A replay records a playthrough of a level. On the main screen, the “Demo” button plays a replay as a demonstration of gameplay.
No. The factory scenario has three replays, but adding replays to plugins isn’t currently supported. The format is likely to change in the future.