sendProcessedTitles

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

Sends a title and a subtitle message to the given Player where all placeholders are 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 titles should be sent to.

title

The title to be displayed.

subtitle

The subtitle to be displayed.

fadeIn

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

stay

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

fadeOut

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

Sources

Link copied to clipboard