Merge pull request #12 from EkiciLP/main

Added more config fields
This commit is contained in:
PhonicUK 2021-12-17 11:01:58 +00:00 committed by GitHub
commit 788e6587b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 3 deletions

View File

@ -65,6 +65,44 @@
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "8", "DefaultValue": "8",
"EnumValues": {} "EnumValues": {}
},
{
"DisplayName": "Public IP",
"Category": "Server Settings",
"Description": "Input your public server IP in here otherwise the server won't work.",
"Keywords": "Public IP",
"FieldName": "publicip",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "publicip",
"IncludeInCommandLine": false,
"DefaultValue": "INSERT YOUR PUBLIC IP HERE",
"EnumValues": {}
},
{
"DisplayName": "Owner Name",
"Category": "Server Settings",
"Description": "Input your Account name.",
"Keywords": "Owner Name",
"FieldName": "ownername",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "ownername",
"IncludeInCommandLine": false,
"DefaultValue": "",
"EnumValues": {}
},
{
"DisplayName": "Owner GUID",
"Category": "Server Settings",
"Description": "Enter your GUID",
"Keywords": "Owner GUID",
"FieldName": "ownerguid",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "ownerguid",
"IncludeInCommandLine": false,
"DefaultValue": "",
"EnumValues": {}
} }
] ]

View File

@ -7,11 +7,13 @@
{ {
"Heading": "/Script/Astro.AstroServerSettings", "Heading": "/Script/Astro.AstroServerSettings",
"SettingMappings": { "SettingMappings": {
"PublicIP": "$ApplicationIPBinding", "PublicIP": "publicip",
"ServerName": "servername", "ServerName": "servername",
"ServerPassword": "serverpassword", "ServerPassword": "serverpassword",
"AutoSaveGameInterval": "autosaveinterval", "AutoSaveGameInterval": "autosaveinterval",
"MaxServerFramerate": "maxfps" "MaxServerFramerate": "maxfps",
"OwnerName": "ownername",
"OwnerGuid": "ownerguid"
} }
} }