Static
eventReadonly
isWhether or not this protect would normally be considered valid and thus the player be protected.
Readonly
messageThe message that this event originated from.
Readonly
playerThe player that this event is for.
Readonly
roomThe room or client that the event came from.
Readonly
targetThe other player that the player is attempting to protect.
Whether or not this protect will be considered valid instead, if altered.
The player that will protect the target instead, if altered.
The player that will protected instead, if altered.
The other player that the player is attempting to protect.
Whether or not this protect would normally be considered valid and thus the player be protected.
Change the player that will actually protect the target.
Change the player that will actually be protected.
The player to protect.
Generated using TypeDoc
Emitted when a player (i.e. a guardian angel) is attempting to protect another player, and is requesting the host to verify the attempt and actually protect the player. Only admitted if the client is the host.
This event is useful if you want to prevent a protect from actually happening, before it happens. Therefore this event doesn't guarantee that the target is actually dead, see PlayerProtectEvent to listen for that.