skeldjs
    Preparing search index...

    Class PlayerMurderEvent<RoomType>

    Emitted when a player murders another player.

    Due to technical limitations, this event cannot be reverted without advanced "breaking game", therefore it is out of scope of a single .revert() function. However, see PlayerCheckMurderEvent to see about canceling a murder before it happens if you are the host.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    eventName: "player.murder" = ...
    message: undefined | MurderPlayerMessage

    The message that this event originated from.

    player: Player<RoomType>

    The player that this event is for.

    room: RoomType

    The room or client that the event came from.

    victim: Player<RoomType>

    The player that was murdered.

    eventName: "player.murder" = ...