AMPTemplates/project-zomboidconfig.json
PhonicUK 9b51cb0b5a
Merge pull request #40 from Greelan/pz
Project Zomboid: Allow Java GC algo selection on Windows
2022-01-18 21:23:04 +00:00

99 lines
3.5 KiB
JSON

[
{
"DisplayName": "Admin Password",
"Category": "Server Settings",
"Description": "In-game \"admin\" user password (not the server password). You should change this after first installing the server",
"Keywords": "admin,password",
"FieldName": "adminpassword",
"InputType": "password",
"IsFlagArgument": false,
"ParamFieldName": "adminpassword",
"IncludeInCommandLine": true,
"DefaultValue": "Password123"
},
{
"DisplayName": "SteamVAC",
"Category": "Server Settings",
"Description": "Enable SteamVAC",
"Keywords": "steamvac",
"FieldName": "steamvac",
"InputType": "checkbox",
"IsFlagArgument": false,
"ParamFieldName": "steamvac",
"IncludeInCommandLine": true,
"DefaultValue": "true",
"EnumValues": {
"True": "true",
"False": "false"
}
},
{
"DisplayName": "Steam Integration",
"Category": "Server Settings",
"Description": "Enable Steam integration",
"Keywords": "steam,integration",
"FieldName": "SteamInt",
"InputType": "checkbox",
"IsFlagArgument": false,
"ParamFieldName": "SteamInt",
"IncludeInCommandLine": false,
"DefaultValue": "1",
"EnumValues": {
"True": "1",
"False": "0"
}
},
{
"DisplayName": "Memory Limit (MB)",
"Category": "Server Settings",
"Description": "Java's maximum heap size",
"Keywords": "maximum,memory,limit",
"FieldName": "MaxMemory",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "MaxMemory",
"IncludeInCommandLine": false,
"DefaultValue": "4096"
},
{
"DisplayName": "Java Garbage Collection Algorithm (Windows)",
"Category": "Server Settings",
"Description": "Default Java garbage collection algorithm is ZGC, but G1GC can be selected for older Windows versions that cannot use ZGC",
"Keywords": "garbage,collection,algorithm",
"FieldName": "JavaGCAlgo",
"InputType": "enum",
"IsFlagArgument": false,
"ParamFieldName": "JavaGCAlgo",
"IncludeInCommandLine": false,
"DefaultValue": "-XX:+UseZGC",
"EnumValues": {
"-XX:+UseZGC": "ZGC Algorithm (default)",
"-XX:+UseG1GC": "G1GC Algorithm"
}
},
{
"DisplayName": "Additional Java Startup Parameters",
"Category": "Server Settings",
"Description": "Additional Java arguments (not server arguments) as startup parameters that are not otherwise set by AMP. Use with care. Example: -Ddebug",
"Keywords": "custom,java,arguments,parameters",
"FieldName": "CustomJavaArgs",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "CustomJavaArgs",
"IncludeInCommandLine": false,
"DefaultValue": " "
},
{
"DisplayName": "Additional Server Startup Parameters",
"Category": "Server Settings",
"Description": "Additional server arguments (not Java arguments) as startup parameters that are not otherwise set by AMP. Use with care. Example: -ip 192.168.1.10",
"Keywords": "custom,server,arguments,parameters",
"FieldName": "CustomServerArgs",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "CustomServerArgs",
"IncludeInCommandLine": false,
"DefaultValue": " "
}
]