Skip to content

Commit

Permalink
maven version lookup notes
Browse files Browse the repository at this point in the history
  • Loading branch information
nothub committed Sep 30, 2023
1 parent 898da25 commit e993d5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/forge.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions server/neoforge.go
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit e993d5d

Please sign in to comment.