Play-anytime effects
Effects in effects.yml can be played at any moment with /screens play <id> <target> [seconds] [option=value ...]. Options on the command override the file. Copy an entry under a new name to make your own.
Built in: shake, flash, blackout, cinematic-bars, tint, vignette-pulse, heartbeat, frost, fire, poison, underwater, rain, snow, ash, petals, spotlight, glitch, static, drunk, jumpscare, heart-pop, star-pop, coin-rain, confetti, level-up, fireworks, sparkle, subtitle, dialogue, quote, chapter, darkness.
/screens play flash all
/screens play tint world:arena 5 color=#FF0000 strength=0.5
/screens play dialogue Steve name="<gold>Guide" text="Welcome, traveller!"
/screens stop all- Common options:
duration(seconds, 0 = until/screens stop),sound,color,strength(0-1),fade-in,fade-out. soundplays at the start,end-soundwhen it ends, andsoundsat set times:sounds: ["0.5: ui.impact"].admin-only: true: onlymcscreens.admincan play it.ignore-player-settings: true: plays even when the player turned effects off.- Players with reduced motion get calmer versions of shakes and flashes.
accessibility.force-reduced-motionturns it on for everyone.
To let non-admins play one thing, give mcscreens.play.<id>.