Commit Graph

53 Commits

Author SHA1 Message Date
Andrew Steinborn c520e04ac8 [BREAKING] PluginMessageEvent instead 2018-09-02 20:50:24 -04:00
Andrew Steinborn ff0f83b375 Add getBoundAddress() for NuVotifier 2018-09-02 16:34:25 -04:00
Andrew Steinborn d7e18b2cb1 Make channels case-insensitive because NuVotifier uses a mixed-case name 2018-08-31 15:27:11 -04:00
Andrew Steinborn 2f6642dcd8 Make the c/v/api/proxy/player package more general. 2018-08-25 21:44:53 -04:00
Andrew Steinborn f273c046ec Add javadoc and reorganize the player settings stuff. 2018-08-25 12:54:30 -04:00
Andrew Steinborn 86461c2b60 Merge branch 'master' into ping 2018-08-25 12:45:07 -04:00
Andrew Steinborn 78a2bd313a Merge pull request #57 from Leymooo/client-settings
Add PlayerSettings API
2018-08-25 12:44:35 -04:00
Leymooo 09153ae620 oops 2018-08-25 18:02:19 +03:00
Andrew Steinborn d0ecc2b623 Allow making the "players" response null. 2018-08-25 10:59:42 -04:00
Andrew Steinborn c1b1e71075 Fix a typo. 2018-08-25 10:56:32 -04:00
Leymooo 1b4c537c81 Add PlayerSettings API 2018-08-25 15:52:05 +03:00
Leymooo bf2dff7693 add method to get player ping 2018-08-25 14:44:44 +03:00
Jadon Fowler 32409c201e Fix ResultedEvent.GenericResult.DENIED
It was true!

Signed-off-by: Jadon Fowler <jadonflower@gmail.com>
2018-08-25 01:14:21 -04:00
Andrew Steinborn 7ee56d9f5f Massively improved Javadoc coverage to prepare for Javadoc site. 2018-08-25 00:29:22 -04:00
Andrew Steinborn 4fb415c845 A little cleanup on the GameProfileRequestEvent. 2018-08-24 21:51:31 -04:00
Andrew Steinborn 87ffb1ac2f Add even more Javadoc. 2018-08-24 21:50:56 -04:00
Andrew Steinborn 6ccf16cee4 Merge pull request #52 from Leymooo/header-footer
Add Header and Footer. Resolves #50
2018-08-24 21:46:03 -04:00
Leymooo d65e4ed296 add method to clear header and footer 2018-08-25 04:45:10 +03:00
Leymooo 1f8c8dcd94 Add Header and Footer. Resolves #50 2018-08-25 04:37:07 +03:00
Andrew Steinborn 5389ec1baf Fix compile. 2018-08-24 21:16:48 -04:00
Andrew Steinborn afb6e69388 Improve Javadoc and the GameProfileRequestEvent. 2018-08-24 21:09:56 -04:00
Slava Maspanov a3c4522ca0 Allow to enable online mode for player connection (#51) 2018-08-24 20:55:15 -04:00
Andrew Steinborn 8fd026e025 Totally removed all uses of jsr305. Fixes #38 2018-08-22 21:46:17 -04:00
Andrew Steinborn c36f417b1e Add support for sending plugin messages over the wire 2018-08-22 00:53:02 -04:00
Andrew Steinborn 8352f7fa70 Add disconnect API call 2018-08-22 00:47:29 -04:00
Andrew Steinborn db9f668290 Merge branch 'plugin-messages' 2018-08-22 00:27:29 -04:00
Andrew Steinborn 8ea1aef173 I'm crazy 2018-08-21 23:58:42 -04:00
Andrew Steinborn f6f48e9b2d This should do it 2018-08-21 23:58:17 -04:00
Andrew Steinborn 13215f132e Debugging Jenkins here... 2018-08-21 23:47:29 -04:00
Andrew Steinborn fd65887f1f Attempt 1 at Maven repo! 2018-08-21 23:35:09 -04:00
Andrew Steinborn 55041aa1b1 Add basic implementation. 2018-08-21 23:03:09 -04:00
Andrew Steinborn 3ed499c7c0 Note that these classes are immutable. 2018-08-21 22:45:55 -04:00
Andrew Steinborn 2b6786e1fa Started work on plugin messaging API. 2018-08-21 22:41:30 -04:00
Andrew Steinborn 2d0c826ec9 Introduce ServerConnection interface
This will become very useful for plugin messaging support.
2018-08-21 21:51:31 -04:00
Minecrell c43c6cbea2 Add plugin description 2018-08-21 23:13:25 +02:00
Minecrell 830b1d4798 Various improvements to plugin metadata
- Add plugin (display) name and plugin URL
 - Make everything except plugin ID optional (instead of empty string)
 - Exclude empty properties from generated velocity-plugin.json
 - Make plugin author list immutable
 - Other (minor) cleanup and refactoring
2018-08-21 20:37:10 +02:00
kashike c4fdac9591 allow more than one author 2018-08-21 09:09:48 -07:00
Andrew Steinborn a028467e66 Plugin API (#34)
The Velocity API has had a lot of community input (special thanks to @hugmanrique who started the work, @lucko who contributed permissions support, and @Minecrell for providing initial feedback and an initial version of ServerListPlus).

While the API is far from complete, there is enough available for people to start doing useful stuff with Velocity.
2018-08-20 19:30:32 -04:00
kashike 37093d7385 bump text to 1.12-1.6.4 2018-08-12 14:19:02 -07:00
Leymooo 6a2b945ed6 Do not handle scoreboards from backend
Changes in StateRegistry will allow to us skip packets decode which we don't want handle in BackendPlaySessionHandler for a specific versions
Also do not handle respawn packet
2018-08-12 13:35:13 +03:00
Andrew Steinborn 58e072ab94 Bumped to kyoripowered/text 1.12-1.6.2 2018-08-09 20:56:12 -04:00
Andrew Steinborn a261823302 Add favicon support 2018-08-08 04:44:27 -04:00
Andrew Steinborn 05693425bf Add a basic command handling framework inspired by Bukkit/BungeeCord.
This doesn't yet support tab complete, that will come later. Additionally,
a /server command (using your configuration) and /velocity (shows basic
copyright information about the proxy) have been added.
2018-08-07 09:34:31 -04:00
Andrew Steinborn fdf5f27da6 Improve server list ping, especially for legacy MC versions. 2018-08-07 01:02:39 -04:00
Andrew Steinborn a778825152 Add server registration API. 2018-08-05 17:10:18 -04:00
Andrew Steinborn 22d1398f73 Extend the API with a ProxyServer type. 2018-08-05 01:26:07 -04:00
Andrew Steinborn 0ba85fe83f Introduce a fluent connection request API. 2018-08-04 03:13:17 -04:00
Andrew Steinborn fbdaae5ac7 Actually, this would be a better name... 2018-08-04 01:45:18 -04:00
Andrew Steinborn 9bcdc413d7 ProxiedPlayer interface 2018-08-04 01:40:37 -04:00
Andrew Steinborn 4bc4a1ec6a Use singular plurals, clean up some stuff. 2018-08-02 14:07:32 -04:00