@minecraft/server-net
    Preparing search index...

    Interface PacketEventOptionsBeta

    Options for events triggered by network packets.

    interface PacketEventOptions {
        ignoredPacketIds?: PacketId[];
        monitoredPacketIds?: PacketId[];
    }
    Index

    Properties

    ignoredPacketIds?: PacketId[]

    If provided, packet IDs in this list will not trigger the event subscriptions.

    monitoredPacketIds?: PacketId[]

    If provided only packet IDs in this list will trigger the event subscriptions.