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.RCONConnectRetrySeconds=5
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.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False

View File

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

View File

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

View File

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