From a574c8e14d792c19d23e1af5d90d5732ab8a18b0 Mon Sep 17 00:00:00 2001 From: southnode <95715917+southnode@users.noreply.github.com> Date: Thu, 23 Mar 2023 14:33:00 +1100 Subject: [PATCH] Squad Update (#304) * Squad Update Update to add fixedmaxtickrate to start arguments, remove haswritableconsole (Squad does not have a writable console), add SteamWorkshopDownloadLocation to applicable file area, set minampversion, remove RCON from serverconfig area and replace with info tile, clear up verbiage for descriptions of settings * Recommended updates Remove $ from non-AMP reserved variables Update record demos for both client and server side for better readability --- squad-dedicated-server.kvp | 8 ++-- squad-dedicated-serverconfig.json | 76 ++++++++++++++++++------------- 2 files changed, 50 insertions(+), 34 deletions(-) diff --git a/squad-dedicated-server.kvp b/squad-dedicated-server.kvp index 5a9726c..f581251 100644 --- a/squad-dedicated-server.kvp +++ b/squad-dedicated-server.kvp @@ -4,7 +4,7 @@ App.ApplicationPort2=27165 App.ApplicationPort3=0 App.ApplicationReadyMode=RegexMatch App.BaseDirectory=./squad-dedicated-server/403240/ -App.CommandLineArgs=MULTIHOME={{$ApplicationIPBinding}} Port={{$ApplicationPort1}} QueryPort={{$ApplicationPort2}} RCONPORT={{$RemoteAdminPort}} RCONPASSWORD={{$RemoteAdminPassword}} -log -fullcrashdump +App.CommandLineArgs=MULTIHOME={{$ApplicationIPBinding}} Port={{$ApplicationPort1}} QueryPort={{$ApplicationPort2}} RCONPORT={{$RemoteAdminPort}} RCONPASSWORD={{$RemoteAdminPassword}} FIXEDMAXTICKRATE={{MaxTPS}} -log -fullcrashdump App.CommandLineParameterDelimiter= App.CommandLineParameterFormat={0}="{1}" App.DisplayName=Squad Dedicated Server @@ -16,23 +16,25 @@ App.ExitString=stop App.RCONConnectDelaySeconds=15 App.RCONConnectRetrySeconds=45 App.HasReadableConsole=true -App.HasWritableConsole=true +App.HasWritableConsole=false App.RapidStartup=false App.RemoteAdminPort=21114 App.RootDir=./squad-dedicated-server/ App.UpdateSource=Multi App.UpdateSources=[{"UpdateStageName": "SteamCMD Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "403240", "UpdateSourceArgs": "393380"}] App.WorkingDir=403240 +App.SteamWorkshopDownloadLocation={{$FullBaseDir}}SquadGame/Plugins/Mods App.UseRandomAdminPassword=True Console.AppReadyRegex=^(LogInit: Display: Starting Game\.)|(LogOnline: GotoState: NewState: Playing)$ Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ Console.UserChatRegex=^\[Chat.*\] \[SteamID\:(?-?\d+)\] (?.+?) \: (?.+)$ Console.UserJoinRegex= Console.UserLeaveRegex= -Meta.Author=Shinynecrid,IceOfWraith +Meta.Author=Shinynecrid,IceOfWraith,Southnode-Arc Meta.ConfigManifest=squad-dedicated-serverconfig.json Meta.MetaConfigManifest=squad-dedicated-servermetaconfig.json Meta.ConfigRoot=squad-dedicated-server.kvp +Meta.MinAMPVersion=2.4.3.0 Meta.Description=Squad Dedicated Server Meta.DisplayImageSource=steam:393380 Meta.DisplayName=Squad Dedicated Server diff --git a/squad-dedicated-serverconfig.json b/squad-dedicated-serverconfig.json index b881b4e..b35c469 100644 --- a/squad-dedicated-serverconfig.json +++ b/squad-dedicated-serverconfig.json @@ -1,20 +1,20 @@ [ { - "DisplayName": "RCON Password", - "Category": "Server Config", - "Description": "Password to connect to RCON. Change this after installing the server", - "Keywords": "RCON,password", - "FieldName": "$RemoteAdminPassword", - "InputType": "RandomPassword", - "IsFlagArgument": false, - "ParamFieldName": "$RemoteAdminPassword", - "IncludeInCommandLine": false, - "DefaultValue": "Password123" + "DisplayName":"RCON Password", + "Category":"Server Config", + "Description":"See the Security and Privacy menu for configurable options for the server's RCON", + "Keywords":"rcon,password", + "FieldName":"RCONPassword", + "InputType":"hidden", + "IsFlagArgument":false, + "ParamFieldName":"RCONPassword", + "IncludeInCommandLine":false, + "EnumValues":{} }, { "DisplayName": "Server Name", "Category": "Server Config", - "Description": "Set the Name for the server to advertise", + "Description": "Set the Name for the server in the Server Browser", "Keywords": "server name, name", "FieldName": "ServerName", "InputType": "text", @@ -26,7 +26,7 @@ { "DisplayName": "Max Players", "Category": "Server Config", - "Description": "Set the max players allowed on the server", + "Description": "Set the max players allowed on the server (minus reserved slots)", "Keywords": "max players, players", "FieldName": "$MaxUsers", "InputType": "number", @@ -37,10 +37,24 @@ "Suffix":"players", "MinValue":"1" }, + { + "DisplayName": "Max TPS", + "Category": "Server Config", + "Description": "Set the maximum tickrate for the server (Set below 45 for best stability)", + "Keywords": "tps, tickrate", + "FieldName": "MaxTPS", + "InputType": "number", + "IsFlagArgument": false, + "ParamFieldName": "MaxTPS", + "IncludeInCommandLine": false, + "DefaultValue": "40", + "Suffix":"tps", + "MinValue":"10" + }, { "DisplayName": "LAN Mode", "Category": "Server Config", - "Description": "set the server to LAN mode?", + "Description": "Set the server to LAN mode", "Keywords": "Lan,Server", "FieldName": "IsLANMatch", "InputType": "checkbox", @@ -55,7 +69,7 @@ { "DisplayName": "Should Advertise", "Category": "Server Config", - "Description": "Control visibility in the server browser", + "Description": "Control visibility in the server browser - disabling removes the server from the Server Browser", "Keywords": "Visibility,Server", "FieldName": "ShouldAdvertise", "InputType": "checkbox", @@ -70,7 +84,7 @@ { "DisplayName": "Number of Reserved Slots", "Category": "Server Config", - "Description": "Number of reserved slots for admins / members", + "Description": "Number of reserved slots for admins within the Admins.cfg file with the 'reserved' group permission", "Keywords": "reserved players, players", "FieldName": "NumReservedSlots", "InputType": "number", @@ -82,7 +96,7 @@ { "DisplayName": "Public Queue Limit", "Category": "Server Config", - "Description": "Size of the server queuing, for regular user", + "Description": "Size of the server queuing, for regular user (Setting this to 0 disables the ability for players to join the server)", "Keywords": "queue,players", "FieldName": "PublicQueueLimit", "InputType": "number", @@ -128,7 +142,7 @@ { "DisplayName": "Use Vote Factions", "Category": "Server Config", - "Description": "Should Faction be voted for on generic layers? Randomized if false.", + "Description": "Should Faction be voted for on generic layers?", "Keywords": "Factions,Vote", "FieldName": "UseVoteFactions", "InputType": "checkbox", @@ -173,7 +187,7 @@ { "DisplayName": "Allow Team Change", "Category": "Server Config", - "Description": "Completly Allow or Disallow Team change to all players. Only user with Level_Balance access level can bypass this flag", + "Description": "Completly Allow or Disallow Team change to all players. Only users with 'balance' permission within Admins.cfg can bypass this flag", "Keywords": "Layer,Vote", "FieldName": "AllowTeamChanges", "InputType": "checkbox", @@ -215,7 +229,7 @@ { "DisplayName": "Rejoin Squad Delay After Kick", "Category": "Server Config", - "Description": "Delay a player is allowed to rejoin a squad after being kicked.", + "Description": "Sets the delay after which a player is allowed to rejoin a squad after being kicked.", "Keywords": "delay,players,kick", "FieldName": "RejoinSquadDelayAfterKick", "InputType": "number", @@ -226,24 +240,24 @@ "Suffix":"seconds" }, { - "DisplayName": "Record Demos", + "DisplayName": "Record Demos - Server", "Category": "Server Config", - "Description": "Enable Demo Recording", + "Description": "Enable Demo Recording Server-side - the server will save a demo of every match", "Keywords": "Record,Demo", "FieldName": "RecordDemos", "InputType": "checkbox", "IsFlagArgument": false, "ParamFieldName": "RecordDemos", - "DefaultValue": "true", + "DefaultValue": "false", "EnumValues": { "False": "false", "True": "true" } }, { - "DisplayName": "Allow Public Clients Record Demos", + "DisplayName": "Record Demos - Client", "Category": "Server Config", - "Description": "Enable Demo Recording", + "Description": "Enable Demo Recording Client-side, allowing players to record demos of matches", "Keywords": "Record,Demo", "FieldName": "AllowPublicClientsToRecord", "InputType": "checkbox", @@ -258,7 +272,7 @@ { "DisplayName": "Server Message Interval", "Category": "Server Config", - "Description": "Frequency in which the server displays the information inside the ServerMessages.cfg file.", + "Description": "Frequency in which the server displays the information inside the ServerMessages.cfg file as a broadcast to all players", "Keywords": "Interval, Message", "FieldName": "ServerMessageInterval", "InputType": "number", @@ -299,7 +313,7 @@ { "DisplayName": "Auto Team Kill Ban Number", "Category": "Server Config", - "Description": "Maximum allowed team kills before ban", + "Description": "Maximum allowed teamkills before an automatic ban", "Keywords": "Interval, Message", "FieldName": "AutoTKBanNumberTKs", "InputType": "number", @@ -311,7 +325,7 @@ { "DisplayName": "Auto Team Kill Ban Timer", "Category": "Server Config", - "Description": "Time a Team Kiling player is banned for before being allowed to rejoin match.", + "Description": "Time a teamkiling player is banned for before being allowed to rejoin match.", "Keywords": "Interval,Message,Time", "FieldName": "AutoTKBanTime", "InputType": "number", @@ -339,7 +353,7 @@ { "DisplayName": "Allow Community Admin Access", "Category": "Server Config", - "Description": "Enable Community Admin Access", + "Description": "Enable QA Admin Access (Required for Licensed Servers)", "Keywords": "Admin", "FieldName": "AllowCommunityAdminAccess", "InputType": "checkbox", @@ -354,7 +368,7 @@ { "DisplayName": "Offworld Developers only Admin", "Category": "Server Config", - "Description": "Only Offworld Industries developers are admins", + "Description": "Allow Offworld Industries QA Dev Profiling (Required for Licensed Servers)", "Keywords": "Admin", "FieldName": "AllowDevProfiling", "InputType": "checkbox", @@ -369,7 +383,7 @@ { "DisplayName": "Allow QA", "Category": "Server Config", - "Description": "Allow QA", + "Description": "Allow Offworld Industries QA (Required for Licensed Servers)", "Keywords": "QA", "FieldName": "AllowQA", "InputType": "checkbox", @@ -396,4 +410,4 @@ "True": "true" } } -] \ No newline at end of file +]