AutoViaUpdater
更多信息与指南: GitHub – AutoViaUpdater
最新构建版本(包含新功能与错误修复):GitHub Actions – AutoViaUpdater
功能说明
通过检查 CI 并自动应用更新,保持 ViaVersion、ViaBackwards、ViaRewind(以及在 Spigot 上的 ViaRewind-Legacy)为最新版本。
支持平台:Spigot/Paper/Folia、Velocity、BungeeCord
使用方法
- 将 jar 文件放入
plugins/ 目录(或代理服务器插件目录)并启动一次。
- 在配置文件中选择需要更新的 Via 组件,并设置检查间隔。
- 如有需要,运行
/updatevias 进行手动检查。
命令
/updatevias — 立即执行更新检查 (权限: autoviaupdater.admin)
权限
autoviaupdater.admin — 允许手动检查及自动检查
配置文件 (YAML)
# AutoViaUpdater 配置文件
# 如需了解 Release(发布版)和 Snapshot(快照版)构建之间的区别,请访问:https://ci.viaversion.com/
# 'snapshot' 选项会在可用时选择最新的构建版本,无论其是否为 -SNAPSHOT;否则将使用最新的非快照版本。
# 'dev' 选项会选择 *-DEV* Jenkins 作业;'java8' 选项会选择 *-Java8* 作业。
# 此处列出的所有构建均来自 Jenkins。如果您希望使用其他来源,请使用此插件:https://www.spigotmc.org/resources/autoupdateplugins.109683/
ViaVersion:
# 启用或禁用 ViaVersion 更新 (https://ci.viaversion.com/job/ViaVersion)
enabled: true
# 下载最新的构建版本,无论其是否为快照 "-SNAPSHOT"。
# 否则,下载最新的非快照构建版本。
snapshot: true
# 启用或禁用来自 Jenkins 的 DEV 渠道构建 (https://ci.viaversion.com/job/ViaVersion-DEV/)
dev: false
# 启用或禁用 Java 8 构建 (https://ci.viaversion.com/job/ViaVersion-Java8/)
java8: false
ViaBackwards:
# 启用或禁用 ViaBackwards 更新 (https://ci.viaversion.com/view/ViaBackwards/job/ViaBackwards/)
enabled: true
# 下载最新的构建版本,无论其是否为快照 "-SNAPSHOT"。
# 否则,下载最新的非快照构建版本。
snapshot: true
# 启用或禁用来自 Jenkins 的 DEV 渠道构建 (https://ci.viaversion.com/view/ViaBackwards/job/ViaBackwards-DEV/)
dev: false
# 启用或禁用 Java 8 构建 (https://ci.viaversion.com/view/ViaBackwards/job/ViaBackwards-Java8/)
java8: false
ViaRewind:
# 启用或禁用 ViaRewind 更新 (https://ci.viaversion.com/view/ViaRewind/job/ViaRewind/)
enabled: true
# 下载最新的构建版本,无论其是否为快照 "-SNAPSHOT"。
# 否则,下载最新的非快照构建版本。
snapshot: true
# 启用或禁用来自 Jenkins 的 DEV 渠道构建 (https://ci.viaversion.com/view/ViaRewind/job/ViaRewind-DEV/)
dev: false
# 启用或禁用 Java 8 构建 (https://ci.viaversion.com/view/ViaRewind/job/ViaRewind-Java8/)
java8: false
ViaRewind-Legacy:
# 启用或禁用 ViaRewind-Legacy 更新。注意:对 Bungeecord 服务器无效。(https://ci.viaversion.com/view/ViaRewind/job/ViaRewind%20Legacy%20Support/)
enabled: true
# 下载最新的构建版本,无论其是否为快照 "-SNAPSHOT"。
# 否则,下载最新的非快照构建版本。
snapshot: true
# 启用或禁用来自 Jenkins 的 DEV 渠道构建 (https://ci.viaversion.com/view/ViaRewind/job/ViaRewind%20Legacy%20Support%20DEV/)
dev: false
# Check-Interval 设置
# 检查更新的间隔时间(分钟)
Check-Interval: 60
# 实验性 Cron 支持
# 示例 "0 0 * * *" 表示每天午夜
# 留空 "" 以禁用并使用 Check-Interval
Cron-Expression: ""
# 服务器完全加载后,延迟多少秒再开始更新检查过程。
# 将此值设置过低可能会导致错误。
# 如果在加载 vias 时出现错误,请尝试将此值设置为 60 秒或更高。
Delay: 5
# AutoRestart 设置
# AutoRestart 决定是否在更新后重启服务器
# AutoRestart-Delay 是重启前的延迟时间(秒)
# AutoRestart-Message 是重启前广播的消息
AutoRestart: false
AutoRestart-Delay: 60
AutoRestart-Message: '&cServer is restarting in 1 minute!'
支持
GitHub Issues:
Discord:
AutoViaUpdater
More info & guide: GitHub – AutoViaUpdater
Latest builds (features + bug fixes): GitHub Actions – AutoViaUpdater
What it does
Keeps ViaVersion, ViaBackwards, ViaRewind (and ViaRewind-Legacy on Spigot) up-to-date by checking CI and applying updates automatically.
Works on: Spigot/Paper/Folia, Velocity, BungeeCord
How to use
- Place the jar in
plugins/ (or on your proxy) and start once.
- Choose which Via components to update and set the check interval in the config.
- Run a manual check with
/updatevias if needed.
Commands
/updatevias — run update check now (perm: autoviaupdater.admin)
Permissions
autoviaupdater.admin — manual check & automatic checks
Config (YAML)
# AutoViaUpdater config
# For understanding the difference between release and snapshot builds visit: https://ci.viaversion.com/
# 'snapshot' chooses latest builds when available regardless if they are -SNAPSHOT or not; otherwise latest non-snapshot is used.
# 'dev' selects the *-DEV* Jenkins job; 'java8' selects the *-Java8* job.
# All of the builds here are from Jenkins. If you want to use any other source use this plugin: https://www.spigotmc.org/resources/autoupdateplugins.109683/
ViaVersion:
# Enable or disable ViaVersion updates (https://ci.viaversion.com/job/ViaVersion)
enabled: true
# Download the latest build, regardless of whether it's a snapshot "-SNAPSHOT" or not.
# Otherwise, download the latest non-snapshot build.
snapshot: true
# Enable or disable DEV channel builds from Jenkins (https://ci.viaversion.com/job/ViaVersion-DEV/)
dev: false
# Enable or disable Java 8 builds (https://ci.viaversion.com/job/ViaVersion-Java8/)
java8: false
ViaBackwards:
# Enable or disable ViaBackwards updates (https://ci.viaversion.com/view/ViaBackwards/job/ViaBackwards/)
enabled: true
# Download the latest build, regardless of whether it's a snapshot "-SNAPSHOT" or not.
# Otherwise, download the latest non-snapshot build.
snapshot: true
# Enable or disable DEV channel builds from Jenkins (https://ci.viaversion.com/view/ViaBackwards/job/ViaBackwards-DEV/)
dev: false
# Enable or disable Java 8 builds (https://ci.viaversion.com/view/ViaBackwards/job/ViaBackwards-Java8/)
java8: false
ViaRewind:
# Enable or disable ViaRewind updates (https://ci.viaversion.com/view/ViaRewind/job/ViaRewind/)
enabled: true
# Download the latest build, regardless of whether it's a snapshot "-SNAPSHOT" or not.
# Otherwise, download the latest non-snapshot build.
snapshot: true
# Enable or disable DEV channel builds from Jenkins (https://ci.viaversion.com/view/ViaRewind/job/ViaRewind-DEV/)
dev: false
# Enable or disable Java 8 builds (https://ci.viaversion.com/view/ViaRewind/job/ViaRewind-Java8/)
java8: false
ViaRewind-Legacy:
# Enable or disable ViaRewind-Legacy updates. Note: Will not do anything for Bungeecord servers. (https://ci.viaversion.com/view/ViaRewind/job/ViaRewind%20Legacy%20Support/)
enabled: true
# Download the latest build, regardless of whether it's a snapshot "-SNAPSHOT" or not.
# Otherwise, download the latest non-snapshot build.
snapshot: true
# Enable or disable DEV channel builds from Jenkins (https://ci.viaversion.com/view/ViaRewind/job/ViaRewind%20Legacy%20Support%20DEV/)
dev: false
# Check-Interval setting
# The interval (in minutes) to check for updates
Check-Interval: 60
# Experimental Cron Support
# Example "0 0 * * *" is daily at midnight
# Leave it blank "" to disable and use the Check-Interval
Cron-Expression: ""
# The number of seconds to wait after the server has fully loaded before starting the update checking process.
# Setting this value too low may cause errors.
# If errors occur while loading vias, try setting this value to 60 seconds or higher.
Delay: 5
# AutoRestart settings
# AutoRestart is whether the server will restart after an update
# AutoRestart-Delay is the delay in seconds before restarting
# AutoRestart-Message is the message that will be broadcasted before restarting
AutoRestart: false
AutoRestart-Delay: 60
AutoRestart-Message: '&cServer is restarting in 1 minute!'
Support
GitHub Issues:
Discord:
评论 0
登录后参与评分
还没有评论,来抢沙发吧