French Tutorial: https://www.youtube.com/watch?v=rbVPZewRmbY
ViaVersion provides a Maven repository that you can use to implement the ViaVersion API inside your project.
<dependency> <groupId>us<groupId>com.myles<viaversion</groupId> <artifactId>viaversion<<artifactId>viaversion-api</artifactId> <version>LATEST</version> </dependency>
When getting the players protocol, join events may not have the protocol linked with the player in time. It is suggested to delay this check by a few ticks.
Legacy BossBar API
Mojang introduced new bossbars in Minecraft 1.9