sendTitle

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

Sends a title message to the given Player with the given title. 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 displayed.


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

Sends a title message to the given Player 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.