-
-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Teams suffix/prefix limits is based on server version #960
Comments
@f4n74z14 You need to send the error |
|
How does via handle this? |
I haven't looked into Via's code, but logically I don't see why the server version is used when writing/reading a client-only packet. |
Server version is used in all packets because via expects packets sent from the server to be of that version, likewise packetevents does, otherwise you get errors due to differing client and server versions. |
You are right! Perhaps this could be done by combining the client and server versions, for example: the packet structure would be server based and the limits would be client based. (I looked how it is done in BungeeCord, there the limits are the same for all - Short.MAX_VALUE). |
It's also an issue for team name limit. |
Describe the bug
If you have packet-based plugins for teams, PacketEvents do not support them (extended limits and etc.) because determines version from the server rather than the client.
Software brand
PaperSpigot 1.8.8
Plugins
ViaVersion, GrimAC (2.3.67), TAB
How To Reproduce
Steps to reproduce the behavior:
Expected behavior
PacketEvents determines version from the client rather than the server.
The text was updated successfully, but these errors were encountered: