Uses of Class
com.comphenix.protocol.events.PacketAdapter.AdapterParameteters
Packages that use PacketAdapter.AdapterParameteters
-
Uses of PacketAdapter.AdapterParameteters in com.comphenix.protocol.events
Methods in com.comphenix.protocol.events that return PacketAdapter.AdapterParametetersModifier and TypeMethodDescriptionPacketAdapter.AdapterParameteters.clientSide()Set this adapter to also look for client-side packets.PacketAdapter.AdapterParameteters.connectionSide(ConnectionSide connectionSide)Set the packet types this listener is looking for.Set which game phase this listener is active under.PacketAdapter.AdapterParameteters.listenerPriority(ListenerPriority listenerPriority)Set the the event priority, where the execution is in ascending order from lowest to highest.PacketAdapter.AdapterParameteters.loginPhase()Set the game phase toGamePhase.LOGIN, allowing ProtocolLib to intercept login packets.PacketAdapter.AdapterParameteters.optionAsync()Set the listener option toListenerOptions.ASYNC, indicating that our listener is thread safe.PacketAdapter.AdapterParameteters.optionIntercept()Set the listener option toListenerOptions.INTERCEPT_INPUT_BUFFER, causing ProtocolLib to read the raw packet data from the network stream.PacketAdapter.AdapterParameteters.options(ListenerOptions... options)Set listener options that decide whether or not to intercept the raw packet data as read from the network stream.PacketAdapter.AdapterParameteters.options(Set<? extends ListenerOptions> options)Set listener options that decide whether or not to intercept the raw packet data as read from the network stream.PacketAdapter.params()Construct a helper object for passing parameters to the packet adapter.PacketAdapter.params(org.bukkit.plugin.Plugin plugin, PacketType... packets)Construct a helper object for passing parameters to the packet adapter.PacketAdapter.AdapterParameteters.plugin(org.bukkit.plugin.Plugin plugin)Set the plugin that spawned this listener.PacketAdapter.AdapterParameteters.serverSide()Set this adapter to also look for server-side packets.PacketAdapter.AdapterParameteters.types(PacketType... packets)Set the packet types the listener is looking for.PacketAdapter.AdapterParameteters.types(Set<PacketType> packets)Set the packet types the listener is looking for.Constructors in com.comphenix.protocol.events with parameters of type PacketAdapter.AdapterParametetersModifierConstructorDescriptionInitialize a packet adapter using a collection of parameters.