From 2bd87472b3d190a8226a34561951998f28724984 Mon Sep 17 00:00:00 2001 From: Abigail de Joode Date: Sat, 13 Feb 2021 16:35:55 +0100 Subject: [PATCH 1/3] Create geysermc.kvp --- geysermc.kvp | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 geysermc.kvp diff --git a/geysermc.kvp b/geysermc.kvp new file mode 100644 index 0000000..d908d01 --- /dev/null +++ b/geysermc.kvp @@ -0,0 +1,41 @@ +App.DisplayName=Geyser +App.RootDir=./Geyser/ +App.WorkingDir= +App.ExecutableWin=java +App.ExecutableLinux=/usr/bin/java +App.Compatibility=None +App.CommandLineArgs=-Xms{{MinMemory}}M -jar {{JarFile}} +App.CommandLineVars={"MinMemory":"1024","JarFile":"Geyser.jar"} +App.EnvironmentVariables={} +App.ExitMethod=String +App.ExitString=geyser stop +App.HasWriteableConsole=True +App.HasReadableConsole=True +App.ApplicationIPBinding=0.0.0.0 +App.ApplicationPort1=19132 +App.ApplicationPort2=19133 +App.ApplicationPort3=19134 +App.MaxUsers=100 +App.AdminMethod=STDIO +App.UpdateSource=FetchURL +App.UpdateSourceData=https://ci.opencollab.dev//job/GeyserMC/job/Geyser/job/master/lastSuccessfulBuild/artifact/bootstrap/standalone/target/Geyser.jar +App.UnzipUpdateSource=False +App.OverwriteExistingFiles=True +App.UseRandomAdminPassword=True +App.ApplicationReadyMode=RegexMatch + +Console.FilterMatchRegex=\[\d?\d?;?\d?m +Console.FilterMatchReplacement= +Console.AppReadyRegex=^\[\d{2}:\d{2}:\d{2} INFO\] Done \(\d+.\d+s\)! Run \/geyser help for help!$ +Console.UserJoinRegex=^\[\d{2}:\d{2}:\d{2} INFO\] (?.+) \(logged in as: (?.+)\) has connected to remote java server on address (?.+)$ +Console.UserLeaveRegex=^\[\d{2}:\d{2}:\d{2} INFO\] (?.+) has disconnected from remote Java server on address (?.+) because of (?.+)$ +Console.ThrowawayMessageRegex= +Console.UserActions={} + +Meta.DisplayName=Geyser +Meta.OS=Windows, Linux +Meta.Author=https://github.com/Galaxyzd +Meta.URL=https://github.com/CubeCoders/AMPTemplates/blob/main/geysermc.kvp +Meta.DisplayImageSource=url:https://camo.githubusercontent.com/2c38e59629bbb0f2e632c231416baf222119b55a24803cf548e04c26e2785760/68747470733a2f2f6765797365726d632e6f72672f696d672f6765797365722d313736302d3836302e706e67 +Meta.ConfigManifest=configmanifest.json +Meta.ConfigRoot=GenericModule.kvp From 79bb0270a1c77d8d4af7f96e2ce61e7eb6285ddd Mon Sep 17 00:00:00 2001 From: Abigail de Joode Date: Sat, 13 Feb 2021 16:37:20 +0100 Subject: [PATCH 2/3] Create geyserconfig.json --- geyserconfig.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 geyserconfig.json diff --git a/geyserconfig.json b/geyserconfig.json new file mode 100644 index 0000000..86c0e65 --- /dev/null +++ b/geyserconfig.json @@ -0,0 +1,18 @@ +[ + { + "DisplayName": "Minimum Memory (MB)", + "Description": "The minimum memory allocated to Geyser, in MB", + "FieldName": "MinMemory", + "Keywords": "memory", + "InputType": "number", + "Category": "Geyser Configuration" + }, + { + "DisplayName": "JAR File", + "Description": "The JAR file to execute", + "FieldName": "JarFile", + "Keywords": "jar", + "InputType": "text", + "Category": "Geyser Configuration" + } +] From b698ae650f5662d6ed4a9933ddfda9e946a16f20 Mon Sep 17 00:00:00 2001 From: Abigail de Joode Date: Sat, 13 Feb 2021 16:39:08 +0100 Subject: [PATCH 3/3] Rename geysermc.kvp to geyser.kvp --- geysermc.kvp => geyser.kvp | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename geysermc.kvp => geyser.kvp (100%) diff --git a/geysermc.kvp b/geyser.kvp similarity index 100% rename from geysermc.kvp rename to geyser.kvp