Posts: 4,629
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 post(s)
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?
Posts: 4,629
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 post(s)
Because that array is destroyed when the plugin is reloaded.
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 post(s)
You could simply send the version in the packet callback.
Posts: 254
Threads: 16
Joined: Oct 2013
Thanks: 3
Given 20 thank(s) in 18 post(s)
I thought we were moving to supporting only one protocol.
Posts: 4,629
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 post(s)
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.