diff --git a/server/forge.go b/server/forge.go index 4c5ecc0..96e5471 100644 --- a/server/forge.go +++ b/server/forge.go @@ -10,6 +10,8 @@ type ForgeInstaller struct { ForgeVersion string } +// TODO maven version lookup: https://maven.minecraftforge.net/net/minecraftforge/forge/maven-metadata.xml + func (inst *ForgeInstaller) Install(serverDir string, serverFile string) error { u := "https://files.minecraftforge.net/net/minecraftforge/forge/index_" + inst.MinecraftVersion + ".html" fmt.Println("Please acquire the required forge server file ("+inst.ForgeVersion+") manually to continue:", u) diff --git a/server/neoforge.go b/server/neoforge.go index e36c204..1f44ae2 100644 --- a/server/neoforge.go +++ b/server/neoforge.go @@ -11,6 +11,8 @@ type NeoForgeInstaller struct { NeoForgeVersion string } +// TODO maven version lookup: https://maven.neoforged.net/releases/net/neoforged/forge/maven-metadata.xml + func (inst *NeoForgeInstaller) Install(serverDir string, serverFile string) error { // TODO: implement automatic lookup for latest version if inst.NeoForgeVersion == "" || inst.NeoForgeVersion == "latest" {