Geyser: overhaul of template (#162)

This commit is contained in:
Greelan
2022-09-17 12:28:49 +10:00
committed by GitHub
parent fc2e7e4cdc
commit 1ae86d97f6
3 changed files with 218 additions and 51 deletions

View File

@@ -1,18 +1,58 @@
[
{
"DisplayName": "Minimum Memory (MB)",
"Description": "The minimum memory allocated to Geyser, in MB",
"FieldName": "MinMemory",
"Keywords": "memory",
"InputType": "number",
"Category": "Geyser Configuration"
"DisplayName":"Java Version",
"Category":"Java Settings",
"Description":"Sets the Java version to install. Must be a major version number only such as 18 or 19, not a subversion. Check the [Geyser wiki](https://wiki.geysermc.org/geyser/setup/) for versions compatible with Geyser, and the [Oracle website](https://www.oracle.com/java/technologies/downloads/) for available downloads. Server must be updated after changing this setting",
"Keywords":"java,version",
"FieldName":"JavaVersion",
"InputType":"number",
"MinValue":"17",
"IsFlagArgument":false,
"ParamFieldName":"JavaVersion",
"IncludeInCommandLine":false,
"DefaultValue":"18",
"EnumValues":{}
},
{
"DisplayName": "JAR File",
"Description": "The JAR file to execute",
"FieldName": "JarFile",
"Keywords": "jar",
"InputType": "text",
"Category": "Geyser Configuration"
"DisplayName":"Minimum Memory",
"Category":"Java Settings",
"Description":"Java's minimum heap size",
"Keywords":"minimum,memory,heap",
"FieldName":"MinMemory",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"MinMemory",
"IncludeInCommandLine":false,
"DefaultValue":"1024",
"Suffix":"MB",
"EnumValues":{}
},
{
"DisplayName":"Maximum Memory",
"Category":"Java Settings",
"Description":"Java's maximum heap size",
"Keywords":"maximum,memory,heap",
"FieldName":"MaxMemory",
"InputType":"number",
"IsFlagArgument":false,
"ParamFieldName":"MaxMemory",
"IncludeInCommandLine":false,
"DefaultValue":"1024",
"Suffix":"MB",
"EnumValues":{}
},
{
"DisplayName":"Additional Java Startup Parameters",
"Category":"Java Settings",
"Description":"Additional Java arguments (not server arguments) as startup parameters that are not otherwise set by AMP. Use with care",
"Keywords":"custom,java,arguments,parameters",
"FieldName":"CustomJavaArgs",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"CustomJavaArgs",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"-XX:+UseG1GC",
"EnumValues":{}
}
]