Presets

A preset is a ready screen effect: what appears on the screen, the sounds, the titles, the moments, for how long. Play one with /sfx play <preset> [players] [time], from a reaction, an item, a zone, a cutscene, a show, another plugin or the API. ScreenFX comes with 209 ready presets.
The gallery
/sfx → Preset gallery: every preset by category, with its description, channel, priority and length.
- Left click: preview it on yourself for 5 seconds
- Right click: stop the preview
- Shift click: get the command in chat
Each preset shows who can see it: Works for everyone, Bedrock too, Works without the resource pack, Full with the resource pack, simpler version without, or Needs the resource pack; and if it flashes. The filter button shows only the presets with or without the pack.
Ready presets
Each theme is a file of presets/ and a category of the gallery.
| File | Presets |
|---|---|
roleplay.yml | wasted, busted, police_chase, mission_passed, mission_failed, jailed, tased, security_camera, alarm, car_crash |
survival.yml | infected, zombie_bite, bleeding, radiation, toxic_gas, smoke, low_oxygen, sandstorm, blizzard, frostbite, burning, heat_wave |
shooter.yml | concussion, killstreak, kill_confirmed, sniper_zoom, suppressed, focus, flashbang |
fantasy.yml | heal, spell_cast, curse, rage, invisible, blessing, sanctuary, shadow_realm, quest_complete, summoning, healing_aura |
horror.yml | jumpscare, low_sanity, blackout, signal_lost, stuck_in_web, possessed, haunted, flashlight |
scifi.yml | hyperspace, scanner, sonar, hologram, emp, space_helmet, force_field, energy_rush, checkpoint, finish_line, security_scan |
events.yml | party, birthday, jackpot, winter_wonderland, in_love, victory, defeat, round_start, countdown, confetti_burst |
cinematic.yml | cinematic, cinematic_intro, cutscene_fade, boss_phase, old_film, welcome_cinematic |
spectacle.yml | vortex_pull, portal_travel, shockwave_blast, time_stop, hyperdrive, racing_heart, kaleidoscope, fever_dream, deep_dive, tunnel_vision, divine_light, old_tv, vhs_tape, arcade_mode, pocket_console, comic_book, sketchbook, hologram_call, matrix_vision, cyber_glitch, berserk, night_terror, mirror_world, dreamscape, miniature_world, infrared_scan, xray_scan, boss_arrival, glory, power_surge, system_shutdown, water_drop |
moments.yml | hit_direction_front / back / left / right, on_fire, hungry, falling, hard_landing, flight_speed, enderman_stare, achievement, level_up, blood_moon, rain_on_screen, preferences_preview |
looks.yml | glitch, thermal_vision, retro, fisheye, warp_speed, iris_close, iris_open, trip, dream, nightmare, drunk |
atmosphere.yml | nether_heat, end_haze, storm_chill, cave_darkness, tipsy, underwater, desert_heat, cold_night, swamp_fog, thin_air, lava_heat, second_wind |
plugins.yml | the presets of the reactions for other plugins: crate_open, combat_tagged, combat_relief, afk_dim |
overlays.yml | blood_splatter, frozen_screen, binoculars, scope, gas_mask, cracked_screen |
filters.yml | filter_noir, filter_sepia, filter_vintage, filter_warm, filter_cold, filter_grayscale, filter_dream, filter_cinema |
vanilla.yml (no pack needed) | earthquake, elder_curse, darkness_falls, zoom_in, faint, dizzy, danger, freezing_cold, spook, night_eyes, blurred_vision, spider_vision, creeper_vision, inverted_world |
reactions.yml | the presets of the reactions: low_health, poisoned, withered, explosion_close / far, death, respawn, heartbeat... |
items.yml | the presets of the items: goggles, sunglasses, frag_blast, signal_smoke_red / blue, drowsy, laughing, flare_light... |
Writing a preset
Every .yml file in presets/ can hold presets (your own file too: presets/my-server.yml). presets/_guide.yml explains every option; the editor (/sfx editor <name>) and the Web editor make presets without files.
bank_alarm:
display-name: "<red>Bank alarm" # name in menus (MiniMessage, & codes, hex)
description: "&7Sirens and a shaking camera"
icon: REDSTONE_LAMP # item shown in menus
channel: alarm # same channel: they replace each other; other channels stack
priority: 60 # can replace a preset of its channel with the same or lower priority
flashing: true # players who turned off flashing effects don't get it
duration: 10s # no duration = until the sequence ends (or until stopped)
effects: [screenfx:vignette_red_2] # held for the whole preset
sequence: # timeline: see Sequence steps
- add: [screenfx:siren_1]
sound: event.raid.horn
title: {title: "<red><bold>ALARM", subtitle: "&7Get out!"}
camera-shake: {strength: 3, time: 2s}
- repeat: forever
steps:
- wait: 4
- swap: [screenfx:siren_1, screenfx:siren_2]
- wait: 4
- swap: [screenfx:siren_2, screenfx:siren_1]
fallback: # for players without the resource pack
sequence:
- red-screen: 3
sound: event.raid.horn
| Option | |
|---|---|
display-name, description, icon | how it looks in menus |
channel | presets on the same channel replace each other, different channels stack |
priority | replaces a preset of the same channel with the same or lower priority; higher priority is drawn on top |
flashing | true = players who turned off flashing effects don't get it (set by itself when the sequence uses flash) |
duration | 40 (ticks), 2s, 1.5s, 3m. No duration = until the sequence ends, or until stopped when it holds or repeats forever |
loop | repeat the sequence until the duration ends or the preset is stopped |
effects | effects held for the whole preset |
sequence | the timeline (Sequence steps) |
fallback | the vanilla version: sequence / effects made of vanilla steps, or preset: <other>, and title, subtitle, actionbar for clients that still can't show it |
Texts accept {player}, {uuid} and PlaceholderAPI placeholders.
How effects share the screen
Every source (a reaction, a zone, an item, a command, a plugin) holds its effects under its own name. An effect stays on screen while at least one source holds it, so stopping one never removes another. Effects added by /posteffect or other plugins are left alone (safety.clear-foreign-effects).
Actualizat ultima data pe