Skip to content

Automatic Playback

Open Studio with /frameui editor, choose an effect and open Events. Under Player events, tick any combination of events such as Join, Teleport, World change, Respawn, Death or Fall asleep. Each ticked event shows its own options, including the worlds it applies to. Use Plugin events for an optional integration. Import or save the design to apply the selection.

Leaving every event unchecked makes a design manual-only. Editing a draft changes its preview immediately; it does not change the server until imported or saved.

Add play-on to a custom effect file:

play-on: ['join', 'world-change']

Use a filename and matching ID such as lobby-arrival.yml / id: 'lobby-arrival'. Keep the effect’s template set to a valid animation ID. Run /frameui reload after manual changes.

The play-on list controls automatic playback for each effect. Names listed there are always accepted, even when the global triggers filter does not include them. command cannot be an automatic binding.

These events are built into FrameUI and need no other plugin. Add the ID to play-on, or tick the matching card under Events → Player events in Studio.

play-on IDPlays whenExtra options under filters.events.<id>
joinA player joins the server.Use filters.worlds
first-joinA player joins for the very first time.worlds
teleportA player teleports inside a world.Use filters.worlds and filters.distance
world-changeA player changes world.Use filters.source-worlds and filters.worlds
respawnA player respawns after dying or leaving the End.reasons, spawn-points
deathA player dies. The effect plays over the death screen.causes, sources
bed-enterA player lies down in a bed.worlds
bed-leaveA player gets out of bed.wake
level-upA player reaches a higher experience level.min-level, max-level, every
advancementA player completes an advancement that is shown in the advancement screen.kinds, include, exclude
vehicle-enterA player boards a vehicle or rideable mob.vehicles, types, exclude-types, seats
vehicle-exitA player gets off a vehicle or rideable mob.vehicles, types, exclude-types, seats

A first join also counts as a join. When both are assigned, FrameUI chooses one effect across the two events instead of playing two screens.

Every event under filters.events accepts worlds.include and worlds.exclude for the world the player is in. Empty lists and 0 mean no restriction, and a value you do not set is treated that way.

play-on: ['bed-enter', 'bed-leave', 'death']
filters:
events:
bed-leave:
wake: ['morning']
death:
worlds:
include: ['survival']
causes: ['lava', 'fall']
sources: ['environment']

This effect plays when a player lies down, when a player wakes after sleeping through the night, and when a player dies in survival from lava or a fall.

OptionAccepts
reasonsdeath, end-portal, plugin
spawn-pointsbed, anchor, world
causesBukkit damage causes in lowercase with hyphens, such as fall, lava, fire-tick, entity-attack, projectile, void or kill
sourcesplayer, mob, environment
wakemorning for waking at dawn, interrupted for leaving the bed early
min-level, max-levelLevel bounds. max-level: 0 means no maximum.
everyPlays only on every Nth level. 0 plays on every level.
kindstask, goal, challenge
include, exclude (advancement)Full advancement IDs such as minecraft:story/*. * and ? are wildcards.
vehiclesboat (boats and rafts), minecart, horse (horses, donkeys, mules), camel, pig, strider, happy-ghast
types, exclude-typesExtra Minecraft entity IDs such as pig or *_boat. * and ? are wildcards.
seatsdriver for the first rider, passenger for everyone else

Captions can use {player}, {world}, {effect} and {event}. Some events add more: {level} for level-up, {advancement} for advancement, and {vehicle} for the vehicle events.

  • Death effects keep the HUD visible and stay on the death screen. Respawn has its own screen, so a death and respawn pair can each have an effect.
  • Respawning and some vehicle changes wait a few ticks so the client has finished moving the player before the screen opens.
  • A bed that the game refuses, for example during the day or with monsters nearby, does not count as lying down.
  • Recipes and advancement tab roots never trigger advancement.

For each request, FrameUI finds matching enabled effects, checks both global and per-effect eligibility, and applies cooldowns. The highest eligible priority wins. If multiple candidates have that priority, their positive weights determine the random choice.

enabled: true
priority: 10
weight: 3
play-on: ['join']
filters:
worlds:
include: ['lobby']
cooldown-ticks: 200

This candidate is eligible in lobby and has a ten-second per-player effect cooldown. It competes with other eligible join candidates; a higher-priority effect can still win. A cooldown starts when the screen opens, not while the pack is pending.

Plugin travel events must correspond to a real, successful local player teleport. A request alone, a cancelled teleport or a pending TPA does not open a travel screen. One effect plays per teleport.

For proxy transfers, assign a Join effect on the destination server. A native addon event on one server does not render a screen on another server.

See Plugin Integrations for exact event IDs and destination filters.