Hot-load, unload, reload, and watch Velocity plugins without restarting your proxy.
- Place
VelocityHotReloader.jarin your Velocityplugins/directory. - Start the proxy once to initialize plugin files.
- Use
/vhr help(alias for/velocityhotreloader help) to verify command registration. - Grant the permission nodes you want operators to use.
- Java 21
- Velocity 3.5.x
/vhr reload: reload VelocityHotReloader resources./vhr restart [--force|-f]: restart VelocityHotReloader./vhr loadplugin <jarFiles...>: load one or more plugin jars from the proxyplugins/directory./vhr unloadplugin <plugins...> [--force|-f]: disable + unload plugins./vhr reloadplugin <plugins...> [--force|-f]: reload plugins./vhr watchplugin <plugins...> [--force|-f]: watch plugin jar changes and auto-reload on update./vhr unwatchplugin <plugin>: stop watching a plugin./vhr plugininfo <plugin>: show plugin metadata./vhr commandinfo <command>: show command ownership metadata./vhr plugins [--version|-v]: list loaded plugins, optionally with versions.
./gradlew clean buildOutput jar: build/libs/VelocityHotReloader-<version>.jar
Use the helper script to bump semver, commit, and tag:
scripts/bump-version.sh patch
scripts/bump-version.sh minor --pushOptions:
major|minor|patch: required bump type--push: push branch + tag after creating them--remote <name>: push/check against a remote (default:origin)