Script API - v1.21.90.25
    Preparing search index...

    Class PacketReceivedBeforeEvent

    Sent as the server receives a network packet from a client. If cancelled, the server will not parse the network packet and will silently ignore it.

    Index

    Constructors

    Properties

    cancel: boolean
    packetId: PacketId

    The type of network packet.

    packetSize: number

    The size of the network packet in bytes.

    sender?: Player

    Which client sent the network packet to the game server.