nonscenes

Timeline events

Events fire at a set time after the camera starts moving. They are stored with the cutscene and survive editing, renaming, copying and export.

Needs nonscene.event. Works from the console too.

Commands

/ns event add <name> <type> <seconds> <data…>
/ns event list <name>
/ns event clear <name>

<seconds> may be a decimal, e.g. 2.5. There is no command to remove a single event. Use clear and add the rest again, or edit an exported file.

Event types

Type Data Example
title <title>[\|<subtitle>] /ns event add intro title 1 <gold>Welcome\|to the server
sound <sound> [volume] [pitch] /ns event add intro sound 0 entity.player.levelup 1 0.8
particle <particle> [count] /ns event add intro particle 4 heart 20
console <command> /ns event add intro console 10 give {player} bread 3
player <command> /ns event add intro player 10 spawn

The particle and sound play at the player’s real position, which during playback follows the camera.

Placeholders

All event data may use:

Placeholder Value
{player} viewer’s name
{uuid} viewer’s UUID
{world} viewer’s world
{cutscene} cutscene name

Skipping and previews

Title timing in YAML

Exported cutscenes store events like this. fade-in, stay and fade-out (in ticks) can only be set here:

events:
  '0':
    time-ms: 1000
    type: TITLE
    title: <gold>Welcome
    subtitle: to the server
    fade-in: 10
    stay: 60
    fade-out: 10