AutoUpdateViaVersion
AutoViaUpdater is a plugin for Spigot/Bungeecord/Velocity that automates the updating of Vias such as ViaVersion, ViaRewind, ViaBackwards, and ViaRewind-Legacy-Support to the most recent successful build.
NOTE: IF UPDATING TO v6.0 make sure to delete all vias (viaversion, viabackwards, etc) before updating to not cause conflicts and also regenerate config.yml
Current Features
- Compatible with Minecraft versions 1.8 and higher for Spigot/ Bungeecord/Velocity, including the latest versions.
- Automatically downloads successful builds of ViaVersion, ViaBackwards, ViaRewind, and ViaRewind-Legacy-Support, as well as their dev versions, from Jenkins.
- Config.yml that allows you to specify which Vias to update and whether to use the dev version of each plugin.
- /updatevias command to force update checker for all vias! (autoviaupdater.admin permission!)
Planned Features
- If you have any suggestions or feature requests, please create a new issue in the project's GitHub repository.
Installation
- Download the latest release of the plugin from the releases page.
- Copy the downloaded .jar file to the plugins directory of your Minecraft server.
- Make sure that none of the Vias are already installed because it will automatically install them.
- Start the server. Note: The first time you start the server, you will need to restart it again since it installs all the Vias the first time and actually enables them on the second restart.
- After installation, AutoViaUpdater will automatically update all Vias to the latest successful build periodically based on the Check-interval specified in the config.yml file.
Config.yml
Code (YAML):
# AutoViaUpdater config
# For understanding difference between dev and normal builds visit here: https://ci.viaversion.com/
# Default builds when enabled are normal builds, but you can explicitly make it dev builds
# 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
# Enable or disable dev builds. (https://ci.viaversion.com/job/ViaVersion-DEV/)
# NOTE: Before you enable dev builds, please check when dev builds were last updated in the link, MIGHT be really OUTDATED
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
# Enable or disable dev builds. (https://ci.viaversion.com/view/ViaBackwards/job/ViaBackwards-DEV/)
# NOTE: Before you enable dev builds, please check when dev builds were last updated in the link, MIGHT be really OUTDATED
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
# Enable or disable dev builds. (https://ci.viaversion.com/view/ViaRewind/job/ViaRewind-DEV/)
# NOTE: Before you enable dev builds, please check when dev builds were last updated in the link, MIGHT be really OUTDATED
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
# Enable or disable dev builds. (https://ci.viaversion.com/view/ViaRewind/job/ViaRewind%20Legacy%20Support-DEV/)
# NOTE: Before you enable dev builds, please check when dev builds were last updated in the link, MIGHT be really OUTDATED
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
Discord:
https://discord.gg/tuVvmawsRX
Plugin Stats
Bukkit
Bungeecord
Velocity