broadcastFormattedPersistentTitle

open override fun broadcastFormattedPersistentTitle(title: String = "", subtitle: String = "", fadeIn: @Range(from = 0, to = 72000) Int, predicate: Predicate<SpigotPlayer> = Predicate { true })

Sends a persistent formatted title and subtitle to all players that satisfy the specified predicate. The title remains displayed with the specified fade-in duration.

Parameters

title

The main title text to be displayed. Defaults to an empty string.

subtitle

The subtitle text to be displayed below the main title. Defaults to an empty string.

fadeIn

The duration (in ticks) for the fade-in animation. Must be between 0 and 72,000.

predicate

A function that evaluates whether a player should receive the title. Defaults to a predicate that always returns true for all players.