sendProcessedSubtitle

abstract fun sendProcessedSubtitle(player: Player, subtitle: String, fadeIn: Int, stay: Int, fadeOut: Int)

Sends a subtitle message to the given Player where all placeholders have been replaced and with the given timings. If animations or scripts are available, they will be shown.

Since

2.2.0

Parameters

player

The player the subtitle should be sent to.

subtitle

The subtitle to be displayed.

fadeIn

The time it takes for the subtitle to fade onto the screen.

stay

The time it takes for the subtitle to stay on the screen.

fadeOut

The time it takes for the subtitle to fade off of the screen.

Sources

jvm source
Link copied to clipboard