rebuilt command flag system

This commit is contained in:
2026-05-07 17:38:28 -06:00
parent 3d24198ad3
commit 283ffb66eb
8 changed files with 105 additions and 220 deletions

13
mods.go
View File

@@ -8,16 +8,9 @@ import (
"os"
)
func findmodlist(modlist string) bool {
if !isItReal(modlist) {
return false
} else {
return true
}
}
func downloadMods(modlist string) {
var c = readCfg("config.yml")
func downloadMods(c UsrConfig) {
//var c = readCfg("config.yml")
modlist := string(c.Server.ServDir) + "/mods/mod-list.json"
fmt.Printf("Updating mods from %s\n", modlist)