Added more config fields

- Added Public IP field so you dont need to change your IP Binding
- Added Owner Name and Owner GUID field so you can set yourself as an owner
This commit is contained in:
Tüm 2021-12-16 17:41:46 +01:00 committed by GitHub
parent a33e03cc4b
commit 50424195fc
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,
"DefaultValue": "8",
"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",
"SettingMappings": {
"PublicIP": "$ApplicationIPBinding",
"PublicIP": "publicip",
"ServerName": "servername",
"ServerPassword": "serverpassword",
"AutoSaveGameInterval": "autosaveinterval",
"MaxServerFramerate": "maxfps"
"MaxServerFramerate": "maxfps",
"OwnerName": "ownername",
"OwnerGuid": "ownerguid"
}
}