From 8bb6c5992318a34dd5ed3b61103b445c4abd3035 Mon Sep 17 00:00:00 2001 From: IceOfWraith <96364530+IceOfWraith@users.noreply.github.com> Date: Sat, 29 Jan 2022 13:12:18 -0600 Subject: [PATCH 01/12] Add Conan Exiles (draft) This brings back the work that was started on https://github.com/CubeCoders/AMPTemplates/pull/3 previously. It has been migrated to use the new generic settings. It currently only works on Windows, but has a baseline started for Proton. Settings have not been added to the GUI yet. --- conan-exiles.kvp | 41 +++++++++++++++++++++++++++++++++++++++++ conan-exilesconfig.json | 28 ++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 conan-exiles.kvp create mode 100644 conan-exilesconfig.json diff --git a/conan-exiles.kvp b/conan-exiles.kvp new file mode 100644 index 0000000..530e49d --- /dev/null +++ b/conan-exiles.kvp @@ -0,0 +1,41 @@ +App.ApplicationPort1=7777 +App.ApplicationPort2=7778 +App.ApplicationPort3=27015 +App.RemoteAdminPort=25575 +App.ApplicationReadyMode=Immediate +App.BaseDirectory=./conan-exiles/443030/ +App.LinuxCommandLineArgs=run ./443030/ConanSandbox/Binaries/Win64/ConanSandboxServer-Win64-Test.exe +App.CommandLineArgs={{$PlatformArgs}} -log -Port={{$ApplicationPort1}} -QueryPort={{$ApplicationPort3}} -RconEnabled=1 -RconPort={{$RemoteAdminPort}} -RCONPassword="{{$RemoteAdminPassword}}" {{$FormattedArgs}} +App.CommandLineParameterDelimiter= +App.CommandLineParameterFormat=-{0}="{1}" +App.DisplayName=Conan Exiles +App.EnvironmentVariables={"STEAM_COMPAT_DATA_PATH":"{{$FullRootDir}}","STEAM_COMPAT_CLIENT_INSTALL_PATH":"{{$FullRootDir}}","PROTON_LOG":"1","SteamAppId":"440900"} +App.EnvironmentVariables={"LD_LIBRARY_PATH": "./linux64:%LD_LIBRARY_PATH%", "SteamAppId": "440900"} +App.ExecutableLinux=1580130/proton +App.ExecutableWin=443030\ConanSandbox\Binaries\Win64\ConanSandboxServer-Win64-Test.exe +App.ExitMethod=OS_CLOSE +App.ExitString=stop +App.HasReadableConsole=true +App.HasWritableConsole=true +App.RapidStartup=false +App.UseRandomAdminPassword=True +App.RemoteAdminPort=25575 +App.AdminMethod=SourceRCON +App.RootDir=./conan-exiles/ +App.UpdateSource=Multi +App.UpdateSources=[{"UpdateStageName": "Proton Download", "UpdateSourcePlatform": "Linux", "UpdateSource": "SteamCMD", "UpdateSourceData": "1580130"}, {"UpdateStageName": "Conan Exiles Server Download", "UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "ForceDownloadPlatform": "Windows", "UpdateSourceData": "443030"}] +App.WorkingDir=443030/ConanSandbox/ +Console.AppReadyRegex=^LogGameMode:Display: Match State Changed from WaitingToStart to InProgress$ +Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ +Console.UserChatRegex=^(?.+?): (?.+)$ +Console.UserJoinRegex=^User (?.+?) \((?-?d+)\) connected from \[::ffff:(?.+?)\]$ +Console.UserLeaveRegex=^User (?.+?) \((?-?d+)\) disconnected\. Reason: (.+?)$ +Meta.Author=IceOfWraith, Greelan, eNcrypt +Meta.ConfigManifest=conan-exilesconfig.json +Meta.ConfigRoot=conan-exiles.kvp +Meta.Description=Conan Exiles Dedicated Server +Meta.DisplayImageSource=steam:440900 +Meta.DisplayName=Conan Exiles +Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort3} +Meta.OS=3 +Meta.URL=https://store.steampowered.com/app/440900/Conan_Exiles/ \ No newline at end of file diff --git a/conan-exilesconfig.json b/conan-exilesconfig.json new file mode 100644 index 0000000..c0a675f --- /dev/null +++ b/conan-exilesconfig.json @@ -0,0 +1,28 @@ +[ + { + "DisplayName": "Server Name", + "Category": "Server Settings", + "Description": "The Name of the server shown in the server browser", + "Keywords": "name", + "FieldName": "ServerName", + "InputType": "text", + "IsFlagArgument": false, + "ParamFieldName": "ServerName", + "IncludeInCommandLine": true, + "DefaultValue": "Conan Exiles Server - Powered by AMP", + "EnumValues": {} + }, + { + "DisplayName": "Max Players", + "Category": "Server Settings", + "Description": "The maximum amount of players that can be on the server at once", + "Keywords": "players", + "FieldName": "$MaxUsers", + "InputType": "number", + "IsFlagArgument": false, + "ParamFieldName": "$MaxUsers", + "IncludeInCommandLine": true, + "DefaultValue": "100", + "EnumValues": {} + } +] \ No newline at end of file From 9a5e51e0c9f258665fa6d01bc7cd3998d2c6c840 Mon Sep 17 00:00:00 2001 From: IceOfWraith <96364530+IceOfWraith@users.noreply.github.com> Date: Mon, 7 Feb 2022 19:31:56 -0600 Subject: [PATCH 02/12] Additions made by Greelan Notes by Greelan: Some further development of the template that you can merge if appropriate to build out your PR. Having worked with it a bit more I've concluded that it ain't a particularly AMP-friendly server. Couple of specific comments: I've added AdminPassword as a command line argument, but I am not sure that is accepted. Most instructions say to put it in the ServerSettings.ini. Problem is that the default ServerSettings.ini that is created when the server is first started does not include that field. So I tried the solution of having a copy of that ini, with the AdminPassword field added, being downloaded from GitHub and copied across as update stages. But the server overwrites that on first start. And given I don't want the update stages overwriting the existing ServerSettings.ini, because it might include a lot of user configuration, I can't see a resolution for this (ie getting an AdminPassword entry into the standard ServerSettings.ini that is not overwritten by the server and that does not cause AMP to overwrite other settings). The Server Password manifest entry assumes that it will work with the ServerPassword field that exists by default in ServerSettings.ini. But I've also read that ServerPassword only works in Engine.ini. However, Engine.ini doesn't include that entry by default - which creates the same issue as for AdminPassword. --- conan-exiles.kvp | 101 +++++++++++++------- conan-exilesconfig.json | 180 ++++++++++++++++++++++++++++++------ conan-exilesmetaconfig.json | 8 ++ 3 files changed, 229 insertions(+), 60 deletions(-) create mode 100644 conan-exilesmetaconfig.json diff --git a/conan-exiles.kvp b/conan-exiles.kvp index 530e49d..cbf487a 100644 --- a/conan-exiles.kvp +++ b/conan-exiles.kvp @@ -1,41 +1,76 @@ +Meta.DisplayName=Conan Exiles +Meta.Description=Conan Exiles Dedicated Server +Meta.OS=Windows, Linux +Meta.Arch=x86_64 +Meta.Author=IceOfWraith, Greelan, eNcrypt +Meta.URL=https://store.steampowered.com/app/440900/Conan_Exiles/ +Meta.DisplayImageSource=steam:440900 +Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort3} +Meta.ConfigManifest=conan-exilesconfig.json +Meta.MetaConfigManifest=conan-exilesmetaconfig.json +Meta.ConfigRoot=conan-exiles.kvp +Meta.MinAMPVersion=2.3.2.0 +Meta.SpecificDockerImage= +Meta.ContainerPolicy=Supported +Meta.Prerequsites=[] +Meta.ConfigReleaseState=NotSpecified +App.DisplayName=Conan Exiles +App.RootDir=./conan-exiles/ +App.BaseDirectory=./conan-exiles/443030/ +App.ExecutableWin=443030\ConanSandbox\Binaries\Win64\ConanSandboxServer-Win64-Test.exe +App.ExecutableLinux=1580130/proton +App.WorkingDir=443030/ConanSandbox/Binaries/Win64 +App.LinuxCommandLineArgs=run ./ConanSandboxServer-Win64-Test.exe +App.WindowsCommandLineArgs= +App.CommandLineArgs={{$PlatformArgs}} -log -ServerName="{{ServerName}}" -RconEnabled=1 -RconPassword="{{$RemoteAdminPassword}}" -AdminPassword="{{AdminPassword}}" {{$FormattedArgs}} +App.AppSettings={} +App.EnvironmentVariables={"LD_LIBRARY_PATH":"./linux64:%LD_LIBRARY_PATH%","SteamAppId":"440900","STEAM_COMPAT_DATA_PATH":"{{$FullRootDir}}1580130","STEAM_COMPAT_CLIENT_INSTALL_PATH":"{{$FullRootDir}}1580130","ENABLE_VKBASALT":"1"} +App.CommandLineParameterFormat=-{0}={1} +App.CommandLineParameterDelimiter= +App.ExitMethod=String +App.ExitTimeout=30 +App.ExitString=exit +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.ApplicationPort1=7777 App.ApplicationPort2=7778 App.ApplicationPort3=27015 App.RemoteAdminPort=25575 -App.ApplicationReadyMode=Immediate -App.BaseDirectory=./conan-exiles/443030/ -App.LinuxCommandLineArgs=run ./443030/ConanSandbox/Binaries/Win64/ConanSandboxServer-Win64-Test.exe -App.CommandLineArgs={{$PlatformArgs}} -log -Port={{$ApplicationPort1}} -QueryPort={{$ApplicationPort3}} -RconEnabled=1 -RconPort={{$RemoteAdminPort}} -RCONPassword="{{$RemoteAdminPassword}}" {{$FormattedArgs}} -App.CommandLineParameterDelimiter= -App.CommandLineParameterFormat=-{0}="{1}" -App.DisplayName=Conan Exiles -App.EnvironmentVariables={"STEAM_COMPAT_DATA_PATH":"{{$FullRootDir}}","STEAM_COMPAT_CLIENT_INSTALL_PATH":"{{$FullRootDir}}","PROTON_LOG":"1","SteamAppId":"440900"} -App.EnvironmentVariables={"LD_LIBRARY_PATH": "./linux64:%LD_LIBRARY_PATH%", "SteamAppId": "440900"} -App.ExecutableLinux=1580130/proton -App.ExecutableWin=443030\ConanSandbox\Binaries\Win64\ConanSandboxServer-Win64-Test.exe -App.ExitMethod=OS_CLOSE -App.ExitString=stop -App.HasReadableConsole=true -App.HasWritableConsole=true -App.RapidStartup=false -App.UseRandomAdminPassword=True -App.RemoteAdminPort=25575 +App.MaxUsers=40 +App.UseRandomAdminPassword=False +App.RemoteAdminPassword=Password123 App.AdminMethod=SourceRCON -App.RootDir=./conan-exiles/ -App.UpdateSource=Multi -App.UpdateSources=[{"UpdateStageName": "Proton Download", "UpdateSourcePlatform": "Linux", "UpdateSource": "SteamCMD", "UpdateSourceData": "1580130"}, {"UpdateStageName": "Conan Exiles Server Download", "UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "ForceDownloadPlatform": "Windows", "UpdateSourceData": "443030"}] -App.WorkingDir=443030/ConanSandbox/ -Console.AppReadyRegex=^LogGameMode:Display: Match State Changed from WaitingToStart to InProgress$ +App.AdminLoginTransform=None +App.RCONConnectDelaySeconds=5 +App.RCONConnectRetrySeconds=5 +App.UpdateSources=[{"UpdateStageName":"SteamCMD and Conan Exiles Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"443030","ForceDownloadPlatform":"Windows"},{"UpdateStageName":"Proton Compatibility Layer","UpdateSourcePlatform":"Linux","UpdateSource":"SteamCMD","UpdateSourceData":"1580130"}] +App.Compatibility=None +App.SteamUpdateAnonymousLogin=True +App.SteamForceLoginPrompt=False +App.RapidStartup=False +App.SupportsUniversalSleep=False +App.UniversalSleepApplicationUDPPort=27015 +App.UniversalSleepSteamQueryPort=27016 +App.WakeupMode=Any +App.ApplicationReadyMode=RegexMatch +App.TemplateMatchRegex={{(\$?[\w]+)}} +Console.FilterMatchRegex= +Console.FilterMatchReplacement= Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ -Console.UserChatRegex=^(?.+?): (?.+)$ +Console.AppReadyRegex=^LogGameMode:Display: Match State Changed from WaitingToStart to InProgress$ Console.UserJoinRegex=^User (?.+?) \((?-?d+)\) connected from \[::ffff:(?.+?)\]$ Console.UserLeaveRegex=^User (?.+?) \((?-?d+)\) disconnected\. Reason: (.+?)$ -Meta.Author=IceOfWraith, Greelan, eNcrypt -Meta.ConfigManifest=conan-exilesconfig.json -Meta.ConfigRoot=conan-exiles.kvp -Meta.Description=Conan Exiles Dedicated Server -Meta.DisplayImageSource=steam:440900 -Meta.DisplayName=Conan Exiles -Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort3} -Meta.OS=3 -Meta.URL=https://store.steampowered.com/app/440900/Conan_Exiles/ \ No newline at end of file +Console.UserChatRegex=^(?.+?): (?.+)$ +Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$ +Console.SuppressLogAtStart=False +Console.ActivateLogRegex= +Console.UserActions={} +Limits.SleepMode=True +Limits.SleepOnStart=False +Limits.SleepDelayMinutes=5 +Limits.DozeDelay=2 +Limits.AutoRetryCount=5 diff --git a/conan-exilesconfig.json b/conan-exilesconfig.json index c0a675f..ceb4a4a 100644 --- a/conan-exilesconfig.json +++ b/conan-exilesconfig.json @@ -1,28 +1,154 @@ [ - { - "DisplayName": "Server Name", - "Category": "Server Settings", - "Description": "The Name of the server shown in the server browser", - "Keywords": "name", - "FieldName": "ServerName", - "InputType": "text", - "IsFlagArgument": false, - "ParamFieldName": "ServerName", - "IncludeInCommandLine": true, - "DefaultValue": "Conan Exiles Server - Powered by AMP", - "EnumValues": {} - }, - { - "DisplayName": "Max Players", - "Category": "Server Settings", - "Description": "The maximum amount of players that can be on the server at once", - "Keywords": "players", - "FieldName": "$MaxUsers", - "InputType": "number", - "IsFlagArgument": false, - "ParamFieldName": "$MaxUsers", - "IncludeInCommandLine": true, - "DefaultValue": "100", - "EnumValues": {} - } -] \ No newline at end of file + { + "DisplayName":"Game Port", + "Category":"Server Settings", + "Description":"", + "Keywords":"", + "FieldName":"$ApplicationPort1", + "InputType":"number", + "IsFlagArgument":false, + "Hidden":true, + "ParamFieldName":"Port", + "IncludeInCommandLine":true, + "DefaultValue":"7777" + }, + { + "DisplayName":"Query Port", + "Category":"Server Settings", + "Description":"", + "Keywords":"", + "FieldName":"$ApplicationPort3", + "InputType":"number", + "IsFlagArgument":false, + "Hidden":true, + "ParamFieldName":"QueryPort", + "IncludeInCommandLine":true, + "DefaultValue":"27015" + }, + { + "DisplayName":"RCON Port", + "Category":"Server Settings", + "Description":"", + "Keywords":"", + "FieldName":"$RemoteAdminPort", + "InputType":"number", + "IsFlagArgument":false, + "Hidden":true, + "ParamFieldName":"RconPort", + "IncludeInCommandLine":true, + "DefaultValue":"25575" + }, + { + "DisplayName":"Server Name", + "Category":"Server Settings", + "Description":"Name of the server shown in the server browser", + "Keywords":"name", + "FieldName":"ServerName", + "InputType":"text", + "IsFlagArgument":false, + "ParamFieldName":"ServerName", + "IncludeInCommandLine":false, + "DefaultValue":"Conan Exiles Server - Powered by AMP" + }, + { + "DisplayName":"Player Limit", + "Category":"Server Settings", + "Description":"Maximum number of players that may connect to the server", + "Keywords":"maximum,players", + "FieldName":"$MaxUsers", + "InputType":"number", + "IsFlagArgument":false, + "ParamFieldName":"MaxPlayers", + "IncludeInCommandLine":true, + "DefaultValue":"40", + "Suffix":"players" + }, + { + "DisplayName":"Server Password", + "Category":"Server Settings", + "Description":"Password to connect to the server. Default is no password", + "Keywords":"password", + "FieldName":"ServerPassword", + "InputType":"password", + "IsFlagArgument":false, + "ParamFieldName":"ServerSettings.ServerPassword", + "IncludeInCommandLine":false, + "DefaultValue":"" + }, + { + "DisplayName":"Admin Password", + "Category":"Server Settings", + "Description":"In-game \"admin\" user password (not the server password). NOTE: You must set this to allow use of the in-game admin panel", + "Keywords":"admin,password", + "FieldName":"AdminPassword", + "InputType":"RandomPassword", + "IsFlagArgument":false, + "ParamFieldName":"AdminPassword", + "IncludeInCommandLine":false, + "DefaultValue":"" + }, + { + "DisplayName":"RCON Password", + "Category":"Server Settings", + "Description":"Password to connect to RCON. NOTE: You should change this after first installing the server", + "Keywords":"rcon,password", + "FieldName":"$RemoteAdminPassword", + "InputType":"RandomPassword", + "IsFlagArgument":false, + "ParamFieldName":"RconPassword", + "IncludeInCommandLine":false, + "DefaultValue":"Password123" + }, + { + "DisplayName":"Server Region", + "Category":"Server Settings", + "Description":"Sets the server region, which affects how the server is filtered in the server list", + "Keywords":"region", + "FieldName":"serverRegion", + "InputType":"enum", + "IsFlagArgument":false, + "ParamFieldName":"ServerSettings.serverRegion", + "IncludeInCommandLine":false, + "DefaultValue":"0", + "EnumValues":{ + "0":"Europe", + "1":"North America", + "2":"Asia", + "3":"Australia", + "4":"South America", + "5":"Japan" + } + }, + { + "DisplayName":"Enable BattlEye", + "Category":"Server Settings", + "Description":"If enabled, BattlEye cheat protection will apply to the server", + "Keywords":"battleye,cheats", + "FieldName":"IsBattlEyeEnabled", + "InputType":"checkbox", + "IsFlagArgument":false, + "ParamFieldName":"ServerSettings.IsBattlEyeEnabled", + "IncludeInCommandLine":false, + "DefaultValue":"False", + "EnumValues":{ + "True":"True", + "False":"False" + } + }, + { + "DisplayName":"Enable Valve Anti-cheat (Steam VAC)", + "Category":"Server Settings", + "Description":"", + "Keywords":"VAC,cheat", + "FieldName":"IsVACEnabled", + "InputType":"checkbox", + "IsFlagArgument":false, + "ParamFieldName":"ServerSettings.IsVACEnabled", + "IncludeInCommandLine":false, + "DefaultValue":"True", + "EnumValues":{ + "True":"True", + "False":"False" + } + } + ] \ No newline at end of file diff --git a/conan-exilesmetaconfig.json b/conan-exilesmetaconfig.json new file mode 100644 index 0000000..3c7f6f9 --- /dev/null +++ b/conan-exilesmetaconfig.json @@ -0,0 +1,8 @@ +[ + { + "ConfigFile": "ConanSandbox/Saved/Config/WindowsServer/ServerSettings.ini", + "AutoMap": true, + "ConfigType": "ini", + "ConfigFormatRegex": "^(?.+?)=(?.*?)$" + } +] \ No newline at end of file From fa0c719a1ed77d5cb85eec4728f44e3813620b8d Mon Sep 17 00:00:00 2001 From: James Manker Date: Sat, 12 Feb 2022 02:38:27 -0600 Subject: [PATCH 03/12] Add config template @Greelan added update stages and adminpassword settings. --- conan-exiles.kvp | 4 +- conan-exilesconfig.json | 5 +- conan-exilesconfigsettings.ini | 203 +++++++++++++++++++++++++++++++++ 3 files changed, 208 insertions(+), 4 deletions(-) create mode 100644 conan-exilesconfigsettings.ini diff --git a/conan-exiles.kvp b/conan-exiles.kvp index cbf487a..11aeb15 100644 --- a/conan-exiles.kvp +++ b/conan-exiles.kvp @@ -22,7 +22,7 @@ App.ExecutableLinux=1580130/proton App.WorkingDir=443030/ConanSandbox/Binaries/Win64 App.LinuxCommandLineArgs=run ./ConanSandboxServer-Win64-Test.exe App.WindowsCommandLineArgs= -App.CommandLineArgs={{$PlatformArgs}} -log -ServerName="{{ServerName}}" -RconEnabled=1 -RconPassword="{{$RemoteAdminPassword}}" -AdminPassword="{{AdminPassword}}" {{$FormattedArgs}} +App.CommandLineArgs={{$PlatformArgs}} -log -ServerName="{{ServerName}}" -RconEnabled=1 -RconPassword="{{$RemoteAdminPassword}}" {{$FormattedArgs}} App.AppSettings={} App.EnvironmentVariables={"LD_LIBRARY_PATH":"./linux64:%LD_LIBRARY_PATH%","SteamAppId":"440900","STEAM_COMPAT_DATA_PATH":"{{$FullRootDir}}1580130","STEAM_COMPAT_CLIENT_INSTALL_PATH":"{{$FullRootDir}}1580130","ENABLE_VKBASALT":"1"} App.CommandLineParameterFormat=-{0}={1} @@ -47,7 +47,7 @@ App.AdminMethod=SourceRCON App.AdminLoginTransform=None App.RCONConnectDelaySeconds=5 App.RCONConnectRetrySeconds=5 -App.UpdateSources=[{"UpdateStageName":"SteamCMD and Conan Exiles Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"443030","ForceDownloadPlatform":"Windows"},{"UpdateStageName":"Proton Compatibility Layer","UpdateSourcePlatform":"Linux","UpdateSource":"SteamCMD","UpdateSourceData":"1580130"}] +App.UpdateSources=[{"UpdateStageName":"SteamCMD and Conan Exiles Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"443030","ForceDownloadPlatform":"Windows"},{"UpdateStageName":"Proton Compatibility Layer","UpdateSourcePlatform":"Linux","UpdateSource":"SteamCMD","UpdateSourceData":"1580130"},{"UpdateStageName":"ServerSettings File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/IceOfWraith/AMPTemplates/conan/conan-exilesconfigsettings.ini","UpdateSourceTarget":"../","OverwriteExistingFiles":true},{"UpdateStageName":"Config Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"/conan-exiles/443030/ConanSandbox/Saved/Config/WindowsServer","OverwriteExistingFiles":false},{"UpdateStageName":"ServerSettings File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./conan-exiles/443030/ConanSandbox/Saved/Config/WindowsServer/ServerSettings.ini","UpdateSourceArgs":"./conan-exilesconfigsettings.ini","OverwriteExistingFiles":false}] App.Compatibility=None App.SteamUpdateAnonymousLogin=True App.SteamForceLoginPrompt=False diff --git a/conan-exilesconfig.json b/conan-exilesconfig.json index ceb4a4a..2ba0346 100644 --- a/conan-exilesconfig.json +++ b/conan-exilesconfig.json @@ -78,14 +78,15 @@ { "DisplayName":"Admin Password", "Category":"Server Settings", - "Description":"In-game \"admin\" user password (not the server password). NOTE: You must set this to allow use of the in-game admin panel", + "Description":"In-game \"admin\" user password (not the server password). NOTE: You must set this to allow use of the in-game admin panel. Change this after installing the server!", "Keywords":"admin,password", "FieldName":"AdminPassword", "InputType":"RandomPassword", "IsFlagArgument":false, "ParamFieldName":"AdminPassword", "IncludeInCommandLine":false, - "DefaultValue":"" + "DefaultValue":"Password123", + "Required":true }, { "DisplayName":"RCON Password", diff --git a/conan-exilesconfigsettings.ini b/conan-exilesconfigsettings.ini new file mode 100644 index 0000000..514971a --- /dev/null +++ b/conan-exilesconfigsettings.ini @@ -0,0 +1,203 @@ +[ServerSettings] +NPCMindReadingMode=0 +MaxNudity=0 +ServerCommunity=0 +ConfigVersion=10 +BlueprintConfigVersion=24 +PurgeNPCBuildingDamageMultiplier=(5.000000,5.000000,10.000000,15.000000,20.000000,25.000000) +BuildingPVPWhitelist=("80901","80111","80112","80915","80912") +PlayerKnockbackMultiplier=1.000000 +NPCKnockbackMultiplier=1.000000 +StructureDamageMultiplier=1.000000 +StructureHealthMultiplier=1.000000 +NPCRespawnMultiplier=1.000000 +NPCHealthMultiplier=1.000000 +PlayerDamageMultiplier=1.000000 +PlayerDamageTakenMultiplier=1.000000 +MinionDamageMultiplier=1.000000 +MinionDamageTakenMultiplier=1.000000 +NPCDamageMultiplier=1.000000 +NPCDamageTakenMultiplier=1.000000 +PlayerEncumbranceMultiplier=1.000000 +PlayerEncumbrancePenaltyMultiplier=1.000000 +PlayerMovementSpeedScale=1.000000 +PlayerStaminaCostSprintMultiplier=1.000000 +PlayerSprintSpeedScale=1.000000 +PlayerStaminaCostMultiplier=1.000000 +PlayerHealthRegenSpeedScale=1.000000 +PlayerXPRateMultiplier=1.000000 +PlayerXPKillMultiplier=1.000000 +PlayerXPHarvestMultiplier=1.000000 +PlayerXPCraftMultiplier=1.000000 +PlayerXPTimeMultiplier=1.000000 +DogsOfTheDesertSpawnWithDogs=False +CrossDesertOnce=True +ThrallExclusionRadius=500.000000 +MaxAggroRange=9000.000000 +FriendlyFireDamageMultiplier=0.250000 +CampsIgnoreLandclaim=True +AvatarDomeDurationMultiplier=1.000000 +AvatarDomeDamageMultiplier=1.000000 +NPCMaxSpawnCapMultiplier=1.000000 +serverRegion=0 +PVPEnabled=False +RestrictPVPTime=False +RestrictPVPBuildingDamageTime=False +PVPTimeMondayStart=0 +PVPTimeTuesdayStart=0 +PVPTimeWednesdayStart=0 +PVPTimeThursdayStart=0 +PVPTimeFridayStart=0 +PVPTimeSaturdayStart=0 +PVPTimeSundayStart=0 +PVPTimeMondayEnd=0 +PVPTimeTuesdayEnd=0 +PVPTimeWednesdayEnd=0 +PVPTimeThursdayEnd=0 +PVPTimeFridayEnd=0 +PVPTimeSaturdayEnd=0 +PVPTimeSundayEnd=0 +PVPEnabledMonday=False +PVPEnabledTuesday=False +PVPEnabledWednesday=False +PVPEnabledThursday=False +PVPEnabledFriday=False +PVPEnabledSaturday=False +PVPEnabledSunday=False +PVPBuildingDamageTimeMondayStart=0 +PVPBuildingDamageTimeTuesdayStart=0 +PVPBuildingDamageTimeWednesdayStart=0 +PVPBuildingDamageTimeThursdayStart=0 +PVPBuildingDamageTimeFridayStart=0 +PVPBuildingDamageTimeSaturdayStart=0 +PVPBuildingDamageTimeSundayStart=0 +PVPBuildingDamageTimeMondayEnd=0 +PVPBuildingDamageTimeTuesdayEnd=0 +PVPBuildingDamageTimeWednesdayEnd=0 +PVPBuildingDamageTimeThursdayEnd=0 +PVPBuildingDamageTimeFridayEnd=0 +PVPBuildingDamageTimeSaturdayEnd=0 +PVPBuildingDamageTimeSundayEnd=0 +PVPBuildingDamageEnabledMonday=False +PVPBuildingDamageEnabledTuesday=False +PVPBuildingDamageEnabledWednesday=False +PVPBuildingDamageEnabledThursday=False +PVPBuildingDamageEnabledFriday=False +PVPBuildingDamageEnabledSaturday=False +PVPBuildingDamageEnabledSunday=False +DisableBuildingDuringTimeRestrictedPVP=False +VocalVisibilityDurationInMinutes=5 +CombatModeModifier=0 +ContainersIgnoreOwnership=True +LandClaimRadiusMultiplier=1.000000 +DisableLandclaimNotifications=True +BuildingPreloadRadius=80.000000 +CanDamagePlayerOwnedStructures=False +DynamicBuildingDamage=False +DynamicBuildingDamagePeriod=1800 +ServerPassword= +ServerMessageOfTheDay= +KickAFKPercentage=80 +KickAFKTime=2700 +OfflinePlayersUnconsciousBodiesHours=168 +CorpsesPerPlayer=10 +PlayerCorpseLifeTime=1800.000000 +NPCCorpseLifeTime=600.000000 +ItemConvertionMultiplier=1.000000 +ThrallConversionMultiplier=1.000000 +FuelBurnTimeMultiplier=1.000000 +CraftingCostMultiplier=1.000000 +StaminaRegenerationTime=3.750000 +StaminaExhaustionTime=3.750000 +StaminaStaticRegenRateMultiplier=1.000000 +StaminaMovingRegenRateMultiplier=1.000000 +PlayerStaminaRegenSpeedScale=1.000000 +StaminaOnConsumeRegenPause=1.500000 +StaminaOnExhaustionRegenPause=2.750000 +ThrallScoutingTimeMinutes=10.000000 +ThrallMinDistanceAwayFromHome=5000.000000 +ThrallTeleportingCooldown=10.000000 +MinionPopulationBaseValue=50 +MinionPopulationPerPlayer=5 +MinionOverpopulationCleanup=60 +MinionOverpopulationAllowed=10 +UseMinionPopulationLimit=False +EnableFollowerRescueOnLandClaimOnly=True +EnableFollowerRescueInBuildExclusionZone=False +FollowerRescueCooldown=3600 +DamageCooldownBeforeRescue=600 +ThrallCorruptionRemovalMultiplier=1.000000 +PlayerCorruptionGainMultiplier=1.000000 +AnimalPenCraftingTimeMultiplier=1.000000 +FeedBoxRangeMultiplier=1.000000 +BuildingDamageMultiplier=1.000000 +PathFollowingSendsAngularVelocity=False +UnconsciousTimeSeconds=1800.000000 +ConciousnessDamageMultiplier=1.000000 +ThrallDamageToPlayersMultiplier=1.000000 +MaxBuildingDecayTime=1296000.000000 +MaxDecayTimeToAutoDemolish=604800.000000 +ThrallDecayTime=1296000.000000 +DisableThrallDecay=False +BuildingDecayTimePerScore=5400.000000 +BuildingDecayTimeMultiplier=1.000000 +DecayCleanupTimeMultiplier=2.000000 +DecayBonusTimeRate=600.000000 +DecayShowBuildingScore=False +EnableAutoFacingOnAttack=True +EnableTargetLock=True +CachedLandClaimRadiusMultiplier=1.000000 +ValidatePhysNavWalkWithRaycast=True +LocalNavMeshVisualizationFrequency=-1.000000 +LocalLandClaimVisualizationFrequency=-1.000000 +LocalLandClaimVisualizationRadius=3000 +LocalLandClaimVisualizationChannel=0 +UseLocalQuadraticAngularVelocityPrediction=False +LQAVPUseTime=0.150000 +LQAVPFadeTime=0.100000 +LQAVPMethod=2 +NetworkSimulatedSmoothRotationTimeWithLQAVP=0.100000 +EnableClanMarkers=True +ValidatePlayerStats=False +AllowedTimeUndermesh=-1.000000 +AllowedDistanceUndermeshSquared=490000.000000 +CapCharacterLayoutScalarParams=False +EventLogCauserPrivacy=1 +serverVoiceChat=1 +AvatarsDisabled=False +RestrictAvatarSummoningTime=False +AvatarSummoningTimeWeekdayStart=0 +AvatarSummoningTimeWeekdayEnd=0 +AvatarSummoningTimeWeekendStart=0 +AvatarSummoningTimeWeekendEnd=0 +AvatarLifetime=60.000000 +AvatarSummonTime=60.000000 +MaxDeathMapMarkers=3 +IsBattlEyeEnabled=False +IsVACEnabled=True +CanImportDirectlyFromSameServer=False +ServerTransferServersWhitelist= +MaxAllowedPing=0 +AllowFamilySharedAccount=True +RegionAllowAfrica=True +RegionAllowAsia=True +RegionAllowCentralEurope=True +RegionAllowEasternEurope=True +RegionAllowWesternEurope=True +RegionAllowNorthAmerica=True +RegionAllowOceania=True +RegionAllowSouthAmerica=True +RegionBlockList= +ServerModList= +InitialPurgeDelay=15.000000 +BuildingPickupEnabled=True +PoiProtectionEnabled=False +EventSystemEnabled=True +ServerMergeOutgoingTime=0 +ServerMergeDestination= +DisableChatFormatting=False +EnableLoginQueue=True +DisconnectionGraceTime=180 +bCanBeDamaged=True +AdminPassword=Password123 + From 86a19dd796a862573851a1cc717c419007fc2101 Mon Sep 17 00:00:00 2001 From: James Manker Date: Sat, 12 Feb 2022 02:55:27 -0600 Subject: [PATCH 04/12] . . --- conan-exiles.kvp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conan-exiles.kvp b/conan-exiles.kvp index 11aeb15..e3c8b87 100644 --- a/conan-exiles.kvp +++ b/conan-exiles.kvp @@ -47,7 +47,7 @@ App.AdminMethod=SourceRCON App.AdminLoginTransform=None App.RCONConnectDelaySeconds=5 App.RCONConnectRetrySeconds=5 -App.UpdateSources=[{"UpdateStageName":"SteamCMD and Conan Exiles Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"443030","ForceDownloadPlatform":"Windows"},{"UpdateStageName":"Proton Compatibility Layer","UpdateSourcePlatform":"Linux","UpdateSource":"SteamCMD","UpdateSourceData":"1580130"},{"UpdateStageName":"ServerSettings File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/IceOfWraith/AMPTemplates/conan/conan-exilesconfigsettings.ini","UpdateSourceTarget":"../","OverwriteExistingFiles":true},{"UpdateStageName":"Config Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"/conan-exiles/443030/ConanSandbox/Saved/Config/WindowsServer","OverwriteExistingFiles":false},{"UpdateStageName":"ServerSettings File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./conan-exiles/443030/ConanSandbox/Saved/Config/WindowsServer/ServerSettings.ini","UpdateSourceArgs":"./conan-exilesconfigsettings.ini","OverwriteExistingFiles":false}] +App.UpdateSources=[{"UpdateStageName":"SteamCMD and Conan Exiles Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"443030","ForceDownloadPlatform":"Windows"},{"UpdateStageName":"Proton Compatibility Layer","UpdateSourcePlatform":"Linux","UpdateSource":"SteamCMD","UpdateSourceData":"1580130"},{"UpdateStageName":"ServerSettings File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/IceOfWraith/AMPTemplates/conan/conan-exilesconfigsettings.ini","UpdateSourceTarget":"../","OverwriteExistingFiles":true},{"UpdateStageName":"Config Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./conan-exiles/443030/ConanSandbox/Saved/Config/WindowsServer","OverwriteExistingFiles":false},{"UpdateStageName":"ServerSettings File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./conan-exiles/443030/ConanSandbox/Saved/Config/WindowsServer/ServerSettings.ini","UpdateSourceArgs":"./conan-exilesconfigsettings.ini","OverwriteExistingFiles":false}] App.Compatibility=None App.SteamUpdateAnonymousLogin=True App.SteamForceLoginPrompt=False From af7275b250950286488f4db1a7390acf84184e6d Mon Sep 17 00:00:00 2001 From: James Manker Date: Sat, 12 Feb 2022 03:05:24 -0600 Subject: [PATCH 05/12] Fix for configmanifest.json Fix for configmanifest.json --- conan-exilesconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conan-exilesconfig.json b/conan-exilesconfig.json index 2ba0346..06c471c 100644 --- a/conan-exilesconfig.json +++ b/conan-exilesconfig.json @@ -83,7 +83,7 @@ "FieldName":"AdminPassword", "InputType":"RandomPassword", "IsFlagArgument":false, - "ParamFieldName":"AdminPassword", + "ParamFieldName":"ServerSettings.AdminPassword", "IncludeInCommandLine":false, "DefaultValue":"Password123", "Required":true From bc8b9c0b45a774914fff245fecabdb6189ec0e18 Mon Sep 17 00:00:00 2001 From: James Manker Date: Sat, 12 Feb 2022 04:01:03 -0600 Subject: [PATCH 06/12] Added Proton Requires xvfb to run. --- conan-exiles.kvp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conan-exiles.kvp b/conan-exiles.kvp index e3c8b87..9544e0f 100644 --- a/conan-exiles.kvp +++ b/conan-exiles.kvp @@ -18,13 +18,13 @@ App.DisplayName=Conan Exiles App.RootDir=./conan-exiles/ App.BaseDirectory=./conan-exiles/443030/ App.ExecutableWin=443030\ConanSandbox\Binaries\Win64\ConanSandboxServer-Win64-Test.exe -App.ExecutableLinux=1580130/proton +App.ExecutableLinux=/usr/bin/xvfb-run App.WorkingDir=443030/ConanSandbox/Binaries/Win64 -App.LinuxCommandLineArgs=run ./ConanSandboxServer-Win64-Test.exe +App.LinuxCommandLineArgs=-a "{{$FullRootDir}}1580130/proton" run "./ConanSandboxServer-Win64-Test.exe" App.WindowsCommandLineArgs= App.CommandLineArgs={{$PlatformArgs}} -log -ServerName="{{ServerName}}" -RconEnabled=1 -RconPassword="{{$RemoteAdminPassword}}" {{$FormattedArgs}} App.AppSettings={} -App.EnvironmentVariables={"LD_LIBRARY_PATH":"./linux64:%LD_LIBRARY_PATH%","SteamAppId":"440900","STEAM_COMPAT_DATA_PATH":"{{$FullRootDir}}1580130","STEAM_COMPAT_CLIENT_INSTALL_PATH":"{{$FullRootDir}}1580130","ENABLE_VKBASALT":"1"} +App.EnvironmentVariables={"LD_LIBRARY_PATH":"./linux64:%LD_LIBRARY_PATH%","SteamAppId":"440900","STEAM_COMPAT_DATA_PATH":"{{$FullRootDir}}1580130","STEAM_COMPAT_CLIENT_INSTALL_PATH":"{{$FullRootDir}}1580130"} App.CommandLineParameterFormat=-{0}={1} App.CommandLineParameterDelimiter= App.ExitMethod=String @@ -47,7 +47,7 @@ App.AdminMethod=SourceRCON App.AdminLoginTransform=None App.RCONConnectDelaySeconds=5 App.RCONConnectRetrySeconds=5 -App.UpdateSources=[{"UpdateStageName":"SteamCMD and Conan Exiles Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"443030","ForceDownloadPlatform":"Windows"},{"UpdateStageName":"Proton Compatibility Layer","UpdateSourcePlatform":"Linux","UpdateSource":"SteamCMD","UpdateSourceData":"1580130"},{"UpdateStageName":"ServerSettings File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/IceOfWraith/AMPTemplates/conan/conan-exilesconfigsettings.ini","UpdateSourceTarget":"../","OverwriteExistingFiles":true},{"UpdateStageName":"Config Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./conan-exiles/443030/ConanSandbox/Saved/Config/WindowsServer","OverwriteExistingFiles":false},{"UpdateStageName":"ServerSettings File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./conan-exiles/443030/ConanSandbox/Saved/Config/WindowsServer/ServerSettings.ini","UpdateSourceArgs":"./conan-exilesconfigsettings.ini","OverwriteExistingFiles":false}] +App.UpdateSources=[{"UpdateStageName":"SteamCMD and Conan Exiles Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"443030","ForceDownloadPlatform":"Windows"},{"UpdateStageName":"Proton Compatibility Layer","UpdateSourcePlatform":"Linux","UpdateSource":"SteamCMD","UpdateSourceData":"1580130"},{"UpdateStageName":"ServerSettings File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/conan-exilesconfigsettings.ini","UpdateSourceTarget":"../","OverwriteExistingFiles":true},{"UpdateStageName":"Config Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./conan-exiles/443030/ConanSandbox/Saved/Config/WindowsServer","OverwriteExistingFiles":false},{"UpdateStageName":"ServerSettings File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./conan-exiles/443030/ConanSandbox/Saved/Config/WindowsServer/ServerSettings.ini","UpdateSourceArgs":"./conan-exilesconfigsettings.ini","OverwriteExistingFiles":false}] App.Compatibility=None App.SteamUpdateAnonymousLogin=True App.SteamForceLoginPrompt=False From 366ae594213ec860918a7b1b6c3919d630ce90e8 Mon Sep 17 00:00:00 2001 From: James Manker Date: Sun, 3 Apr 2022 22:19:28 -0500 Subject: [PATCH 07/12] Added Map and Various Adjustments Updated the command line args due to formatting issues with the game, added Server Password to the command line since it goes in the Engine.ini and is not a line included by default. Disabled RCON for now due to the bug with AMP disconnecting after some time. The server works fine with regular console but will not accept input. --- conan-exiles.kvp | 34 ++++++++-------- conan-exilesconfig.json | 80 +++++++++++++++++-------------------- conan-exilesmetaconfig.json | 2 +- 3 files changed, 55 insertions(+), 61 deletions(-) diff --git a/conan-exiles.kvp b/conan-exiles.kvp index 9544e0f..8ed276f 100644 --- a/conan-exiles.kvp +++ b/conan-exiles.kvp @@ -2,15 +2,16 @@ Meta.DisplayName=Conan Exiles Meta.Description=Conan Exiles Dedicated Server Meta.OS=Windows, Linux Meta.Arch=x86_64 -Meta.Author=IceOfWraith, Greelan, eNcrypt +Meta.Author=Greelan, IceOfWraith, eNcrypt Meta.URL=https://store.steampowered.com/app/440900/Conan_Exiles/ Meta.DisplayImageSource=steam:440900 Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort3} Meta.ConfigManifest=conan-exilesconfig.json Meta.MetaConfigManifest=conan-exilesmetaconfig.json Meta.ConfigRoot=conan-exiles.kvp -Meta.MinAMPVersion=2.3.2.0 +Meta.MinAMPVersion=2.3.2.8 Meta.SpecificDockerImage= +Meta.DockerRequired=False Meta.ContainerPolicy=Supported Meta.Prerequsites=[] Meta.ConfigReleaseState=NotSpecified @@ -20,14 +21,14 @@ App.BaseDirectory=./conan-exiles/443030/ App.ExecutableWin=443030\ConanSandbox\Binaries\Win64\ConanSandboxServer-Win64-Test.exe App.ExecutableLinux=/usr/bin/xvfb-run App.WorkingDir=443030/ConanSandbox/Binaries/Win64 -App.LinuxCommandLineArgs=-a "{{$FullRootDir}}1580130/proton" run "./ConanSandboxServer-Win64-Test.exe" +App.LinuxCommandLineArgs=-a "{{$FullRootDir}}1493710/proton" run "./ConanSandboxServer-Win64-Test.exe" App.WindowsCommandLineArgs= -App.CommandLineArgs={{$PlatformArgs}} -log -ServerName="{{ServerName}}" -RconEnabled=1 -RconPassword="{{$RemoteAdminPassword}}" {{$FormattedArgs}} +App.CommandLineArgs={{$PlatformArgs}} {{Map}}{{CustomMap}} -log -Port={{$ApplicationPort1}} RconPort={{$RemoteAdminPort}} -RconEnabled=1 -RconPassword="{{$RemoteAdminPassword}}" -MaxPlayers={{$MaxUsers}} {{$FormattedArgs}} App.AppSettings={} -App.EnvironmentVariables={"LD_LIBRARY_PATH":"./linux64:%LD_LIBRARY_PATH%","SteamAppId":"440900","STEAM_COMPAT_DATA_PATH":"{{$FullRootDir}}1580130","STEAM_COMPAT_CLIENT_INSTALL_PATH":"{{$FullRootDir}}1580130"} -App.CommandLineParameterFormat=-{0}={1} +App.EnvironmentVariables={"LD_LIBRARY_PATH":"./linux64:%LD_LIBRARY_PATH%","SteamAppId":"440900","STEAM_COMPAT_DATA_PATH":"{{$FullRootDir}}1493710","STEAM_COMPAT_CLIENT_INSTALL_PATH":"{{$FullRootDir}}1493710"} +App.CommandLineParameterFormat=-{0}="{1}" App.CommandLineParameterDelimiter= -App.ExitMethod=String +App.ExitMethod=OS_CLOSE App.ExitTimeout=30 App.ExitString=exit App.ExitFile=app_exit.lck @@ -43,18 +44,19 @@ App.RemoteAdminPort=25575 App.MaxUsers=40 App.UseRandomAdminPassword=False App.RemoteAdminPassword=Password123 -App.AdminMethod=SourceRCON +App.AdminMethod=STDIO App.AdminLoginTransform=None App.RCONConnectDelaySeconds=5 App.RCONConnectRetrySeconds=5 -App.UpdateSources=[{"UpdateStageName":"SteamCMD and Conan Exiles Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"443030","ForceDownloadPlatform":"Windows"},{"UpdateStageName":"Proton Compatibility Layer","UpdateSourcePlatform":"Linux","UpdateSource":"SteamCMD","UpdateSourceData":"1580130"},{"UpdateStageName":"ServerSettings File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/conan-exilesconfigsettings.ini","UpdateSourceTarget":"../","OverwriteExistingFiles":true},{"UpdateStageName":"Config Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./conan-exiles/443030/ConanSandbox/Saved/Config/WindowsServer","OverwriteExistingFiles":false},{"UpdateStageName":"ServerSettings File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./conan-exiles/443030/ConanSandbox/Saved/Config/WindowsServer/ServerSettings.ini","UpdateSourceArgs":"./conan-exilesconfigsettings.ini","OverwriteExistingFiles":false}] +App.TelnetLoginFormat={0} +App.UpdateSources=[{"UpdateStageName":"SteamCMD and Conan Exiles Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"443030","ForceDownloadPlatform":"Windows"},{"UpdateStageName":"Proton Compatibility Layer","UpdateSourcePlatform":"Linux","UpdateSource":"SteamCMD","UpdateSourceData":"1493710"},{"UpdateStageName":"ServerSettings File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/conan-exilesconfigsettings.ini","UpdateSourceTarget":"../","OverwriteExistingFiles":true},{"UpdateStageName":"Config Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./conan-exiles/443030/ConanSandbox/Saved/Config/WindowsServer","OverwriteExistingFiles":false},{"UpdateStageName":"ServerSettings File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./conan-exiles/443030/ConanSandbox/Saved/Config/WindowsServer/ServerSettings.ini","UpdateSourceArgs":"./conan-exilesconfigsettings.ini","OverwriteExistingFiles":false}] App.Compatibility=None App.SteamUpdateAnonymousLogin=True App.SteamForceLoginPrompt=False App.RapidStartup=False -App.SupportsUniversalSleep=False -App.UniversalSleepApplicationUDPPort=27015 -App.UniversalSleepSteamQueryPort=27016 +App.SupportsUniversalSleep=True +App.UniversalSleepApplicationUDPPort=1 +App.UniversalSleepSteamQueryPort=3 App.WakeupMode=Any App.ApplicationReadyMode=RegexMatch App.TemplateMatchRegex={{(\$?[\w]+)}} @@ -62,14 +64,14 @@ Console.FilterMatchRegex= Console.FilterMatchReplacement= Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ Console.AppReadyRegex=^LogGameMode:Display: Match State Changed from WaitingToStart to InProgress$ -Console.UserJoinRegex=^User (?.+?) \((?-?d+)\) connected from \[::ffff:(?.+?)\]$ -Console.UserLeaveRegex=^User (?.+?) \((?-?d+)\) disconnected\. Reason: (.+?)$ -Console.UserChatRegex=^(?.+?): (?.+)$ +Console.UserJoinRegex= +Console.UserLeaveRegex= +Console.UserChatRegex= Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$ Console.SuppressLogAtStart=False Console.ActivateLogRegex= Console.UserActions={} -Limits.SleepMode=True +Limits.SleepMode=False Limits.SleepOnStart=False Limits.SleepDelayMinutes=5 Limits.DozeDelay=2 diff --git a/conan-exilesconfig.json b/conan-exilesconfig.json index 06c471c..ea6a429 100644 --- a/conan-exilesconfig.json +++ b/conan-exilesconfig.json @@ -1,43 +1,4 @@ [ - { - "DisplayName":"Game Port", - "Category":"Server Settings", - "Description":"", - "Keywords":"", - "FieldName":"$ApplicationPort1", - "InputType":"number", - "IsFlagArgument":false, - "Hidden":true, - "ParamFieldName":"Port", - "IncludeInCommandLine":true, - "DefaultValue":"7777" - }, - { - "DisplayName":"Query Port", - "Category":"Server Settings", - "Description":"", - "Keywords":"", - "FieldName":"$ApplicationPort3", - "InputType":"number", - "IsFlagArgument":false, - "Hidden":true, - "ParamFieldName":"QueryPort", - "IncludeInCommandLine":true, - "DefaultValue":"27015" - }, - { - "DisplayName":"RCON Port", - "Category":"Server Settings", - "Description":"", - "Keywords":"", - "FieldName":"$RemoteAdminPort", - "InputType":"number", - "IsFlagArgument":false, - "Hidden":true, - "ParamFieldName":"RconPort", - "IncludeInCommandLine":true, - "DefaultValue":"25575" - }, { "DisplayName":"Server Name", "Category":"Server Settings", @@ -47,9 +8,39 @@ "InputType":"text", "IsFlagArgument":false, "ParamFieldName":"ServerName", - "IncludeInCommandLine":false, + "IncludeInCommandLine":true, "DefaultValue":"Conan Exiles Server - Powered by AMP" }, + { + "DisplayName":"Map", + "Category":"Server Settings", + "Description":"Sets the map to load on startup", + "Keywords":"map", + "FieldName":"Map", + "InputType":"enum", + "IsFlagArgument":false, + "ParamFieldName":"Map", + "IncludeInCommandLine":false, + "DefaultValue":"/Game/Maps/ConanSandbox/ConanSandbox", + "EnumValues":{ + "":"Custom", + "/Game/Maps/ConanSandbox/ConanSandbox":"Exiled Lands", + "/Game/DLC_EXT/DLC_Siptah/Maps/DLC_Isle_of_Siptah":"Isle of Siptah" + } + }, + { + "DisplayName":"Custom Map", + "Category":"Server Settings", + "Description":"If using a custom map, enter it here. Choose Custom from the Map option.", + "Keywords":"custom,map", + "FieldName":"CustomMap", + "InputType":"text", + "IsFlagArgument":false, + "ParamFieldName":"CustomMap", + "IncludeInCommandLine":false, + "DefaultValue":"", + "Placeholder":"/Game/Mods/Savage_Wilds/Savage_Wilds" + }, { "DisplayName":"Player Limit", "Category":"Server Settings", @@ -59,7 +50,7 @@ "InputType":"number", "IsFlagArgument":false, "ParamFieldName":"MaxPlayers", - "IncludeInCommandLine":true, + "IncludeInCommandLine":false, "DefaultValue":"40", "Suffix":"players" }, @@ -71,9 +62,10 @@ "FieldName":"ServerPassword", "InputType":"password", "IsFlagArgument":false, - "ParamFieldName":"ServerSettings.ServerPassword", - "IncludeInCommandLine":false, - "DefaultValue":"" + "ParamFieldName":"ServerPassword", + "IncludeInCommandLine":true, + "DefaultValue":"", + "SkipIfEmpty": true }, { "DisplayName":"Admin Password", diff --git a/conan-exilesmetaconfig.json b/conan-exilesmetaconfig.json index 3c7f6f9..b671c20 100644 --- a/conan-exilesmetaconfig.json +++ b/conan-exilesmetaconfig.json @@ -5,4 +5,4 @@ "ConfigType": "ini", "ConfigFormatRegex": "^(?.+?)=(?.*?)$" } -] \ No newline at end of file +] \ No newline at end of file From c8df970a0f8781649de233f7aafe231cabd234be Mon Sep 17 00:00:00 2001 From: James Manker Date: Fri, 29 Apr 2022 11:35:08 -0500 Subject: [PATCH 08/12] Fixed QueryPort and EnumValues blanks I somehow removed the QueryPort through all the changes with the command line args. It's back now. Also added default blank values for EnumValues to avoid any possible issues. --- conan-exiles.kvp | 2 +- conan-exilesconfig.json | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/conan-exiles.kvp b/conan-exiles.kvp index 8ed276f..3c6014b 100644 --- a/conan-exiles.kvp +++ b/conan-exiles.kvp @@ -23,7 +23,7 @@ App.ExecutableLinux=/usr/bin/xvfb-run App.WorkingDir=443030/ConanSandbox/Binaries/Win64 App.LinuxCommandLineArgs=-a "{{$FullRootDir}}1493710/proton" run "./ConanSandboxServer-Win64-Test.exe" App.WindowsCommandLineArgs= -App.CommandLineArgs={{$PlatformArgs}} {{Map}}{{CustomMap}} -log -Port={{$ApplicationPort1}} RconPort={{$RemoteAdminPort}} -RconEnabled=1 -RconPassword="{{$RemoteAdminPassword}}" -MaxPlayers={{$MaxUsers}} {{$FormattedArgs}} +App.CommandLineArgs={{$PlatformArgs}} {{Map}}{{CustomMap}} -log -Port={{$ApplicationPort1}} -QueryPort={{$ApplicationPort3}} -RconPort={{$RemoteAdminPort}} -RconEnabled=1 -RconPassword="{{$RemoteAdminPassword}}" -MaxPlayers={{$MaxUsers}} {{$FormattedArgs}} App.AppSettings={} App.EnvironmentVariables={"LD_LIBRARY_PATH":"./linux64:%LD_LIBRARY_PATH%","SteamAppId":"440900","STEAM_COMPAT_DATA_PATH":"{{$FullRootDir}}1493710","STEAM_COMPAT_CLIENT_INSTALL_PATH":"{{$FullRootDir}}1493710"} App.CommandLineParameterFormat=-{0}="{1}" diff --git a/conan-exilesconfig.json b/conan-exilesconfig.json index ea6a429..9f83350 100644 --- a/conan-exilesconfig.json +++ b/conan-exilesconfig.json @@ -9,7 +9,8 @@ "IsFlagArgument":false, "ParamFieldName":"ServerName", "IncludeInCommandLine":true, - "DefaultValue":"Conan Exiles Server - Powered by AMP" + "DefaultValue":"Conan Exiles Server - Powered by AMP", + "EnumValues":{} }, { "DisplayName":"Map", @@ -39,7 +40,8 @@ "ParamFieldName":"CustomMap", "IncludeInCommandLine":false, "DefaultValue":"", - "Placeholder":"/Game/Mods/Savage_Wilds/Savage_Wilds" + "Placeholder":"/Game/Mods/Savage_Wilds/Savage_Wilds", + "EnumValues":{} }, { "DisplayName":"Player Limit", @@ -52,7 +54,8 @@ "ParamFieldName":"MaxPlayers", "IncludeInCommandLine":false, "DefaultValue":"40", - "Suffix":"players" + "Suffix":"players", + "EnumValues":{} }, { "DisplayName":"Server Password", @@ -65,7 +68,8 @@ "ParamFieldName":"ServerPassword", "IncludeInCommandLine":true, "DefaultValue":"", - "SkipIfEmpty": true + "SkipIfEmpty": true, + "EnumValues":{} }, { "DisplayName":"Admin Password", @@ -78,7 +82,8 @@ "ParamFieldName":"ServerSettings.AdminPassword", "IncludeInCommandLine":false, "DefaultValue":"Password123", - "Required":true + "Required":true, + "EnumValues":{} }, { "DisplayName":"RCON Password", @@ -90,7 +95,8 @@ "IsFlagArgument":false, "ParamFieldName":"RconPassword", "IncludeInCommandLine":false, - "DefaultValue":"Password123" + "DefaultValue":"Password123", + "EnumValues":{} }, { "DisplayName":"Server Region", From 9cad79c948e5179e4a96bb74d8b51181d3a6d0c3 Mon Sep 17 00:00:00 2001 From: James Manker Date: Fri, 29 Apr 2022 11:38:57 -0500 Subject: [PATCH 09/12] As requested by Greelan Putting my name first. --- conan-exiles.kvp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conan-exiles.kvp b/conan-exiles.kvp index 3c6014b..6de5668 100644 --- a/conan-exiles.kvp +++ b/conan-exiles.kvp @@ -2,7 +2,7 @@ Meta.DisplayName=Conan Exiles Meta.Description=Conan Exiles Dedicated Server Meta.OS=Windows, Linux Meta.Arch=x86_64 -Meta.Author=Greelan, IceOfWraith, eNcrypt +Meta.Author=IceOfWraith, Greelan, eNcrypt Meta.URL=https://store.steampowered.com/app/440900/Conan_Exiles/ Meta.DisplayImageSource=steam:440900 Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort3} From b417df11b6d206d287280062ad54af9e53e8b57c Mon Sep 17 00:00:00 2001 From: James Manker Date: Sat, 7 May 2022 17:13:41 -0500 Subject: [PATCH 10/12] Update Conan Config Corrected multiple suggested fixed with the config. --- conan-exiles.kvp | 9 +++-- conan-exilesconfig.json | 73 +++++++++++++++++++++++++++++++------ conan-exilesmetaconfig.json | 10 +++++ 3 files changed, 77 insertions(+), 15 deletions(-) diff --git a/conan-exiles.kvp b/conan-exiles.kvp index 6de5668..86b5b11 100644 --- a/conan-exiles.kvp +++ b/conan-exiles.kvp @@ -42,9 +42,9 @@ App.ApplicationPort2=7778 App.ApplicationPort3=27015 App.RemoteAdminPort=25575 App.MaxUsers=40 -App.UseRandomAdminPassword=False -App.RemoteAdminPassword=Password123 -App.AdminMethod=STDIO +App.UseRandomAdminPassword=True +App.RemoteAdminPassword=eb556e2744554cb8a161246ef8a82b8e +App.AdminMethod=SourceRCON App.AdminLoginTransform=None App.RCONConnectDelaySeconds=5 App.RCONConnectRetrySeconds=5 @@ -71,8 +71,9 @@ Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is Console.SuppressLogAtStart=False Console.ActivateLogRegex= Console.UserActions={} -Limits.SleepMode=False +Limits.SleepMode=True Limits.SleepOnStart=False Limits.SleepDelayMinutes=5 Limits.DozeDelay=2 Limits.AutoRetryCount=5 +Limits.SleepStartThresholdSeconds=60 \ No newline at end of file diff --git a/conan-exilesconfig.json b/conan-exilesconfig.json index 9f83350..7f399ad 100644 --- a/conan-exilesconfig.json +++ b/conan-exilesconfig.json @@ -1,8 +1,59 @@ [ { + "DisplayName":"Game Port", + "Category":"Server Settings", + "Description":"", + "Keywords":"", + "FieldName":"$ApplicationPort1", + "InputType":"number", + "IsFlagArgument":false, + "Hidden":true, + "ParamFieldName":"URL.Port", + "IncludeInCommandLine":false, + "DefaultValue":"7777" + }, + { + "DisplayName":"Download Port Offset", + "Category":"Server Settings", + "Description":"Mod download port matches the Game Port.", + "Keywords":"", + "FieldName":"DownloadPortOffset", + "InputType":"number", + "IsFlagArgument":false, + "Hidden":true, + "ParamFieldName":"/Script/ConanSandbox.SystemSettings.ModFileDownload.DownloadPortOffset", + "IncludeInCommandLine":false, + "DefaultValue":"0" + }, + { + "DisplayName":"Query Port", + "Category":"Server Settings", + "Description":"", + "Keywords":"", + "FieldName":"$ApplicationPort3", + "InputType":"number", + "IsFlagArgument":false, + "Hidden":true, + "ParamFieldName":"OnlineSubsystemNull.GameServerQueryPort", + "IncludeInCommandLine":false, + "DefaultValue":"27015" + }, + { + "DisplayName":"RCON Port", + "Category":"Server Settings", + "Description":"", + "Keywords":"", + "FieldName":"$RemoteAdminPort", + "InputType":"number", + "IsFlagArgument":false, + "Hidden":true, + "ParamFieldName":"RconPlugin.RconPort", + "IncludeInCommandLine":false, + "DefaultValue":"25575" + },{ "DisplayName":"Server Name", "Category":"Server Settings", - "Description":"Name of the server shown in the server browser", + "Description":"Name of the server shown in the server browser.", "Keywords":"name", "FieldName":"ServerName", "InputType":"text", @@ -15,7 +66,7 @@ { "DisplayName":"Map", "Category":"Server Settings", - "Description":"Sets the map to load on startup", + "Description":"Sets the map to load on startup.", "Keywords":"map", "FieldName":"Map", "InputType":"enum", @@ -46,7 +97,7 @@ { "DisplayName":"Player Limit", "Category":"Server Settings", - "Description":"Maximum number of players that may connect to the server", + "Description":"Maximum number of players that may connect to the server.", "Keywords":"maximum,players", "FieldName":"$MaxUsers", "InputType":"number", @@ -60,7 +111,7 @@ { "DisplayName":"Server Password", "Category":"Server Settings", - "Description":"Password to connect to the server. Default is no password", + "Description":"Password to connect to the server. Default is no password.", "Keywords":"password", "FieldName":"ServerPassword", "InputType":"password", @@ -82,26 +133,26 @@ "ParamFieldName":"ServerSettings.AdminPassword", "IncludeInCommandLine":false, "DefaultValue":"Password123", - "Required":true, + "Required": true, "EnumValues":{} }, { "DisplayName":"RCON Password", "Category":"Server Settings", - "Description":"Password to connect to RCON. NOTE: You should change this after first installing the server", + "Description":"Password to connect to RCON.", "Keywords":"rcon,password", "FieldName":"$RemoteAdminPassword", "InputType":"RandomPassword", "IsFlagArgument":false, "ParamFieldName":"RconPassword", "IncludeInCommandLine":false, - "DefaultValue":"Password123", - "EnumValues":{} + "EnumValues":{}, + "Hidden": true }, { "DisplayName":"Server Region", "Category":"Server Settings", - "Description":"Sets the server region, which affects how the server is filtered in the server list", + "Description":"Sets the server region, which affects how the server is filtered in the server list.", "Keywords":"region", "FieldName":"serverRegion", "InputType":"enum", @@ -121,7 +172,7 @@ { "DisplayName":"Enable BattlEye", "Category":"Server Settings", - "Description":"If enabled, BattlEye cheat protection will apply to the server", + "Description":"If enabled, BattlEye cheat protection will apply to the server.", "Keywords":"battleye,cheats", "FieldName":"IsBattlEyeEnabled", "InputType":"checkbox", @@ -135,7 +186,7 @@ } }, { - "DisplayName":"Enable Valve Anti-cheat (Steam VAC)", + "DisplayName":"Enable Valve Anti-cheat (Steam VAC).", "Category":"Server Settings", "Description":"", "Keywords":"VAC,cheat", diff --git a/conan-exilesmetaconfig.json b/conan-exilesmetaconfig.json index b671c20..09893f1 100644 --- a/conan-exilesmetaconfig.json +++ b/conan-exilesmetaconfig.json @@ -4,5 +4,15 @@ "AutoMap": true, "ConfigType": "ini", "ConfigFormatRegex": "^(?.+?)=(?.*?)$" + },{ + "ConfigFile": "ConanSandbox/Saved/Config/WindowsServer/Game.ini", + "AutoMap": true, + "ConfigType": "ini", + "ConfigFormatRegex": "^(?.+?)=(?.*?)$" + },{ + "ConfigFile": "ConanSandbox/Saved/Config/WindowsServer/Engine.ini", + "AutoMap": true, + "ConfigType": "ini", + "ConfigFormatRegex": "^(?.+?)=(?.*?)$" } ] \ No newline at end of file From 1f60660332a9b0bb03bac6f9f23aa7fbce4142c8 Mon Sep 17 00:00:00 2001 From: James Manker Date: Sat, 7 May 2022 17:26:45 -0500 Subject: [PATCH 11/12] Update Conan Config Further changes requested. --- conan-exiles.kvp | 2 +- conan-exilesconfig.json | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/conan-exiles.kvp b/conan-exiles.kvp index 86b5b11..cf7ef1e 100644 --- a/conan-exiles.kvp +++ b/conan-exiles.kvp @@ -43,7 +43,7 @@ App.ApplicationPort3=27015 App.RemoteAdminPort=25575 App.MaxUsers=40 App.UseRandomAdminPassword=True -App.RemoteAdminPassword=eb556e2744554cb8a161246ef8a82b8e +App.RemoteAdminPassword= App.AdminMethod=SourceRCON App.AdminLoginTransform=None App.RCONConnectDelaySeconds=5 diff --git a/conan-exilesconfig.json b/conan-exilesconfig.json index 7f399ad..f76eed8 100644 --- a/conan-exilesconfig.json +++ b/conan-exilesconfig.json @@ -136,19 +136,6 @@ "Required": true, "EnumValues":{} }, - { - "DisplayName":"RCON Password", - "Category":"Server Settings", - "Description":"Password to connect to RCON.", - "Keywords":"rcon,password", - "FieldName":"$RemoteAdminPassword", - "InputType":"RandomPassword", - "IsFlagArgument":false, - "ParamFieldName":"RconPassword", - "IncludeInCommandLine":false, - "EnumValues":{}, - "Hidden": true - }, { "DisplayName":"Server Region", "Category":"Server Settings", From ad5348bd561bfe1ff921751b5c2664e18fba64e3 Mon Sep 17 00:00:00 2001 From: James Manker Date: Sat, 7 May 2022 17:30:16 -0500 Subject: [PATCH 12/12] Update Conan Config Manifest Correct the RCON password setting. --- conan-exilesconfig.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/conan-exilesconfig.json b/conan-exilesconfig.json index f76eed8..f0fbf69 100644 --- a/conan-exilesconfig.json +++ b/conan-exilesconfig.json @@ -136,6 +136,19 @@ "Required": true, "EnumValues":{} }, + { + "DisplayName":"RCON Password", + "Category":"Server Settings", + "Description":"Password to connect to RCON.", + "Keywords":"rcon,password", + "FieldName":"$RemoteAdminPassword", + "InputType":"password", + "IsFlagArgument":false, + "ParamFieldName":"RconPlugin.RconPassword", + "IncludeInCommandLine":false, + "EnumValues":{}, + "Hidden": true + }, { "DisplayName":"Server Region", "Category":"Server Settings",