You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sending packets is pretty straight forward. Just obtain an instance of ProtocolizePlayer using the ProtocolizePlayerProvider and call the sendPacket method.
Sending a packet to a client (for example a CloseWindow packet):
You can send all packets that are extending dev.simplix.protocolize.api.packet.AbstractPacket. Additionally, you also can send all platform implemented packets like:
Velocity: All packets extending com.velocitypowered.proxy.protocol.MinecraftPacket
BungeeCord: All packets extending net.md_5.bungee.protocol.DefinedPacket