Home›Java›Mods›spvelocity
spvelocity
ModsJava

spvelocity

Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

by nehatsu. · on Modrinth

⬇ Download on Modrinth

Spvelocity — a Paper / Spigot plugin that downloads and launches a Velocity proxy

Java Paper License


What is it?

Spvelocity is a Paper / Spigot plugin that automatically:

  1. Downloads a Velocity jar from a given URL
  2. Starts Velocity in a separate process
  3. Lets you control it in-game / from console with /proxy start|stop|status

Perfect for quick network testing, CI pipelines, or ad-hoc test servers.


Features


Requirements


Getting started (pre-built jar)

  1. Download spvelocity-<version>-shaded.jar from the Releases page
  2. Drop it into <server>/plugins
  3. Start your Paper / Spigot server with Java 17 / 21 etc.
  4. Run in-game or in console:
    /proxy start
    
    → velocity.jar is downloaded to plugins/Spvelocity/proxy/ and booted on port 25577

Building from source

git clone https://github.com/<YOUR-USER>/spvelocity.git
cd spvelocity
mvn clean package    # produces target/spvelocity-*-shaded.jar

Configuration — config.yml

velocity:
  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

Commands & permissions

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

How it works

  1. SpvelocityManager checks whether plugins/Spvelocity/proxy/velocity.jar exists
  2. If not, it downloads it via Apache Commons IO from the configured URL
  3. Runs java -jar velocity.jar --port <port> through ProcessBuilder
  4. Redirects proxy output to the Paper console
  5. When the Paper server shuts down, the child process is destroyed via destroy()

License

MIT License — see LICENSE for details.
Fork, modify, redistribute, enjoy!

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more