From 2018a5beb8583c803ed9fa7c5fb6c2a549e36db6 Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Mon, 1 Apr 2024 07:55:50 +0200 Subject: [PATCH] added configuration --- main.rmanifest.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/main.rmanifest.js b/main.rmanifest.js index 7071f70..6834db9 100644 --- a/main.rmanifest.js +++ b/main.rmanifest.js @@ -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 }