sendTitleWithPlaceholders

abstract fun sendTitleWithPlaceholders(player: Player, title: String)

Sends a title 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 title should be sent to.

title

The title to be sent to the Player.


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

Sends a title message to the given Player with the given timings where all placeholders have been replaced and with the given timings.

Since

2.0.0

Parameters

player

The player the title should be sent to.

title

The title to be sent to the Player.

fadeIn

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

stay

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

fadeOut

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