Registering a JAR file - teunjojo/jarman GitHub Wiki

When jarman is run and a new JAR file is found. It will ask the user if they want to register it.

Unregistered JAR file found!
Do you want to register 'EssentialsXChat.jar'? [Y/n]

When N or n is entered, jarman will mark the JAR [Unmanaged] and continue to the next file.

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

Next it will ask the user to select their preferred source.

Available sources: 
 0) jenkins
 1) github-releases
 2) modrinth
Select the number of the source: [0]:

Here the user will enter the number of the corresponding source they want to use.

Here the registration continue specifically for the selected source.

Jenkins (jenkins)

The user is asked for the URL of the Jenkins job.

What is the update URL? [<Jenkins URL>/job/<Project>]: 

An example of a valid URL is https://ci.ender.zone/job/EssentialsX/

Next the available artifacts for the latest job will be shown.

Available artifacts: 
 1) EssentialsX-2.21.2-dev+27-cc25a79.jar
 2) EssentialsXAntiBuild-2.21.2-dev+27-cc25a79.jar
 3) EssentialsXChat-2.21.2-dev+27-cc25a79.jar
 4) EssentialsXDiscord-2.21.2-dev+27-cc25a79.jar
 5) EssentialsXDiscordLink-2.21.2-dev+27-cc25a79.jar
 6) EssentialsXGeoIP-2.21.2-dev+27-cc25a79.jar
 7) EssentialsXProtect-2.21.2-dev+27-cc25a79.jar
 8) EssentialsXSpawn-2.21.2-dev+27-cc25a79.jar
 9) EssentialsXXMPP-2.21.2-dev+27-cc25a79.jar
Select the number of the artifact: [0]: 

Here the user will enter the number of the corresponding artifact they want to use.

GitHub Releases (github-releases)

The user is asked for the GitHub repository.

What is the name of the GitHub repo? [<User>/<Repository>]: 

An example of a GitHub repository is EssentialsX/Essentials

Next the available artifacts for the latest job will be shown.

Available artifacts: 
 0) EssentialsX-2.21.1.jar
 1) EssentialsXAntiBuild-2.21.1.jar
 2) EssentialsXChat-2.21.1.jar
 3) EssentialsXDiscord-2.21.1.jar
 4) EssentialsXDiscordLink-2.21.1.jar
 5) EssentialsXGeoIP-2.21.1.jar
 6) EssentialsXProtect-2.21.1.jar
 7) EssentialsXSpawn-2.21.1.jar
 8) EssentialsXXMPP-2.21.1.jar
Select the number of the artifact: [0]: 

Here the user will enter the number of the corresponding artifact they want to use.

Modrinth (modrinth)

The user is asked for id or slug of a project.

What is the name of the project? [id|slug]: 

An example of a slug is essentialsx-chat-module

Next the user will be asked what loader they want to use.

Select the correct loader: 
 0) bukkit
 1) paper
 2) spigot
Select the number of the loader: [0]: 

Here the user will enter the number of the corresponding loader they want to use.

Next the user will be asked what file they want to select.

Select the correct file: 
 0) EssentialsXChat-2.21.1.jar
Select the number of the file: [0]: 

Here the user will enter the number of the corresponding file they want to use.

⚠️ **GitHub.com Fallback** ⚠️