在你的MC服务端上安装此插件,运行后在服务端根目录/plugins/AutoUpdatePlugins
会有一个list.yml。
list.yml填写插件更新列表格式如下:
插件: 插件Bukkit Dev/Spigotmc/Github/Modrinth/Hangar/直链链接
例子如下:
Worldedit: https://dev.bukkit.org/projects/worldedit
SkinRestorer: https://www.spigotmc.org/resources/skinsrestorer.2124/
ViaVersion: https://ci.viaversion.com/job/ViaVersion/
EssentialsX: https://github.com/EssentialsX/Essentials
EssentialsXChat: https://github.com/EssentialsX/Essentials[3]
Voicemod: https://modrinth.com/plugin/simple-voice-chat/
ViaBackwards: https://hangar.papermc.io/ViaVersion/ViaBackwards
ProtocolLib:https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/artifact/build/libs/ProtocolLib.jar
我们可以看到,EssentialsXChat那一部分的链接末尾跟了一个[3]标识,这个标识在Jenkins/Github链接中可以代表为Jenkins构建站/Github Release中显示的第三个文件。你可以替换里面的数字以决定下载哪个文件。
除此之外,AutoUpdatePlugins还对Geyser源和DiscordSRV(不用了解,中国范围用不到,只是举个例子)源提供了特殊支持,例子如下:
Geyser-spigot: https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/spigot
DiscordSRV: https://get.discordsrv.com/