A plugin that allows you to use velocity as a spigot plugin
Spvelocity is a Paper / Spigot plugin that automatically:
/proxy start|stop|statusPerfect for quick network testing, CI pipelines, or ad-hoc test servers.
velocity.jar on the very first /proxy startplugins/Spvelocity/config.yml/proxy start (to download Velocity)spvelocity-<version>-shaded.jar from the Releases page <server>/plugins /proxy start
→ velocity.jar is downloaded to plugins/Spvelocity/proxy/ and booted on port 25577git clone https://github.com/<YOUR-USER>/spvelocity.git
cd spvelocity
mvn clean package # produces target/spvelocity-*-shaded.jar
config.ymlvelocity:
download-url: "https://api.papermc.io/v2/projects/velocity/versions/3.3.0-SNAPSHOT/builds/261/downloads/velocity-3.3.0-SNAPSHOT-261.jar"
jar-name: "velocity.jar"
port: 25577
3.2.0, etc.) keep the same URL. | Command | Description | Permission | Default |
|---|---|---|---|
/proxy start |
Download & start Velocity | spvelocity.command |
OP |
/proxy stop |
Stop the running Velocity instance | spvelocity.command |
OP |
/proxy status |
Show proxy status | spvelocity.command |
OP |
SpvelocityManager checks whether plugins/Spvelocity/proxy/velocity.jar exists java -jar velocity.jar --port <port> through ProcessBuilder destroy()MIT License — see LICENSE for details.
Fork, modify, redistribute, enjoy!