Files
mc-tool/config/config.go
2026-06-24 13:51:43 -04:00

31 lines
563 B
Go

package config
import (
"text/template"
)
var Cfg Config = Config{
Name: "minecraft-server",
Version: "1.21.1",
Type: "VANILLA",
Ram: "2G",
MOTD: "This server was created using mc-tool",
RestartPolicy: "no",
Ports: []string{"25565:25565"},
}
var Data Resources
type Config struct {
Name string
Version string
Type string
Ram string
MOTD string
RestartPolicy string
Ports []string
}
type Resources struct {
DockerCompose *template.Template
}