The event received when a player dies in-game.



event: string
id: number
ok: boolean
rawText: string

The death message contents, with its original formatting codes.

renderedText: RenderedTextObject

The death message contents, serialised with formatting as Minecraft JSON text.

source: null | User

The player that killed this player (if available), or null.

text: string

The death message contents, without formatting codes.

time: Date
type: string
user: User

The in-game player who died.

Generated using TypeDoc