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