Title
Information of Title packet.
What is title?
Its a text thats pop up on the center of the game.
Example
import Title from './src/api/packets/Title.js'
const title = new Title()
.setText('Hello World!')
.setStayTime(100)
.setFadeIn(50)
.setFadeOut(100)
title.execute(player)
API
interface Title {
setText(text: string)
setStayTime(time: number)
setFadeIn(time: number)
setFadeOut(time: number)
}
Last updated