ServerSourcePacketEvent

This event is fired when the tcp Packet is about to send to the players.

Constructors

Link copied to clipboard
constructor(@NotNull source: @NotNull ServerAudioSource<out Any>, @NotNull packet: @NotNull Packet<out Any>)
constructor(@NotNull source: @NotNull ServerAudioSource<out Any>, @NotNull packet: @NotNull Packet<out Any>, distance: Short)

Types

Link copied to clipboard
enum Result
Packet handling result.

Functions

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