Merge pull request #1 from abbydiode/patch-1

Add GeyserMC module, community config
This commit is contained in:
PhonicUK 2021-03-01 14:16:02 +00:00 committed by GitHub
commit f8ef6f70a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 59 additions and 0 deletions

41
geyser.kvp Normal file
View File

@ -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\] (?<username>.+) \(logged in as: (?<uuid>.+)\) has connected to remote java server on address (?<ip>.+)$
Console.UserLeaveRegex=^\[\d{2}:\d{2}:\d{2} INFO\] (?<username>.+) has disconnected from remote Java server on address (?<ip>.+) because of (?<reason>.+)$
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

18
geyserconfig.json Normal file
View File

@ -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"
}
]