AutoViaUpdater
Automates the updating of Vias like ViaVersion, ViaRewind, ViaBackwards, and ViaRewind-Legacy.
Install / Use
/learn @NewAmazingPVP/AutoViaUpdaterREADME
AutoViaUpdater v10.1.0
Keep your Via stack up‑to‑date -> automatically, safely, and on schedule.
TL;DR Drop in the jar ➜ it checks Jenkins and updates ViaVersion / ViaBackwards / ViaRewind (and ViaRewind‑Legacy on Spigot) on a schedule. Snapshots optional, DEV and Java8 jobs supported.
Table of Contents
- Highlights
- What It Updates
- Platforms & Requirements
- Installation
- Quick Start
- Configuration
- Commands & Permissions
- How It Works
- Troubleshooting & FAQ
- Building from Source
- Changelog Highlights
Highlights
- Automatic updates for the Via ecosystem from Jenkins.
- Snapshot handling you control: newest overall vs newest non‑snapshot.
- DEV and Java 8 job support per plugin.
- Simple interval or UNIX cron scheduling, plus a boot delay.
- Safe restarts: optional broadcast and delayed shutdown.
What It Updates
- ViaVersion
- ViaBackwards
- ViaRewind
- ViaRewind Legacy Support (Spigot only)
Platforms & Requirements
- Platforms: Spigot, Paper, Folia; Velocity; BungeeCord
- Minecraft: 1.8 → Latest
- Java: 8+
Installation
- Download the latest release from Spigot.
- Place the jar in your server’s
plugins/folder (on proxies, use the proxy’splugins/). - Start the server to generate config files and
versions.yml. - Adjust settings and restart.
Quick Start
- Run
/updateviasto check immediately. - Leave
snapshot: trueto always take the newest build; setfalseto take the newest non‑snapshot. - Flip
devorjava8on a per‑plugin basis as needed.
Configuration
Config files live here:
- Spigot/Bungee:
plugins/AutoViaUpdater/config.yml - Velocity:
plugins/AutoViaUpdater/config.toml
Spigot/Bungee (config.yml)
ViaVersion:
enabled: true
snapshot: true # newest overall; false = newest non-snapshot
dev: false # use Jenkins -DEV job
java8: false # use Jenkins -Java8 job
ViaBackwards:
enabled: true
snapshot: true
dev: false
java8: false
ViaRewind:
enabled: true
snapshot: true
dev: false
java8: false
ViaRewind-Legacy:
enabled: true # Spigot only
snapshot: true
dev: false # DEV path uses "...%20Support%20DEV" under ViaRewind view
# Scheduling
Check-Interval: 60 # minutes; used when cron is blank
Cron-Expression: "" # UNIX cron (5 fields); overrides interval when set
Delay: 5 # seconds after boot before first check
# Optional safe restart after successful update
AutoRestart: false
AutoRestart-Delay: 60
AutoRestart-Message: '&cServer is restarting in 1 minute!'
Velocity (config.toml)
Check-Interval = 60
Cron-Expression = ""
Delay = 5
AutoRestart = false
AutoRestart-Delay = 60
AutoRestart-Message = '&cServer is restarting in 1 minute!'
[ViaVersion]
enabled = true
snapshot = true
dev = false
java8 = false
[ViaBackwards]
enabled = true
snapshot = true
dev = false
java8 = false
[ViaRewind]
enabled = true
snapshot = true
dev = false
java8 = false
# ViaRewind-Legacy is Spigot-only; Velocity ignores it
Scheduling Cheat Sheet
- Every 2 hours:
0 */2 * * * - Every day at 05:00:
0 5 * * * - Every 15 minutes:
*/15 * * * *
If the cron is blank, the plugin uses Check-Interval (minutes) with an initial Delay (seconds).
Commands & Permissions
/updatevias- triggers an immediate check- Permission:
autoviaupdater.admin(required on Velocity/Bungee; OP on Spigot by default)
How It Works
- The plugin calls the Jenkins API for each selected job.
- Selection:
- Snapshot ON → newest build overall (regardless of "-SNAPSHOT").
- Snapshot OFF → newest non‑snapshot build.
- DEV/Java8 flags pick the
-DEV/-Java8jobs when available.
- Download:
- New jar goes to
plugins/. If a matching jar exists, it is staged toplugins/update/for a clean swap on restart.
- New jar goes to
- Tracking:
- Last installed build numbers are saved in
plugins/AutoViaUpdater/versions.yml.
- Last installed build numbers are saved in
Jenkins shortcuts
- ViaVersion DEV:
https://ci.viaversion.com/job/ViaVersion-DEV/ - ViaBackwards DEV:
https://ci.viaversion.com/view/ViaBackwards/job/ViaBackwards-DEV/ - ViaRewind DEV:
https://ci.viaversion.com/view/ViaRewind/job/ViaRewind-DEV/ - ViaRewind Legacy Support DEV:
https://ci.viaversion.com/view/ViaRewind/job/ViaRewind%20Legacy%20Support%20DEV/
Troubleshooting & FAQ
- Nothing updated - Make sure the target Via plugin is installed (the updater replaces what exists).
- Wrong channel - Check
snapshot/dev/java8flags for the specific plugin. - Downloaded but not applied - Enable
AutoRestartor restart manually. Ifplugins/updateexists, jars move on restart. - Build not found - Jenkins may be down or the job moved. Try
/updateviasagain or verify the job URL.
Building from Source
mvn -DskipTests package
Grab the shaded jar from target/.
Changelog Highlights
- Folia‑safe scheduling and strict Bukkit access on Spigot.
- Clear snapshot selection rules (newest overall vs non‑snapshot only).
- Correct DEV job for ViaVersion and ViaRewind Legacy Support.
- Human‑friendly filename for ViaRewind‑Legacy‑Support.
- HTTP timeouts and improved error handling.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
