Merge pull request #83 from Greelan/main

Pavlov: various updates
This commit is contained in:
PhonicUK 2022-02-21 11:50:42 +00:00 committed by GitHub
commit 3260eb461c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 40 deletions

View File

@ -46,7 +46,7 @@ App.AdminLoginTransform=MD5_Lower
App.RCONConnectDelaySeconds=0 App.RCONConnectDelaySeconds=0
App.RCONConnectRetrySeconds=5 App.RCONConnectRetrySeconds=5
App.TelnetLoginFormat={0} App.TelnetLoginFormat={0}
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"Linux","UpdateSource":"SteamCMD","UpdateSourceData":"622970"},{"UpdateStageName":"Config File Download","UpdateSourcePlatform":"Linux","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/Greelan/AMPTemplates/pavlov-vr/pavlov-vrconfigfile.ini","UpdateSourceTarget":"../","OverwriteExistingFiles":true},{"UpdateStageName":"Create Logs Directory","UpdateSourcePlatform":"Linux","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./pavlovserver/622970/Pavlov/Saved/Logs","OverwriteExistingFiles":false},{"UpdateStageName":"Create Config Directory","UpdateSourcePlatform":"Linux","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./pavlovserver/622970/Pavlov/Saved/Config/LinuxServer","OverwriteExistingFiles":false},{"UpdateStageName":"Create Maps Directory","UpdateSourcePlatform":"Linux","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./pavlovserver/622970/Pavlov/Saved/maps","OverwriteExistingFiles":false},{"UpdateStageName":"Copy Config File","UpdateSourcePlatform":"Linux","UpdateSource":"CopyFilePath","UpdateSourceData":"./pavlovserver/622970/Pavlov/Saved/Config/LinuxServer/Game.ini","UpdateSourceArgs":"./pavlov-vrconfigfile.ini","OverwriteExistingFiles":false}] App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"Linux","UpdateSource":"SteamCMD","UpdateSourceData":"622970"},{"UpdateStageName":"Config File Download","UpdateSourcePlatform":"Linux","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/pavlov-vrconfigfile.ini","UpdateSourceTarget":"../","OverwriteExistingFiles":true},{"UpdateStageName":"Create Logs Directory","UpdateSourcePlatform":"Linux","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./pavlovserver/622970/Pavlov/Saved/Logs","OverwriteExistingFiles":false},{"UpdateStageName":"Create Config Directory","UpdateSourcePlatform":"Linux","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./pavlovserver/622970/Pavlov/Saved/Config/LinuxServer","OverwriteExistingFiles":false},{"UpdateStageName":"Create Maps Directory","UpdateSourcePlatform":"Linux","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./pavlovserver/622970/Pavlov/Saved/maps","OverwriteExistingFiles":false},{"UpdateStageName":"Copy Config File","UpdateSourcePlatform":"Linux","UpdateSource":"CopyFilePath","UpdateSourceData":"./pavlovserver/622970/Pavlov/Saved/Config/LinuxServer/Game.ini","UpdateSourceArgs":"./pavlov-vrconfigfile.ini","OverwriteExistingFiles":false}]
App.Compatibility=None App.Compatibility=None
App.SteamUpdateAnonymousLogin=True App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False App.SteamForceLoginPrompt=False

View File

@ -7,25 +7,24 @@
"FieldName": "ServerName", "FieldName": "ServerName",
"InputType": "text", "InputType": "text",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "ServerName", "ParamFieldName": "/Script/Pavlov.DedicatedServer.ServerName",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "Pavlov VR Server - Powered by AMP" "DefaultValue": "Pavlov VR Server - Powered by AMP",
"EnumValues": {}
}, },
{ {
"DisplayName": "Include in Server List", "DisplayName": "Include in Server List",
"Category": "Server Settings", "Category": "Server Settings",
"Description": "Requires an API key to be set", "Description": "",
"Keywords": "server list", "Keywords": "",
"FieldName": "bEnabled", "FieldName": "bEnabled",
"InputType": "checkbox", "InputType": "text",
"Hidden": true,
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "bEnabled", "ParamFieldName": "/Script/Pavlov.DedicatedServer.bEnabled",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "true", "DefaultValue": "true",
"EnumValues": { "EnumValues": {}
"False": "false",
"True": "true"
}
}, },
{ {
"DisplayName": "API Key", "DisplayName": "API Key",
@ -35,9 +34,10 @@
"FieldName": "ApiKey", "FieldName": "ApiKey",
"InputType": "password", "InputType": "password",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "ApiKey", "ParamFieldName": "/Script/Pavlov.DedicatedServer.ApiKey",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "" "DefaultValue": "",
"EnumValues": {}
}, },
{ {
"DisplayName": "Server Password", "DisplayName": "Server Password",
@ -47,9 +47,10 @@
"FieldName": "Password", "FieldName": "Password",
"InputType": "password", "InputType": "password",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "Password", "ParamFieldName": "/Script/Pavlov.DedicatedServer.Password",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "0000" "DefaultValue": "0000",
"EnumValues": {}
}, },
{ {
"DisplayName": "RCON Password", "DisplayName": "RCON Password",
@ -61,7 +62,8 @@
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "", "ParamFieldName": "",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "Password123" "DefaultValue": "Password123",
"EnumValues": {}
}, },
{ {
"DisplayName": "Enable Valve Anti-Cheat (Steam VAC)", "DisplayName": "Enable Valve Anti-Cheat (Steam VAC)",
@ -71,7 +73,7 @@
"FieldName": "bSecured", "FieldName": "bSecured",
"InputType": "checkbox", "InputType": "checkbox",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "bSecured", "ParamFieldName": "/Script/Pavlov.DedicatedServer.bSecured",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "true", "DefaultValue": "true",
"EnumValues": { "EnumValues": {
@ -87,7 +89,7 @@
"FieldName": "bCustomServer", "FieldName": "bCustomServer",
"InputType": "checkbox", "InputType": "checkbox",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "bCustomServer", "ParamFieldName": "/Script/Pavlov.DedicatedServer.bCustomServer",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "true", "DefaultValue": "true",
"EnumValues": { "EnumValues": {
@ -103,7 +105,7 @@
"FieldName": "bCompetitive", "FieldName": "bCompetitive",
"InputType": "checkbox", "InputType": "checkbox",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "bCompetitive", "ParamFieldName": "/Script/Pavlov.DedicatedServer.bCompetitive",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "false", "DefaultValue": "false",
"EnumValues": { "EnumValues": {
@ -119,10 +121,11 @@
"FieldName": "$MaxUsers", "FieldName": "$MaxUsers",
"InputType": "number", "InputType": "number",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "MaxPlayers", "ParamFieldName": "/Script/Pavlov.DedicatedServer.MaxPlayers",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "10", "DefaultValue": "10",
"Suffix": "players" "Suffix": "players",
"EnumValues": {}
}, },
{ {
"DisplayName": "Enable Whitelist", "DisplayName": "Enable Whitelist",
@ -132,7 +135,7 @@
"FieldName": "bWhitelist", "FieldName": "bWhitelist",
"InputType": "checkbox", "InputType": "checkbox",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "bWhitelist", "ParamFieldName": "/Script/Pavlov.DedicatedServer.bWhitelist",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "false", "DefaultValue": "false",
"EnumValues": { "EnumValues": {
@ -151,7 +154,8 @@
"ParamFieldName": "whitelist", "ParamFieldName": "whitelist",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "", "DefaultValue": "",
"Special": "listfile:./pavlovserver/622970/Pavlov/Saved/Config/whitelist.txt" "Special": "listfile:./pavlovserver/622970/Pavlov/Saved/Config/whitelist.txt",
"EnumValues": {}
}, },
{ {
"DisplayName": "Blacklisted Players", "DisplayName": "Blacklisted Players",
@ -164,7 +168,8 @@
"ParamFieldName": "blacklist", "ParamFieldName": "blacklist",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "", "DefaultValue": "",
"Special": "listfile:./pavlovserver/622970/Pavlov/Saved/Config/blacklist.txt" "Special": "listfile:./pavlovserver/622970/Pavlov/Saved/Config/blacklist.txt",
"EnumValues": {}
}, },
{ {
"DisplayName": "Server Moderators", "DisplayName": "Server Moderators",
@ -177,7 +182,8 @@
"ParamFieldName": "mods", "ParamFieldName": "mods",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "", "DefaultValue": "",
"Special": "listfile:./pavlovserver/622970/Pavlov/Saved/Config/mods.txt" "Special": "listfile:./pavlovserver/622970/Pavlov/Saved/Config/mods.txt",
"EnumValues": {}
}, },
{ {
"DisplayName": "Refresh Interval", "DisplayName": "Refresh Interval",
@ -187,10 +193,11 @@
"FieldName": "RefreshListTime", "FieldName": "RefreshListTime",
"InputType": "number", "InputType": "number",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "RefreshListTime", "ParamFieldName": "/Script/Pavlov.DedicatedServer.RefreshListTime",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "120", "DefaultValue": "120",
"Suffix": "seconds" "Suffix": "seconds",
"EnumValues": {}
}, },
{ {
"DisplayName": "Server Tick Rate", "DisplayName": "Server Tick Rate",
@ -200,9 +207,10 @@
"FieldName": "TickRate", "FieldName": "TickRate",
"InputType": "number", "InputType": "number",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "TickRate", "ParamFieldName": "/Script/Pavlov.DedicatedServer.TickRate",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "90" "DefaultValue": "90",
"EnumValues": {}
}, },
{ {
"DisplayName": "Map Time Limit", "DisplayName": "Map Time Limit",
@ -212,9 +220,10 @@
"FieldName": "TimeLimit", "FieldName": "TimeLimit",
"InputType": "number", "InputType": "number",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "TimeLimit", "ParamFieldName": "/Script/Pavlov.DedicatedServer.TimeLimit",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "60" "DefaultValue": "60",
"EnumValues": {}
}, },
{ {
"DisplayName": "Balance Table URL", "DisplayName": "Balance Table URL",
@ -224,9 +233,10 @@
"FieldName": "BalanceTableURL", "FieldName": "BalanceTableURL",
"InputType": "text", "InputType": "text",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "BalanceTableURL", "ParamFieldName": "/Script/Pavlov.DedicatedServer.BalanceTableURL",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "vankruptgames/BalancingTable/main" "DefaultValue": "vankruptgames/BalancingTable/main",
"EnumValues": {}
}, },
{ {
"DisplayName": "Limited Ammo Mode", "DisplayName": "Limited Ammo Mode",
@ -236,7 +246,7 @@
"FieldName": "LimitedAmmoType", "FieldName": "LimitedAmmoType",
"InputType": "enum", "InputType": "enum",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "LimitedAmmoType", "ParamFieldName": "/Script/Pavlov.DedicatedServer.LimitedAmmoType",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "0", "DefaultValue": "0",
"EnumValues": { "EnumValues": {
@ -256,7 +266,7 @@
"FieldName": "bVerboseLogging", "FieldName": "bVerboseLogging",
"InputType": "checkbox", "InputType": "checkbox",
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "bVerboseLogging", "ParamFieldName": "/Script/Pavlov.DedicatedServer.bVerboseLogging",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "false", "DefaultValue": "false",
"EnumValues": { "EnumValues": {

View File

@ -1,6 +1,6 @@
[/Script/Pavlov.DedicatedServer] [/Script/Pavlov.DedicatedServer]
ServerName=Pavlov VR Server - Powered by AMP
bEnabled=true bEnabled=true
ServerName=Pavlov VR Server - Powered by AMP
MaxPlayers=10 MaxPlayers=10
ApiKey= ApiKey=
bSecured=true bSecured=true

View File

@ -2,8 +2,7 @@
{ {
"ConfigFile": "Pavlov/Saved/Config/LinuxServer/Game.ini", "ConfigFile": "Pavlov/Saved/Config/LinuxServer/Game.ini",
"AutoMap": true, "AutoMap": true,
"ConfigType": "kvp", "ConfigType": "ini",
"ConfigFormat": "{0}={1}",
"ConfigFormatRegex": "^(?<key>.+?)=(?<value>.*?)$" "ConfigFormatRegex": "^(?<key>.+?)=(?<value>.*?)$"
}, },
{ {