How to auto-update plugins? Automatic Minecraft Spigot/Bukkit plugin updates with AutoPlug!

Описание к видео How to auto-update plugins? Automatic Minecraft Spigot/Bukkit plugin updates with AutoPlug!

Installer: https://autoplug.one/installer
Discord:   / discord  
Script:
Head over to autoplug.one and open the installer tab, Select your servers operating system, the server software you want to use and click on "Generate Files".
Note that for this to work you must have at least Java 8 64bit installed on your system.
I moved the downloaded zip file to my servers' root directory and unpacked its contents.
You should see 3 new things: The autoplug folder, the AutoPlug-Client.jar and the start script.
To demonstrate the plugins updater I downloaded some outdated versions of EssentialsX, LuckPerms and SkinsRestorer.
Lets run the start script. Im on a Linux distro so first I'll have to make sure the file has the execute permission. Then open a terminal in this directory and run the script. On Windows you can skip these steps and simply double click it.
Its the first run, thus we need to select a config preset. I'll select the first one. Then enter a server key. For now I'll enter NO_KEY.
This is were AutoPlugs magic happens. It runs these tasks always before starting the server. Becides updating our plugins, there is some more stuff happening, like the backup creation and the Java and server updates. Keep in mind that the backup creation takes much more time the bigger your server.
These tasks also have cooldowns to avoid unecessary resource consumption, when restarting the server a lot in a short amount of time.
LuckPerms was updated sucessfully but it seems that the other two plugins had issues. Lets take a look at the plugins config inside the autoplug directory.
SkinRestorer is missing an id, which means that the search algorithm failed to find it. This often happens when the provided details like author and plugin names, are too different on the plugins spigotmc.org post.
To fix this visit the plugins post, copy its id from the url and insert in the config.
EssentialsX was found by the algorithm, but the download fails, because the download link of its spigotmc.org post, forwards to another page and not the jar file.
To fix this we use the alternative updating method via Github. Copy the repository name and insert it. Then copy the release asset name and insert it too.
The majority of your plugins ids should nevertheless be found by the search algorithm.
Thanks for watching. Join our discord server if there are any issues.
Music:
Morning Routine by Ghostrifter Official |   / ghostrifter-official  
Music promoted by https://www.chosic.com/free-music/all/
Creative Commons CC BY-SA 3.0
https://creativecommons.org/licenses/...

Комментарии

Информация по комментариям в разработке