PlayerSpeakEndEvent

This event is fired when the PlayerAudioEndPacket is received. This event is cancelled if activation was handled successfully by onPlayerActivationEnd. By default, EventSubscribe ignores cancelled events, so if you want to listen for this event, make sure to set ignoreCancelled to false or priority to LOWEST to handle it before it handled by the internal listener. Or use activation-related events, they're not cancelable.

See also

Constructors

Link copied to clipboard
constructor(@NotNull player: @NotNull VoicePlayer, @NotNull packet: @NotNull PlayerAudioEndPacket)

Functions

Link copied to clipboard
open fun isCancelled(): Boolean
Link copied to clipboard
open fun setCancelled(cancel: Boolean)