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

  • BasicEvent
    • PlayerMurderEvent

Implements

Properties

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

The message that this event originated from.

player: PlayerData<RoomType>

The player that this event is for.

room: RoomType

The room or client that the event came from.

victim: PlayerData<RoomType>

The player that was murdered.

Constructors

Generated using TypeDoc