3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-23 23:00:35 +01:00
Datei suchen
Andrew Steinborn cb261c6513 Better handle not failing over on a read timeout
The existing Velocity logic was pretty optimistic, hoping the player connection would stay alive long enough to accept a connection to another server. Now, if we notice a read timeout on the server end, we'll treat the disconnect as "unsafe" and disconnect the player immediately.

I've added a configuration option to solve the issue in the way BungeeCord does it. This could cause issues with servers that extensively modify the server pipeline and could degrade the user experience, though. Let's try this more conservative and see if it helps,
2020-07-20 21:55:33 -04:00
api Better handle not failing over on a read timeout 2020-07-20 21:55:33 -04:00
config/checkstyle Loosen Checkstyle rules for this. 2020-06-24 11:34:13 -04:00
gradle An Easter basket bearing gifts! (#191) 2019-04-24 14:36:49 -04:00
native Fix a few areas of concern spotted by JITWatch 2020-06-27 21:33:05 -04:00
proxy Better handle not failing over on a read timeout 2020-07-20 21:55:33 -04:00
.gitignore Rewrite native crypto to use OpenSSL 2020-06-22 20:14:46 -04:00
.travis.yml Allow building on Java 11 (and set Travis to build on OpenJDK 11) 2019-10-04 17:09:41 -04:00
build.gradle Initial commit of adventure-adapted Velocity API. 2020-06-28 21:23:01 -04:00
CONTRIBUTING.md Update CONTRIBUTING.md since we now enforce Checkstyle. 2018-12-30 03:31:32 -05:00
gradlew Initial commit. Very broken and only does Server List Ping! 2018-07-24 14:08:55 -04:00
gradlew.bat Initial commit. Very broken and only does Server List Ping! 2018-07-24 14:08:55 -04:00
Jenkinsfile Disallow all concurrent builds. 2018-12-07 17:25:04 -05:00
LICENSE MIT license 2018-07-24 14:14:52 -04:00
README.md Remove inaccurate "Status" section 2019-08-17 20:12:09 -04:00
settings.gradle An Easter basket bearing gifts! (#191) 2019-04-24 14:36:49 -04:00

Velocity

Build Status Join our Discord

A Minecraft server proxy with unparalleled server support, scalability, and flexibility.

Velocity is licensed under the MIT license for ultimate permissiveness and expanding the pool of potential contributors and users.

Goals

  • A codebase that is easy to dive into and consistently follows best practices for Java projects as much as reasonably possible.
  • High performance: handle thousands of players on one proxy.
  • A new, refreshing API built from the ground up to be flexible and powerful whilst avoiding design mistakes and suboptimal designs from other proxies.
  • First-class support for Paper, Sponge, and Forge. (Other implementations may work, but we make every endeavor to support these server implementations specifically.)

Building

Velocity is built with Gradle. We recommend using the wrapper script (./gradlew) as our CI builds using it.

It is sufficient to run ./gradlew build to run the full build cycle.

Running

Once you've built Velocity, you can copy and run the -all JAR from proxy/build/libs. Velocity will generate a default configuration file and you can configure it from there.

Alternatively, you can get the proxy JAR from the downloads page.