added configuration

This commit is contained in:
SrGooglo 2024-04-01 07:55:50 +02:00
parent 93bf0a238e
commit 2018a5beb8
1 changed files with 17 additions and 1 deletions

View File

@ -2,8 +2,8 @@ class Manifest {
static useLib = ["path", "fs", "auth", "mcl"]
static id = "hfmc"
static pkg_name = "Hispano Furs MC"
static version = "0.1.0"
static pkg_name = "Hispano Furs MC"
static description = "A Minecraft modpack"
static icon = "https://git.ragestudio.net/srgooglo/hfmc-dev/raw/branch/main/icon.png"
static license = "unlicensed"
@ -24,6 +24,22 @@ class Manifest {
}
}
configuration = {
memory: {
default: 4096,
label: "Assigned Memory",
type: "number",
icon: "MdMemory",
ui_component: "slider",
ui_component_props: {
min: 2048,
max: 8192,
step: 1024,
unit: "MB"
},
}
}
authService = {
...Manifest.vars.auth
}