sendSubtitleWithPlaceholders

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

Sends a subtitle message to the given Player where all placeholders have been replaced. 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 sendSubtitleWithPlaceholders(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.

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.