Updating a JAR file - teunjojo/jarman GitHub Wiki

When jarman is run and an outdated JAR file is detected. It will show the user the outdated JAR files.

JAR files to update:
 [0] EssentialsXChat.jar
 [1] EssentialsX.jar
 [2] LuckPerms-Bukkit.jar
 [3] SimpleAutoRestart.jar
JAR files to EXCLUDE from update (separated by space) [eg: "0 1"]: 

The user is given the option to exclude files from updating. In the above example, entering 0 1 will cause only LuckPerms-Bukkit.jar and SimpleAutoRestart.jar to be updated. Entering nothing and just hitting enter will cause all files to be updated.

Next it will give the user a list of the files that will be updated and ask the user they want to continue.

Updating the following JAR files:
 - EssentialsXChat.jar
 - EssentialsX.jar
 - LuckPerms-Bukkit.jar
 - SimpleAutoRestart.jar
Do you want to continue? [Y/n]: 

When N or n is entered, jarman will cancel the update and exit.

When Y or y is entered, jarman will start the update process.

While updating it will show the currently updating plugin and their status.

Updating JAR files...
EssentialsXChat.jar...Done
EssentialsX.jar...Done
LuckPerms-Bukkit.jar...Done
SimpleAutoRestart.jar...Done