Missing adventure component changes, so entity and item hovers from the API may not work for 1.21.5 clients
Co-authored-by: Gero <gecam59@gmail.com>
Co-authored-by: Shane Freeder <theboyetronic@gmail.com>
* Add virtualhost support for server list pings
* Add virtualhost support to ping public API
* Applied suggestions
* fixed checkstyle
* Added nullable annotation
---------
Co-authored-by: Adrian <adriangonzalesval@gmail.com>
* Invocation Source API
Allows proxies to detect if a command is executed from an unsigned/signed/api source.
This is useful because it allows commands executed from the player manually or by clicking on a chat message to be controlled.
* Update api significantly to improve api coverage
* javadoc
* javadoc
* Update api/src/main/java/com/velocitypowered/api/event/command/CommandExecuteEvent.java
Co-authored-by: powercas_gamer <cas@mizule.dev>
* Update api/src/main/java/com/velocitypowered/api/event/command/CommandExecuteEvent.java
Co-authored-by: powercas_gamer <cas@mizule.dev>
* Fix rename
---------
Co-authored-by: powercas_gamer <cas@mizule.dev>
This required a not-insubstantial number of bug fixes, since the sync support had bit-rotted somewhat. This PR also corrects a number of bugs.
Finally. the per-plugin executor services are now used to execute all async event tasks.
* feat: Add server registered/unregistered events
* Annotate new API with `@Beta`
* Migrate from classes to records
* Add null checks
* Fix code style indent
* Add links in documentation
* Fix docs indent
---------
Co-authored-by: powercas_gamer <cas@mizule.dev>
* Configuring the player (i.e. sending resource packs) should now be done in the new PlayerConfigurationEvent.
* The new PlayerEnteredConfigurationEvent is called when a player acknowledged the switch to configuration state.
* The PlayerEnterConfigurationEvent is no longer called twice. It is now called when the backed wants to reconfigure the player.
* The PlayerFinishConfigurationEvent should no longer be used to configure the player (i.e. sending resource packs). This is because since 1.20.5 the backend server can't send keep alive packets between switching state anymore and the connection will thus time out.
* Document possible blank spaces in the command of the CommandExecuteEvent
* Added Javadocs warning about unimplemented methods in Velocity
* Improved KickedFromServerEvent documentation
* Fixed `apiNote` javadoc generation
* Do not apply a resource pack that has already been applied
* Throw IllegalStateException in case of applying a resource pack already applied from the API
* Updated some dependencies
* Added support for ServerResourcePackSendEvent resource pack modification