Cutscenes
A cutscene is a timeline with a camera track, actors and events. Cutscenes are saved in plugins/mcScreens/cutscenes/ and made in game with /cutscene edit <name> (see Cutscene editor GUI). Four examples are included: grand_tour, quest_giver, campfire_tasks and boss_entrance.
/cutscene play grand_tour
/cutscene play boss_entrance all
/cutscene play quest_giver Steve starring
/cutscene stop allModes#
- watch: the camera is all they see. They cannot move or look away, and they are invisible and invulnerable.
- starring: the same, and an actor marked as played by the viewer wears the viewer's own skin, name and gear.
- play-along: players keep control. Actors, effects, sounds and world events happen around them. A scene can switch between watching and walking around at any moment.
Several players in one /cutscene play watch it together as one group. skip in a scene is none, sneak or vote.
Camera#
Camera points glide into each other with easing. Points can cut, look at an actor, follow, orbit, zoom and shake. Minecraft cannot change the field of view of a spectated camera, so zoom moves the camera forward.
Actors#
Actors walk (with pathfinding), look, emote (wave, nod), sit, sneak, swing, wear equipment and speak. Skins: a player name (loaded from Mojang), url:<texture url>, viewer or none. An actor can be played by a real player with cast, for example /cutscene play podium all first=Steve for an actor with cast: arg:first.
Record mode#
While editing, /cutscene record <actor> [start-seconds] [noplayback] records you as that actor: after a 3-2-1 countdown, walk, look around, jump, swing and chat. Stop with /cutscene record stop or with F. The longest recording is cutscenes.max-record-seconds (300).
Dialogue, voices, choices and tasks#
dialogue-wait: true(orwait: trueon one line) stops the scene on each line until the viewer presses a continue key (cutscenes.continue-keys: jump, swap, click).talk-soundper actor plays while their words appear.voice: ttson a speak line reads it out loud. Lines are made when the pack builds and need ffmpeg. Withcutscenes.tts.auto-downloadmcScreens downloads piper and natural voices once. Voice presets:narrator,deep,elder,bright,young,guide,hero,villain, or your own undercutscenes.tts.voices.- Choices: a question with answers. Each answer can jump to its own part of the scene and set flags that later lines check with
if/unless. - Tasks: reach a spot, break, place or interact with a block, jump or sneak. The scene waits until it is done, and the goal is highlighted (an outline on the block, gold frames where a block can go, or a ring and arrows leading to a spot).
Where a cutscene plays, and builds#
/cutscene place <name> here: always plays at the spot you stand on./cutscene place <name> spawnorviewer: plays around the world spawn, or around whoever watches it, on any map./cutscene build <name> pos1andpos2(look at a block), thensave: the blocks between the corners become the scene's build. It is placed when the scene starts and removed when it ends, eitherfake(only the viewers see it) orreal(placed in the world, backed up and put back). The largest build iscutscenes.max-build-blocks(60000).stage: void: the scene plays in its own empty world (mcscreens_stage) with only its build. Each group of viewers gets its own spot.
Scene flags#
Rules for the area around a scene while it plays, set under flags: or changed at any moment with a flag item. Anything not set behaves like normal Minecraft.
flags:
hunger: false
fall-damage: false
item-drop: false
mob-spawn: falseArea flags: lava-flow, water-flow, fire-spread, fire-burn, leaf-decay, ice-melt, snow-melt, crop-growth, grass-spread, mob-spawn, explosion-blocks, redstone. Viewer flags: damage, fall-damage, pvp, hunger, item-drop, item-pickup, interact, daylight, weather, block-break, block-place.
Safety#
Before a cutscene (and the editor) each player's location, game mode, inventory, health, food, flight, speeds and effects are saved to data/restore/ and always given back, also after a crash or restart. The inventory is empty during a scene unless cutscenes.clear-inventory is off. Block changes are backed up and put back, and every spawned entity is tagged and removed.
Sharing#
/cutscene export <name> writes a .mcscene file to exports/. Put one in imports/ and run /cutscene import <file> [name].
Triggers#
triggers.yml plays cutscenes, screens and everything else when something happens. on: first-join, join, region-enter, region-leave, world-change, death, respawn, interact-block, interact-npc, command, schedule, level-up, advancement, low-health, kill. Options: delay, once, cooldown, permission, world, group, enabled.
boss-room:
enabled: false
on: region-enter
region: boss_arena
play: cutscene:boss_entrance
cooldown: 600
rankup:
enabled: false
on: command
command: rankup
play: screen:level_up
delay: 0.5play takes cutscene:<id>, screen:<id>, effect:<id>, toast:<id>, title:<id>, banner:<id>, animation:<id>, transition:<id>, sound:<id>, countdown:<seconds>:<style>, music:<id>[:lock] or music:stop. Players with mcscreens.bypass.cooldown ignore cooldowns.