diff --git a/manifest.json b/manifest.json index 092da19..5d4ee44 100644 --- a/manifest.json +++ b/manifest.json @@ -6,4 +6,4 @@ "imagefile": "", "prefix": "", "repotype": "AppTemplates" -} +} \ No newline at end of file diff --git a/project5-sightseer.kvp b/project5-sightseer.kvp new file mode 100644 index 0000000..a6fae08 --- /dev/null +++ b/project5-sightseer.kvp @@ -0,0 +1,87 @@ +Meta.DisplayName=Project 5: Sightseer +Meta.Description=Project 5: Sightseer Dedicated Server +Meta.OS=Windows, Linux +Meta.Arch=x86_64 +Meta.Author=Greelan, DARKACE +Meta.URL=https://project-5-sightseer.fandom.com/wiki/Project_5:_Sightseer_Wiki +Meta.DisplayImageSource=steam:655780 +Meta.EndpointURIFormat= +Meta.ConfigManifest=project5-sightseerconfig.json +Meta.MetaConfigManifest=project5-sightseermetaconfig.json +Meta.ConfigRoot=project5-sightseer.kvp +Meta.MinAMPVersion=2.4.0.10 +Meta.SpecificDockerImage=cubecoders/ampbase:mono +Meta.DockerRequired=False +Meta.ContainerPolicy=SupportedOnWindows, RecommendedOnLinux +Meta.ContainerPolicyReason=Project 5: Sightseer requires mono. Installing mono on the host may interfere with AMP's operation. +Meta.Prerequsites=[] +Meta.ExtraContainerPackages=[] +Meta.ConfigReleaseState=NotSpecified +Meta.NoCommercialUsage=False +App.DisplayName=Project 5: Sightseer +App.RootDir=./project5-sightseer/ +App.BaseDirectory=./project5-sightseer/655780/ +App.ExecutableWin=655780\P5SServer.exe +App.ExecutableLinux=/usr/bin/mono +App.WorkingDir=655780 +App.LinuxCommandLineArgs=./P5SServer.exe +App.CommandLineArgs={{$PlatformArgs}} -port {{$GamePort}} -http -localPath {{$FormattedArgs}} {{public}} +App.UseLinuxIOREDIR=False +App.AppSettings={} +App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"655780"} +App.CommandLineParameterFormat=-{0} "{1}" +App.CommandLineParameterDelimiter= +App.ExitMethod=String +App.ExitTimeout=30 +App.ExitString=q\n +App.ExitFile=app_exit.lck +App.HasWriteableConsole=True +App.HasReadableConsole=True +App.SupportsLiveSettingsChanges=False +App.LiveSettingChangeCommandFormat=set {0} "{1}" +App.ApplicationIPBinding=0.0.0.0 +App.Ports=[{"Protocol":"TCP","Port":5190,"Ref":"GamePort","Name":"Game Port","Description":"Port for game traffic"}] +App.AdminPortRef=0 +App.PrimaryApplicationPortRef=GamePort +App.UniversalSleepApplicationUDPPortRef=GamePort +App.UniversalSleepSteamQueryPortRef=0 +App.MaxUsers=20 +App.UseRandomAdminPassword=False +App.RemoteAdminPassword=Password123 +App.AdminMethod=STDIO +App.AdminLoginTransform=None +App.RCONConnectDelaySeconds=5 +App.RCONConnectRetrySeconds=5 +App.RCONHeartbeatMinutes=0 +App.RCONHeartbeatCommand=ping +App.TelnetLoginFormat={0} +App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"655780","UpdateSourceArgs":"655780"},{"UpdateStageName":"Create ServerConfig Directory","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"{{$FullBaseDir}}ServerConfig","OverwriteExistingFiles":false},{"UpdateStageName":"Create Ban File","UpdateSourcePlatform":"All","UpdateSource":"CreateFile","UpdateSourceArgs":"{{$FullBaseDir}}ServerConfig/ban.txt","OverwriteExistingFiles":false},{"UpdateStageName":"Pause Update Stages","UpdateSourcePlatform":"All","UpdateSource":"Pause","UpdateSourceArgs":"10"},{"UpdateStageName":"Start Server","UpdateSourcePlatform":"All","UpdateSource":"StartApplication"},{"UpdateStageName":"Wait For Server Start","UpdateSourcePlatform":"All","UpdateSource":"WaitForStartupComplete"},{"UpdateStageName":"Stop Server","UpdateSourcePlatform":"All","UpdateSource":"ShutdownApplication"}] +App.Compatibility=None +App.SteamUpdateAnonymousLogin=False +App.SteamForceLoginPrompt=True +App.RapidStartup=False +App.MonitorChildProcess=True +App.MonitorChildProcessWaitMs=100 +App.MonitorChildProcessName=P5SServer.exe +App.SupportsUniversalSleep=False +App.WakeupMode=Any +App.ApplicationReadyMode=RegexMatch +App.TemplateMatchRegex={{(\$?[\w]+)}} +Console.FilterMatchRegex= +Console.FilterMatchReplacement= +Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ +Console.AppReadyRegex=^\[[\d\/]+ [\d:]+\] Game server started on port \d+ using protocol version \d+$ +Console.UserJoinRegex=^\[[\d\/]+ [\d:]+\] (?.+?) \((?:[\d\.:]+?), (?:.+?), (?.+?)\): Passed a ban check: (?:.+)$ +Console.UserLeaveRegex=^\[[\d\/]+ [\d:]+\] (?.+?) \((?:[\d\.:]+?)\): Disconnected \[\d+\]$ +Console.UserChatRegex=^$ +Console.UpdateAvailableRegex=^$ +Console.MetricsRegex= +Console.SuppressLogAtStart=False +Console.ActivateLogRegex= +Console.UserActions={} +Limits.SleepMode=True +Limits.SleepOnStart=False +Limits.SleepDelayMinutes=5 +Limits.DozeDelay=2 +Limits.AutoRetryCount=5 +Limits.SleepStartThresholdSeconds=25 diff --git a/project5-sightseerconfig.json b/project5-sightseerconfig.json new file mode 100644 index 0000000..cd40f7a --- /dev/null +++ b/project5-sightseerconfig.json @@ -0,0 +1,61 @@ +[ + { + "DisplayName":"Server Name", + "Category":"P5S Server Settings", + "Description":"Server name as shown in the in-game browser", + "Keywords":"server,name", + "FieldName":"name", + "InputType":"text", + "IsFlagArgument":false, + "ParamFieldName":"name", + "IncludeInCommandLine":true, + "SkipIfEmpty":true, + "DefaultValue":"AMP Powered Project 5: Sightseer Server", + "EnumValues":{} + }, + { + "DisplayName":"Make Server Public", + "Category":"P5S Server Settings", + "Description":"If enabled, the server will be registered to the public lobby and be publicly visible in the in-game browser", + "Keywords":"public", + "FieldName":"public", + "InputType":"checkbox", + "IsFlagArgument":false, + "ParamFieldName":"public", + "IncludeInCommandLine":false, + "DefaultValue":"-public", + "EnumValues":{ + "False":"", + "True":"-public" + } + }, + { + "DisplayName":"World Save Name", + "Category":"P5S Server Settings", + "Description":"Sets the name of the world save to load (if it already exists) or to create. If the world save does not already exist, an admin must create it in-game after connecting to the server", + "Keywords":"world,name,save", + "FieldName":"fn", + "InputType":"text", + "IsFlagArgument":false, + "ParamFieldName":"fn", + "IncludeInCommandLine":true, + "SkipIfEmpty":true, + "DefaultValue":"World.dat", + "Placeholder":"World.dat", + "EnumValues":{} + }, + { + "DisplayName":"Server Admins", + "Category":"P5S Server Settings", + "Description":"List of Steam64 IDs for server admins. [Find Steam64 IDs](https://steamidfinder.com/)", + "Keywords":"admins", + "FieldName":"admins", + "InputType":"list", + "IsFlagArgument":false, + "ParamFieldName":"admins", + "IncludeInCommandLine":false, + "DefaultValue":"", + "Special":"listfile:./project5-sightseer/655780/ServerConfig/admin.txt", + "EnumValues": {} + } +] diff --git a/project5-sightseermetaconfig.json b/project5-sightseermetaconfig.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/project5-sightseermetaconfig.json @@ -0,0 +1 @@ +[]