sendSubtitle

abstract fun sendSubtitle(player: Player, subtitle: String)

Sends a subtitle message to the given Player. This will also use the last sent timings.

Since

2.0.0

Parameters

player

The player the subtitle should be sent to.

subtitle

The subtitle to be displayed.


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

Sends a subtitle message to the given Player with the given timings as well as the given subtitles.

Since

2.0.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.