sendTitles

abstract fun sendTitles(player: Player, title: String, subtitle: String)

Sends a title and a subtitle message to the given Player.

Since

2.0.0

Parameters

player

The player the titles should be sent to.

title

The title to be displayed.

subtitle

The subtitle to be displayed.


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

Sends a title and a subtitle message to the given Player with the given timings.

Since

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