diff --git a/squad-dedicated-server.kvp b/squad-dedicated-server.kvp new file mode 100644 index 0000000..3c4073f --- /dev/null +++ b/squad-dedicated-server.kvp @@ -0,0 +1,36 @@ +App.AdminMethod=SourceRCON +App.ApplicationPort1=7787 +App.ApplicationPort2=27165 +App.ApplicationReadyMode=RegexMatch +App.BaseDirectory=./squad-dedicated-server/403240/ +App.CommandLineArgs=-maxplayers {{$MaxUsers}} -multihome {{$ApplicationIPBinding}} -random=always -log -port {{$ApplicationPort1}} -rconport {{$RemoteAdminPort}} -rconpassword "{{$RemoteAdminPassword}}" +App.CommandLineParameterDelimiter= +App.CommandLineParameterFormat=-{0} "{1}" +App.DisplayName=Squad Dedicated Server +App.EnvironmentVariables={"LD_LIBRARY_PATH": "./linux64:%LD_LIBRARY_PATH%", "SteamAppId": "403240"} +App.ExecutableLinux=403240/SquadGame/Binaries/Linux/SquadGameServer +App.ExecutableWin=403240\SquadGame\Binaries\Win64\SquadGameServer.exe +App.ExitMethod=OS_CLOSE +App.ExitString=stop +App.HasReadableConsole=true +App.HasWritableConsole=true +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"}] +App.WorkingDir=403240 +Console.AppReadyRegex=^(LogInit: Display: Starting Game\.)|(LogOnline: GotoState: NewState: Playing)$ +Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ +Console.UserChatRegex=^\[\d\d:\d\d:\d\d\] \[CHAT\] <(?.+?)> (?.+)$ +Console.UserJoinRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] "(?.+?)" \((?.+?)\) connected from \[(?.+?)\]$ +Console.UserLeaveRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] "(?.+?)" \((?.+?)\) disconnected \(Reason: (?.+?)\)$ +Meta.Author=Shinynecrid +Meta.ConfigManifest=squad-dedicated-serverconfig.json +Meta.ConfigRoot=squad-dedicated-server.kvp +Meta.Description=Squad Dedicated Server +Meta.DisplayImageSource=steam:393380 +Meta.DisplayName=Squad Dedicated Server +Meta.EndpointURIFormat= +Meta.OS=3 +Meta.URL=https://squad.gamepedia.com/Dedicated_server \ No newline at end of file diff --git a/squad-dedicated-serverconfig.json b/squad-dedicated-serverconfig.json new file mode 100644 index 0000000..7cb8e79 --- /dev/null +++ b/squad-dedicated-serverconfig.json @@ -0,0 +1,15 @@ +[ + { + "DisplayName": "Max Users", + "Category": "Server Configuration", + "Description": "Sets the maximum ammount of allowed players in a game", + "Keywords": "Players", + "FieldName": "$MaxUsers", + "InputType": "text", + "IsFlagArgument": false, + "ParamFieldName": "-maxplayers", + "IncludeInCommandLine": true, + "DefaultValue": "80", + "EnumValues": {} + } +] \ No newline at end of file