Inital commit

This commit is contained in:
2026-06-24 13:44:39 -04:00
commit f098d5f170
15 changed files with 471 additions and 0 deletions

30
config/config.go Normal file
View File

@@ -0,0 +1,30 @@
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: "never",
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
}