Using it

Title cards and countdowns

Title cards#

A title and subtitle that fade in, stay and fade out, in titles.yml. background puts an image behind the card: card_plate, card_shine, card_gold, card_warning, none, or your own animation with size: 440x84.

welcome:
  title: "<gradient:#7C5CFF:#3FD0FF><bold>WELCOME"
  subtitle: "<gray>to the server, <white>{player}"
  fade-in: 0.5
  stay: 3
  fade-out: 0.8
  sound: ui.whoosh
  background: card_shine
/screens title all welcome
/screens title all text:Chapter II|The Storm

Built in: welcome, area_spawn, boss_warning, event_soon.

Countdowns#

Big digits that pop in every second, styled in countdowns.yml. style: pop (default), slot (spins like a slot machine) or drop (falls in and bounces). ring: true adds a ring that empties, shake: true shakes the last seconds. An optional boss bar can show {seconds}, and commands run from the console at zero.

event:
  size: 84
  offset-y: -12
  color: "#FFD54A"
  final-color: "#FF5A5A"
  warn-at: 3
  tick-sound: ui.tick
  go-sound: ui.go
  show-go: true
  actionbar: "<gray>The event starts soon"
  bossbar:
    enabled: true
    text: "<gold>Starting in <white>{seconds}s"
    color: YELLOW
  commands: []
/screens countdown all 10 event
/screens countdown me 5 slots

Built in: default, event, quiet, slots, drop, ring. Countdowns go from 1 to 99 seconds.