Properties
banned
banned: ((player, username, reason) => void)
Type declaration
- (player, username, reason): void
Parameters
player: Pick<Player, "username">
username: string
reason: string
Returns void
clientError
clientError: ((client, error) => void)
Type declaration
- (client, error): void
Parameters
client: Client
error: Error
Returns void
error
error: ((error) => void)
Type declaration
- (error): void
Returns void
listening
listening: ((port) => void)
newEntity
newEntity: ((entity) => void)
Type declaration
- (entity): void
Returns void
newPlayer
newPlayer: ((player) => void)
Type declaration
- (player): void
Returns void
pluginsReady
pluginsReady: (() => void)
seed
seed: ((seed) => void)
tick
tick: ((delta, tickCount) => void)
Type declaration
- (delta, tickCount): void
Parameters
delta: number
tickCount: number
Returns void
unhandledRejectionWarning
unhandledRejectionWarning: (() => void)
This event is emitted once all plugins are initialized. Use this event for working with properties / methods of other plugins.