Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-24 15:20:35 +01:00
e45ca5f357
* Improved Scheduler API - Added `Scheduler#builder(plugin)` This method allows a more simplified builder while maintaining the main requirement of the executor plugin - Added `Scheduler#taskByPlugin(plugin)` Allows to obtain the tasks that a plugin has sent to execute and that are currently active - Added `TaskBuilder#task(Consumer<SchuledTask>)` Allows to specify a task with access to the task itself with the ability to cancel itself * Applied requested changes - Removed tasks builder method - Added `Scheduler#buildTask(plugin, Consumer<ScheduledTask>)` * Removed some unused imports * Applied suggested change * Fix possible test bug * Applied more suggested changes * Fixed tests inside tasks |
||
---|---|---|
.github | ||
api | ||
config/checkstyle | ||
gradle | ||
native | ||
proxy | ||
.gitignore | ||
build.gradle | ||
CONTRIBUTING.md | ||
gradlew | ||
gradlew.bat | ||
HEADER.txt | ||
Jenkinsfile | ||
LICENSE | ||
README.md | ||
settings.gradle |
Velocity
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, 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.