Send packets to player
#11
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?
Reply
Thanks given by:
#12
(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?
Reply
Thanks given by:
#13
Because that array is destroyed when the plugin is reloaded.
Reply
Thanks given by:
#14
You could simply send the version in the packet callback.
Reply
Thanks given by:
#15
That could work as well.
Reply
Thanks given by:
#16
I thought we were moving to supporting only one protocol.
Reply
Thanks given by:
#17
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.
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)