[SPIGOT-2292] Sending packets without imports which changes every Spigot version Created: 19/May/16 Updated: 20/May/16 Resolved: 20/May/16 |
|
Status: | Closed |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature | Priority: | Minor |
Reporter: | GoldenGamerZone | Assignee: | Unassigned |
Resolution: | Won't Fix | Votes: | 0 |
Labels: | Packet |
Description |
It would be really nice if I could send packets to the players without those import paths which have the minecraft server version inside. Maybe you could make an API which makes it easier to use Packets or use import paths which doesn't change on nearly each new Spigot release. |
Comments |
Comment by Hex [ 20/May/16 ] |
There's a reason we have the NMS packet version guard. If you want to arbitrarily send packets under the assumption that the protocol hasn't changed since the version your plugin was built for, I suggest a plugin like ProtocolLib. |