title

fun Player.title(mainText: String? = null, subText: String? = null, fadeIn: Int = 10, stay: Int = 70, fadeOut: Int = 20)

Parameters

fadeIn

time in ticks for titles to fade in

fadeOut

time in ticks for titles to fade out

mainText

title text

stay

time in ticks for titles to stay

subText

subtitle text