Cuberite Forum

Full Version: Send packets to player
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Mods would probably work with one protocol as well, so it doesn't really matter. A plugin could possibly even get multiple functions for multiple protocols. Is there a way for plugins to get the protocol version exept for the OnLogin hook?
(08-21-2014, 01:15 AM)STR_Warrior Wrote: [ -> ]Mods would probably work with one protocol as well, so it doesn't really matter. A plugin could possibly even get multiple functions for multiple protocols. Is there a way for plugins to get the protocol version exept for the OnLogin hook?

Why not catching the protocol version of the players in an array?
Because that array is destroyed when the plugin is reloaded.
You could simply send the version in the packet callback.
That could work as well.
I thought we were moving to supporting only one protocol.
No we were only planning on removing 1.2 - 1.6 support if I remember correctly. 1.7 is nice to have since it takes a while for LiteLoader and WorldEditCUI to be updated.
Pages: 1 2