Commit Graph

  • e9568e1b6c Do not write plugin messages from the server if the player hasn't joined Andrew Steinborn 2018-09-14 15:26:51 -04:00
  • 9776675b70 Queue mod plugin messages instead. Andrew Steinborn 2018-09-14 14:16:32 -04:00
  • 496c579e46 Drop non-FML handshake packets if the game start process is not done. Andrew Steinborn 2018-09-14 13:56:38 -04:00
  • 0469aaa03a Fix several invalid connection closure issues. Andrew Steinborn 2018-09-14 01:00:56 -04:00
  • 7b8a215078 Merge pull request #85 from PurpleIsEverything/master Andrew Steinborn 2018-09-14 00:54:29 -04:00
  • cf46659d9e Change to a 5 second connection timeout. PurpleIsEverything 2018-09-13 22:53:23 -06:00
  • 14590ca3ea Add CONNECT_TIMEOUT_MILLIS to fix timeout errors. ShadowKitten 2018-09-13 22:41:21 -06:00
  • d028c281c9 Merge pull request #76 from kashike/mrn Andrew Steinborn 2018-09-14 00:17:25 -04:00
  • 656987db03 Merge pull request #83 from dualspiral/fix/fml-plugin-messages Andrew Steinborn 2018-09-13 16:10:03 -04:00
  • 6ca39e459e Merge pull request #80 from dualspiral/fix/reset-on-first Andrew Steinborn 2018-09-13 16:09:51 -04:00
  • 53603803e7 Merge pull request #84 from Leymooo/force-offline Andrew Steinborn 2018-09-13 16:01:54 -04:00
  • 961757b481 fix compile Leymooo 2018-09-13 23:00:12 +03:00
  • 7e8b1fb6a5 Merge pull request #82 from Leymooo/force-offline Andrew Steinborn 2018-09-13 15:49:03 -04:00
  • bcbf4cfd5f Only send FML/FML|MP plugin messages if the player has joined the server. Daniel Naylor 2018-09-13 10:33:27 +01:00
  • ab59299620 Refactor PreLoginComponentResult Leymooo 2018-09-13 10:16:10 +03:00
  • c3fd559ac2 ServerPreConnectEvent#getInfo -> getServer kashike 2018-09-12 22:41:51 -07:00
  • b24418bfee Merge pull request #79 from Leymooo/force-offline Andrew Steinborn 2018-09-12 20:22:26 -04:00
  • 6196f94adf I think we dont need this comment Leymooo 2018-09-12 16:28:34 +03:00
  • f10e9ac8e4 Don't fire a FML reset packet on first login, set it as required for the second join after the first. Daniel Naylor 2018-09-12 10:21:28 +01:00
  • bc86a12c57 expand PreLoginComponentResult with force offline mode Leymooo 2018-09-12 11:43:33 +03:00
  • ab2c887e2c Merge pull request #73 from Leymooo/post-login Andrew Steinborn 2018-09-11 19:12:44 -04:00
  • d2b4b77134 Allow to edit GameProfile properties. Leymooo 2018-09-11 19:00:34 +03:00
  • 79bb43468f remove @NonNull, revert reindentation Leymooo 2018-09-11 17:42:24 +03:00
  • 74bf246c39 Add PostLoginEvent. Resolve #72 Leymooo 2018-09-11 16:15:54 +03:00
  • f9a98ae41c Merge pull request #70 from dualspiral/bugfix/reset-packet Andrew Steinborn 2018-09-10 15:00:18 -04:00
  • df637cd598 Ensure the reset packet is not sent when Forge isn't expecting it. Daniel Naylor 2018-09-10 18:12:01 +01:00
  • 56a50c60b5 Add missing readable check Andrew Steinborn 2018-09-09 15:05:27 -04:00
  • 46aa8efb35 Improve reliability of varint decoder. Andrew Steinborn 2018-09-09 14:37:43 -04:00
  • f2e3b5c7ec Increase plugin channels limit Andrew Steinborn 2018-09-09 14:20:46 -04:00
  • 54c3c37064 Update note about Forge support [ci skip] Andrew Steinborn 2018-09-08 02:14:52 -04:00
  • 0b1f95147a Implment simple backpressure support Andrew Steinborn 2018-09-08 01:00:21 -04:00
  • 8d045c9140 Bump versions of Gradle, log4j, and Netty. Andrew Steinborn 2018-09-08 00:32:53 -04:00
  • f75a51638c Enable TCP_NODELAY on Minecraft proxy connections too Andrew Steinborn 2018-09-07 23:29:49 -04:00
  • 5dbf8f1736 Include modlist in toBuilder() Andrew Steinborn 2018-09-07 23:23:53 -04:00
  • a62238d073 Allow toggling announcing Forge support on and off Andrew Steinborn 2018-09-07 18:18:38 -04:00
  • 3eca6e9df1 Mark Velocity as a modded server on the server list Andrew Steinborn 2018-09-07 18:09:28 -04:00
  • be9547612f Misc code cleanup Andrew Steinborn 2018-09-07 17:54:59 -04:00
  • a66246b83c Merge pull request #65 from dualspiral/feature/forge-handshake-support Andrew Steinborn 2018-09-07 17:49:52 -04:00
  • f8a3f24d6b Make sure to always forward on keep-alives from the client Andrew Steinborn 2018-09-07 16:35:36 -04:00
  • 30baee84bd Add the same check to ClientPlaySessionHandler Andrew Steinborn 2018-09-06 16:11:44 -04:00
  • 51a85d372b Add hasCompletedJoin() check as suggested Andrew Steinborn 2018-09-06 16:09:13 -04:00
  • e86968e899 Don't forward most packets while join is still in progress Daniel Naylor 2018-09-06 19:38:50 +01:00
  • 7a5857a0b2 Modded clients can connect to vanilla servers again. Modded to modded seems to need some work still... Daniel Naylor 2018-09-06 19:15:18 +01:00
  • 10da7daf1d Send the FML marker if we are not performing legacy forwarding. Daniel Naylor 2018-09-05 19:19:37 +01:00
  • 9888f6f6f0 First attempt at getting Forge working nicely with Velocity. Daniel Naylor 2018-09-05 19:08:29 +01:00
  • 5a424f5cbb Include version in boot message Andrew Steinborn 2018-09-04 01:39:51 -04:00
  • 5e0b13edcd Enhance config checks. Andrew Steinborn 2018-09-04 01:37:08 -04:00
  • d2133bf0b4 Javadocs here Andrew Steinborn 2018-09-04 01:32:50 -04:00
  • 108996fc1f Missed this Andrew Steinborn 2018-09-04 01:13:06 -04:00
  • 69e88ca6fd Adds KickedFromServerEvent. Fixes #49 Andrew Steinborn 2018-09-04 01:12:20 -04:00
  • c021eb2020 Don't output ProtocolVersion toString() in decode errors Andrew Steinborn 2018-09-04 00:50:24 -04:00
  • c5dcfb1ba6 Prettier, conciser, and more useful ProtocolVersion#toString() Andrew Steinborn 2018-09-03 23:45:11 -04:00
  • c30cc66461 Test logic when exception is thrown in thread Andrew Steinborn 2018-09-03 23:30:18 -04:00
  • 3b5d20e62d Include git revision and build number Andrew Steinborn 2018-09-03 21:02:11 -04:00
  • 01be081bda Update link to Velocity repo Andrew Steinborn 2018-09-03 15:01:18 -04:00
  • c520e04ac8 [BREAKING] PluginMessageEvent instead Andrew Steinborn 2018-09-02 20:50:24 -04:00
  • db1b19dcd6 Remove unused scoreboard API Andrew Steinborn 2018-09-02 18:07:31 -04:00
  • ff0f83b375 Add getBoundAddress() for NuVotifier Andrew Steinborn 2018-09-02 16:34:25 -04:00
  • 3791283860 Gracefully handle offline-mode login attempts on online-mode. Andrew Steinborn 2018-09-01 14:07:07 -04:00
  • 561df4e9b2 Avoid running tasks we need for later Andrew Steinborn 2018-08-31 21:34:00 -04:00
  • 19c4c300e5 Okay, really? Andrew Steinborn 2018-08-31 16:59:15 -04:00
  • 576c63893f Make sure Jenkins doesn't run deploy jobs for different branches Andrew Steinborn 2018-08-31 16:57:37 -04:00
  • d7e18b2cb1 Make channels case-insensitive because NuVotifier uses a mixed-case name Andrew Steinborn 2018-08-31 15:27:11 -04:00
  • d3a14721bc Fix typo that forced modern forwarding on. Andrew Steinborn 2018-08-31 15:26:44 -04:00
  • e86b2b711b Merge pull request #61 from Leymooo/config Andrew Steinborn 2018-08-31 13:38:55 -04:00
  • 57ccb6eec2 Allow using a '\n' in config. Create a method to generate a random string. Leymooo 2018-08-31 20:36:10 +03:00
  • b201d82a31 cleanup Leymooo 2018-08-31 16:50:14 +03:00
  • d743c8b5a1 Merge branch 'master' of https://github.com/astei/velocity into config Leymooo 2018-08-31 16:38:28 +03:00
  • ded384bbaa Merge pull request #62 from Leymooo/logger Andrew Steinborn 2018-08-30 15:35:46 -04:00
  • 182c117dc5 Shutdown logger to flush queue before call a System#exit Leymooo 2018-08-30 14:34:30 +03:00
  • a9c4d1d88b Make the velocity generate a default config Leymooo 2018-08-29 15:54:13 +03:00
  • b7725a7764 More sane shutdown code. Andrew Steinborn 2018-08-28 21:27:03 -04:00
  • 5773fe240b Use a HashSet here as it is more appropriate for the situation. Andrew Steinborn 2018-08-28 21:24:49 -04:00
  • 7e215e3c4f CfgKey -> ConfigKey Leymooo 2018-08-28 15:52:32 +03:00
  • 64fadc436b Refactor VelocityConfiguration to better support for config upgrades Leymooo 2018-08-27 19:25:36 +03:00
  • 2c7dfaaaf9 Allow config upgrading. Add annotations with reflection Leymooo 2018-08-27 19:25:36 +03:00
  • 6f8dae3a7e Removed all references to the static VelocityServer instance. Andrew Steinborn 2018-08-27 00:45:00 -04:00
  • fead4783af Another misc cleanup for bossbars. Andrew Steinborn 2018-08-27 00:25:39 -04:00
  • c2fa5d3ff1 Make sure to deny 1.12.2 and below clients in "modern" IP forwarding. Andrew Steinborn 2018-08-27 00:25:30 -04:00
  • b5ebb4541f Clean ups around the codebase. Andrew Steinborn 2018-08-27 00:24:58 -04:00
  • c7469ec13c Removed all entity ID rewriting logic. Andrew Steinborn 2018-08-26 23:58:35 -04:00
  • f27b7e4e2f Fix improper packet mapping for chat messages. Andrew Steinborn 2018-08-26 23:47:23 -04:00
  • 42f0dbf646 Expand README Andrew Steinborn 2018-08-26 23:42:01 -04:00
  • db3f2b86e1 Remove unused client settings field from ConnectedPlayer Andrew Steinborn 2018-08-26 23:23:13 -04:00
  • 8e0ca2033e Explicitly cover unexpected disconnects during login Andrew Steinborn 2018-08-26 22:43:18 -04:00
  • d482dc7f4f Clean this up Andrew Steinborn 2018-08-26 19:44:15 -04:00
  • 79f4abcf90 Expand /server command. Andrew Steinborn 2018-08-26 19:41:18 -04:00
  • 01c1002249 Make sure to schedule on the thread pool and not on the scheduler. Andrew Steinborn 2018-08-26 18:43:55 -04:00
  • 1e178cfe2a Properly block connecting to Velocity with legacy forwarding. Andrew Steinborn 2018-08-26 18:18:02 -04:00
  • 44c4221e19 Add /end alias for /shutdown. Andrew Steinborn 2018-08-26 18:02:55 -04:00
  • ef556afbf3 Rewrote scheduler to use ScheduledExecutorService for delay/repeat tasks Andrew Steinborn 2018-08-26 17:56:43 -04:00
  • ffd6217170 Broaden a catch clause so Java Errors while loading plugins don't halt the proxy. Andrew Steinborn 2018-08-26 14:40:07 -04:00
  • 27288685ff Register 1.13+ channels on legacy clients too. Andrew Steinborn 2018-08-26 14:39:31 -04:00
  • 2f6642dcd8 Make the c/v/api/proxy/player package more general. Andrew Steinborn 2018-08-25 21:44:53 -04:00
  • f273c046ec Add javadoc and reorganize the player settings stuff. Andrew Steinborn 2018-08-25 12:54:30 -04:00
  • 37eabde0c5 Merge pull request #56 from Leymooo/ping Andrew Steinborn 2018-08-25 12:45:13 -04:00
  • 86461c2b60 Merge branch 'master' into ping Andrew Steinborn 2018-08-25 12:45:07 -04:00
  • 78a2bd313a Merge pull request #57 from Leymooo/client-settings Andrew Steinborn 2018-08-25 12:44:35 -04:00
  • 2b3503e2df Fix compile. Andrew Steinborn 2018-08-25 11:02:20 -04:00
  • 09153ae620 oops Leymooo 2018-08-25 18:02:19 +03:00