Leymooo
182c117dc5
Shutdown logger to flush queue before call a System#exit
2018-08-30 14:34:30 +03:00
Andrew Steinborn
b7725a7764
More sane shutdown code.
2018-08-28 21:27:03 -04:00
Andrew Steinborn
5773fe240b
Use a HashSet here as it is more appropriate for the situation.
2018-08-28 21:24:49 -04:00
Andrew Steinborn
6f8dae3a7e
Removed all references to the static VelocityServer instance.
2018-08-27 00:45:00 -04:00
Andrew Steinborn
fead4783af
Another misc cleanup for bossbars.
2018-08-27 00:25:39 -04:00
Andrew Steinborn
c2fa5d3ff1
Make sure to deny 1.12.2 and below clients in "modern" IP forwarding.
2018-08-27 00:25:30 -04:00
Andrew Steinborn
b5ebb4541f
Clean ups around the codebase.
2018-08-27 00:24:58 -04:00
Andrew Steinborn
c7469ec13c
Removed all entity ID rewriting logic.
...
This was all a no-op anyway, and should the need for this arise again,
it is trivial to re-add. However, Velocity does not need this, and
probably will never need it. Let's have the complexity go away.
2018-08-26 23:58:35 -04:00
Andrew Steinborn
f27b7e4e2f
Fix improper packet mapping for chat messages.
...
This fixes the statistics display on the client.
2018-08-26 23:47:23 -04:00
Andrew Steinborn
db3f2b86e1
Remove unused client settings field from ConnectedPlayer
2018-08-26 23:23:13 -04:00
Andrew Steinborn
8e0ca2033e
Explicitly cover unexpected disconnects during login
2018-08-26 22:43:18 -04:00
Andrew Steinborn
d482dc7f4f
Clean this up
2018-08-26 19:44:15 -04:00
Andrew Steinborn
79f4abcf90
Expand /server command.
...
The command now supports displaying the server you are currently on and
takes full advantage of the JSON-based text component system to prettify
its output.
2018-08-26 19:41:18 -04:00
Andrew Steinborn
01c1002249
Make sure to schedule on the thread pool and not on the scheduler.
2018-08-26 18:43:55 -04:00
Andrew Steinborn
1e178cfe2a
Properly block connecting to Velocity with legacy forwarding.
...
I also took the opportunity to improve the disconnect handling for
Disconnect messages from the server.
2018-08-26 18:18:02 -04:00
Andrew Steinborn
44c4221e19
Add /end alias for /shutdown.
2018-08-26 18:02:55 -04:00
Andrew Steinborn
ef556afbf3
Rewrote scheduler to use ScheduledExecutorService for delay/repeat tasks
2018-08-26 17:56:43 -04:00
Andrew Steinborn
ffd6217170
Broaden a catch clause so Java Errors while loading plugins don't halt the proxy.
2018-08-26 14:40:07 -04:00
Andrew Steinborn
27288685ff
Register 1.13+ channels on legacy clients too.
...
Prior to this commit, Velocity registered 1.13 and "legacy" channels
differently. This commit unifies both for legacy clients to make
compatibility easier. It also fixes a related issue in the new LuckPerms
port to Velocity.
2018-08-26 14:39:31 -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
Andrew Steinborn
2b3503e2df
Fix compile.
2018-08-25 11:02:20 -04:00
Leymooo
09153ae620
oops
2018-08-25 18:02:19 +03: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
Andrew Steinborn
a37a0d6665
Merge branch 'master' into native-crypto
...
# Conflicts:
# native/src/main/java/com/velocitypowered/natives/util/Natives.java
2018-08-25 01:12:26 -04:00
Andrew Steinborn
7ee56d9f5f
Massively improved Javadoc coverage to prepare for Javadoc site.
2018-08-25 00:29:22 -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
bc2f3a7288
Clean up ConnectedPlayer initialization.
2018-08-24 21:30:58 -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
e6e3ccaa95
Fix minor bug with shutdown messages.
2018-08-23 21:57:10 -04:00
Andrew Steinborn
91265b12a3
Fix repeat
2018-08-23 21:51:15 -04:00
Andrew Steinborn
8fd026e025
Totally removed all uses of jsr305. Fixes #38
2018-08-22 21:46:17 -04:00
Andrew Steinborn
27760f5a97
Limit scope of "attempted server connections" to just initial log ons.
2018-08-22 21:10:14 -04:00
Andrew Steinborn
2d21c01f8a
Fix boss bar handling on Minecraft 1.13+.
2018-08-22 21:08:47 -04:00
Andrew Steinborn
ccb904eeb1
Update for Minecraft 1.13.1 support
2018-08-22 20:53:53 -04:00
Andrew Steinborn
d9c35a680a
Plugins can get plugin messages now.
2018-08-22 18:59:10 -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
55041aa1b1
Add basic implementation.
2018-08-21 23:03:09 -04:00
Andrew Steinborn
7b84da2fa7
Cleaning up some stuff in the proxy implementation.
2018-08-21 22:29:01 -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
Andrew Steinborn
9c4e43e1b0
Merge pull request #44 from Minecrell/meta-cleanup
...
Various improvements to plugin metadata
2018-08-21 17:34:41 -04:00
Minecrell
c43c6cbea2
Add plugin description
2018-08-21 23:13:25 +02:00
Jadon Fowler
65de126934
Fallback to next server on connection error
...
Closes #11
Co-authored-by: Dylan Keir <jinjaproductionz@gmail.com>
Signed-off-by: Jadon Fowler <jadonflower@gmail.com>
2018-08-21 11:45:07 -07: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