-
Notifications
You must be signed in to change notification settings - Fork 12
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
Version specific motds #7
Comments
Hi, how do you get the protocol version of a player with ViaVersion api? It seems you need the Player object which you can't get on ping event. |
For spigot, you can add it to your maven like so:
and then use it in your code like this:
For bungeecord this is not needed, you can just use |
I will try to implement this for BungeeCord. It will not be possible to do in Bukkit as you can't get the "Player" on ServerListPing. |
You can do it with ProtocolLib tho... We will probably have an implementation soon :) |
Closed with 4f13ced |
I had to revert the changes because they broke some stuff and only work on BungeeCord if ViaVersion is installed. |
Since 1.16 color formatting codes don't work on lower versions, it would be good to have different version profiles (e.g. 1.16+, 1.15-) so that servers with ViaVersion/ViaBackwards are able to look good for all users.
The text was updated successfully, but these errors were encountered: