0
0
mirror of https://github.com/PaperMC/Velocity.git synced 2024-12-10 07:35:37 +00:00
Owen 965db127a9
InvocationInfo API (#1467)
* Invocation Source API

Allows proxies to detect if a command is executed from an unsigned/signed/api source.

This is useful because it allows commands executed from the player manually or by clicking on a chat message to be controlled.

* Update api significantly to improve api coverage

* javadoc

* javadoc

* Update api/src/main/java/com/velocitypowered/api/event/command/CommandExecuteEvent.java

Co-authored-by: powercas_gamer <cas@mizule.dev>

* Update api/src/main/java/com/velocitypowered/api/event/command/CommandExecuteEvent.java

Co-authored-by: powercas_gamer <cas@mizule.dev>

* Fix rename

---------

Co-authored-by: powercas_gamer <cas@mizule.dev>
2024-12-04 09:36:45 -08:00
.github replace old velocitypowered.com links (#1399) 2024-10-27 14:27:09 -04:00
api InvocationInfo API (#1467) 2024-12-04 09:36:45 -08: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 Replace home-made legacy hover event serializer with Adventure's implementation 2024-10-27 15:13:22 -04:00
native Fix typo for musl crypto 2024-09-07 13:14:04 -04:00
proxy InvocationInfo API (#1467) 2024-12-04 09:36:45 -08: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 to Velocity 3.4.0 2024-09-15 21:38:03 -04: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.

Description
The modern, next-generation Minecraft server proxy.
Languages
Java 99.3%
C 0.4%
Shell 0.2%