3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-09-28 22:21:13 +02:00
Datei suchen
Gero 6073f698e2
Add PlayerConfigurationEvent and PlayerEnteredConfigurationEvent (#1371)
* 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.
2024-07-12 11:16:42 +02:00
.github [ci skip] Add Issue Forms (#1364) 2024-06-23 11:57:40 -05:00
api Add PlayerConfigurationEvent and PlayerEnteredConfigurationEvent (#1371) 2024-07-12 11:16:42 +02:00
build-logic Improve protocol version checking (#1203) 2024-01-18 17:32:42 -08:00
config/checkstyle chore: update checkstyle config 2024-02-08 11:20:28 -08:00
gradle Bump Adventure to 4.17 (#1376) 2024-07-10 23:15:28 -05:00
native [ci skip] Remove duplicate space from NativeZlibInflate (#1240) 2024-02-09 18:02:43 +00:00
proxy Add PlayerConfigurationEvent and PlayerEnteredConfigurationEvent (#1371) 2024-07-12 11:16:42 +02:00
.gitignore 1.20.2 Support (#1088) 2023-10-10 12:44:16 +00:00
build.gradle.kts Bump minimum java version to 17 2023-12-09 18:27:49 +00:00
CONTRIBUTING.md Update CONTRIBUTING.md 2021-01-22 19:50:31 -05:00
crowdin.yml Update Crowdin configuration file 2022-08-07 10:56:43 -04:00
gradle.properties Bump version pending 1.20.4 and API changes 2023-12-09 17:55:58 +00:00
gradlew Update Configurate to 4.1.2 and include Configurate 3 (#1157) 2023-12-11 15:16:44 +00:00
gradlew.bat [ci skip] Update Gradle to 8.7. (#1274) 2024-03-22 23:52:39 -05:00
HEADER.txt Use Spotless for license formatting 2023-01-01 18:46:33 -05:00
LICENSE Relicense the Velocity proxy under the terms of GPLv3 (#448) 2021-03-31 16:04:06 -04:00
README.md [ci skip] Update README.md (#990) 2023-03-31 12:05:53 -07:00
settings.gradle.kts Do not apply a resource pack that has already been applied (#1236) 2024-02-11 12:00:07 -05:00

Velocity

Build Status Join our Discord

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

Velocity is licensed under the GPLv3 license.

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, Fabric 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.