docker-minecraft-server icon indicating copy to clipboard operation
docker-minecraft-server copied to clipboard

For PLUGINS and MODS list support GitHub and Jenkins resolving

Open itzg opened this issue 1 year ago • 4 comments

  • Typically a user probably wants the latest release/build
  • Probably could be provided as a custom URL scheme like "github://"
  • For both, the last part of the URL would be a file name or glob that uniquely identifies the file within the release/build. If multiple match then it's an error
  • Middle part of URL would be org/repo for GitHub or build name for Jenkins
  • Not sure where/how to accept the release name/build number and/or allow for indication of "latest"

Requested in Discord

itzg avatar Jul 02 '24 13:07 itzg

Some examples of repositories and ci servers this would apply to are: https://github.com/TechnicJelle/BlueMapOfflinePlayerMarkers/releases/tag/v2.9 https://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v5.2 https://github.com/852DuartePls/PlayTime/releases/tag/3.7 https://ci.extendedclip.com/job/PlaceholderAPI/lastBuild/ https://ci.ender.zone/job/EssentialsX

(edited)

BrailleBennett avatar Jul 02 '24 13:07 BrailleBennett

Side note: be sure to use Modrinth (and/or CurseForge) where you can such as

https://modrinth.com/plugin/essentialsx

https://modrinth.com/plugin/bluemap

Using https://docker-minecraft-server.readthedocs.io/en/latest/mods-and-plugins/modrinth/

itzg avatar Jul 02 '24 14:07 itzg

The issue with using modrinth pages over ci servers. For example EssentialsX doesn't have any 1.21 builds posted to their public modrinth page yet, and it is only available on the ci server. I also mainly just provided bluemap as an example of a repo that had multiple different loaders distributed under a single release.

BrailleBennett avatar Jul 02 '24 14:07 BrailleBennett

I'll need to think a bit more about possibly splitting out Github vs Jenkins support, such as the Jenkins request in #2419. They'd be two loosely similar conceptually but different implementations anyway.

itzg avatar Jan 07 '25 23:01 itzg