Skip to main content

ProcessingJailbirdMessage

Gets called when processing a player's interaction with the jailbird item.

Start a script section

!-- OnEvent ProcessingJailbirdMessage
-- require @evPlayer *evJailbirdItem $evMessage $evAllowAttack $evAllowInspect $evIsAllowed

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: Yes
  • Event data: PlayerProcessingJailbirdMessageEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueThe owner of the jailbird.
*evJailbirdItemreference to JailbirdItem objectThe jailbird item.
$evMessageJailbirdMessageType enum valueGets or sets the JailbirdMessageType sent by the player.
$evAllowAttackbool valueGets or sets whether starting an attack is allowed.
$evAllowInspectbool valueGets or sets whether starting an inspect is allowed.
$evIsAllowedbool valueWhether the event is allowed to run.