From 8b5959b1825cce617a2f787049c23e5a45502e30 Mon Sep 17 00:00:00 2001 From: Tempus Thales Date: Sat, 21 May 2022 19:53:37 -0500 Subject: [PATCH 1/2] Initial Commit - V-Rising --- v-rising.kvp | 79 ++++++++++++ v-risingconfig.json | 264 ++++++++++++++++++++++++++++++++++++++++ v-risingmetaconfig.json | 12 ++ 3 files changed, 355 insertions(+) create mode 100644 v-rising.kvp create mode 100644 v-risingconfig.json create mode 100644 v-risingmetaconfig.json diff --git a/v-rising.kvp b/v-rising.kvp new file mode 100644 index 0000000..deaa64a --- /dev/null +++ b/v-rising.kvp @@ -0,0 +1,79 @@ +Meta.DisplayName=V Rising +Meta.Description=V Rising Dedicated Server +Meta.OS=Windows +Meta.Arch=x86_64 +Meta.Author=Tempus Thales +Meta.URL=https://store.steampowered.com/app/1604030/V_Rising/ +Meta.DisplayImageSource=steam:1604030 +Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort2} +Meta.ConfigManifest=v-risingconfig.json +Meta.MetaConfigManifest=v-risingmetaconfig.json +Meta.ConfigRoot=v-rising.kvp +Meta.MinAMPVersion= +Meta.SpecificDockerImage= +Meta.DockerRequired=False +Meta.ContainerPolicy=Supported +Meta.Prerequsites=[] +Meta.ConfigReleaseState=NotSpecified +App.DisplayName=V Rising +App.RootDir=./v-rising/ +App.BaseDirectory=./v-rising/1829350/ +App.ExecutableWin=1829350\VRisingServer.exe +App.ExecutableLinux=1829350/ +App.WorkingDir=1829350 +App.LinuxCommandLineArgs= +App.WindowsCommandLineArgs= +App.CommandLineArgs=-persistentDataPath ./save-data +App.AppSettings={} +App.EnvironmentVariables={"LD_LIBRARY_PATH":"./linux64:%LD_LIBRARY_PATH%","SteamAppId":"1604030"} +App.CommandLineParameterFormat=-{0} "{1}" +App.CommandLineParameterDelimiter= +App.ExitMethod=CtrlC +App.ExitTimeout=30 +App.ExitString=stop +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=9876 +App.ApplicationPort2=9877 +App.ApplicationPort3=0 +App.RemoteAdminPort=0 +App.MaxUsers=40 +App.UseRandomAdminPassword=False +App.RemoteAdminPassword=Password123 +App.AdminMethod=STDIO +App.AdminLoginTransform=None +App.RCONConnectDelaySeconds=5 +App.RCONConnectRetrySeconds=5 +App.TelnetLoginFormat={0} +App.UpdateSources=[{"UpdateStageName": "SteamCMD Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "1829350"}] +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=Immediate +App.TemplateMatchRegex={{(\$?[\w]+)}} +Console.FilterMatchRegex= +Console.FilterMatchReplacement= +Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ +Console.AppReadyRegex=^Server is ready.$ +Console.UserJoinRegex=^User '{Steam (?\d+)}' '\d+', approvedUserIndex: \d+, Character: '(?.+?)' connected as ID '\d+,\d+', Entity '[\d,]+'.$ +Console.UserLeaveRegex=^User '{Steam (?\d+)}' disconnected. approvedUserIndex: \d+ Reason: (.+?) (.+?)$ +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 +Limits.SleepStartThresholdSeconds=25 diff --git a/v-risingconfig.json b/v-risingconfig.json new file mode 100644 index 0000000..67f9006 --- /dev/null +++ b/v-risingconfig.json @@ -0,0 +1,264 @@ +[ + { + "DisplayName":"Server Name", + "Category":"Host Settings", + "Description":"Whatever you want to name your server as", + "Keywords":"Server, name", + "FieldName":"Name", + "InputType":"text", + "IsFlagArgument":false, + "ParamFieldName":"Name", + "IncludeInCommandLine":false, + "DefaultValue": "AMP V Rising Server", + "EnumValues":{} + }, + { + "DisplayName":"Description", + "Category":"Host Settings", + "Description":"Short description of server purpose, rules, message of the day", + "Keywords":"Server, description", + "FieldName":"Description", + "InputType":"text", + "IsFlagArgument":false, + "ParamFieldName":"Description", + "IncludeInCommandLine":false, + "DefaultValue": "AMP V Rising Server", + "EnumValues":{} + }, + { + "DisplayName":"Port", + "Category":"Host Settings", + "Description":"UDP port for game traffic", + "Keywords":"game,port", + "FieldName":"$ApplicationPort1", + "InputType":"number", + "IsFlagArgument":false, + "ParamFieldName":"Port", + "IncludeInCommandLine":false, + "DefaultValue":"Game Port", + "EnumValues":{}, + "Hidden": true + }, + { + "DisplayName":"Query Port", + "Category":"Host Settings", + "Description":"UDP port for Steam server list features", + "Keywords":"query,port", + "FieldName":"$ApplicationPort2", + "InputType":"number", + "IsFlagArgument":false, + "ParamFieldName":"QueryPort", + "IncludeInCommandLine":false, + "DefaultValue":"Query Port", + "EnumValues":{}, + "Hidden": true + }, + { + "DisplayName":"Max Connected Users", + "Category":"Host Settings", + "Description":"Max number of concurrent players on server", + "Keywords":"max, users", + "FieldName":"$MaxUsers", + "InputType":"number", + "DefaultValue": "40", + "IsFlagArgument":false, + "ParamFieldName":"MaxConnectedUsers", + "IncludeInCommandLine":false + }, + { + "DisplayName":"Max Connected Admins", + "Category":"Host Settings", + "Description":"Max number of admins to allow connect even when server is full", + "Keywords":"max, admins", + "FieldName":"MaxConnectedAdmins", + "InputType":"number", + "IsFlagArgument":false, + "ParamFieldName":"MaxConnectedAdmins", + "DefaultValue":"4", + "IncludeInCommandLine":false + }, + { + "DisplayName":"Clan Size", + "Category":"Game Settings", + "Description":"Maximum amount of players per Clan", + "Keywords":"clan, Size", + "FieldName":"ClanSize", + "InputType":"number", + "IsFlagArgument":false, + "ParamFieldName":"ClanSize", + "DefaultValue":"4", + "IncludeInCommandLine":false + }, + { + "DisplayName":"Server FPS", + "Category":"Host Settings", + "Description":"Maximum Server FPS when idle", + "Keywords":"server, fps", + "FieldName":"ServerFps", + "InputType":"number", + "IsFlagArgument":false, + "ParamFieldName":"ServerFps", + "DefaultValue":"30", + "IncludeInCommandLine":false + }, + { + "DisplayName":"Save Name", + "Category":"Host Settings", + "Description":"Name of save file/directory", + "Keywords":"save, name", + "FieldName":"SaveName", + "InputType":"text", + "IsFlagArgument":false, + "ParamFieldName":"SaveName", + "DefaultValue":"world1", + "IncludeInCommandLine":false + }, + { + "DisplayName":"Password", + "Category":"Host Settings", + "Description":"Set a password or leave empty", + "Keywords":"server, password", + "FieldName":"Password", + "DefaultValue": "", + "InputType":"password", + "IsFlagArgument":false, + "ParamFieldName":"Password", + "IncludeInCommandLine":false + }, + { + "DisplayName":"VAC Secure", + "Category":"Host Settings", + "Description":"Choose if you want your server to use VAC or not.", + "Keywords":"server, secure", + "FieldName":"Secure", + "InputType":"checkbox", + "IsFlagArgument":false, + "ParamFieldName":"Secure", + "IncludeInCommandLine":false, + "DefaultValue":"true", + "EnumValues":{ + "True": "true", + "False": "false" + } + }, + { + "DisplayName":"List on Master Server", + "Category":"Host Settings", + "Description":"Set to true to list on server list, else set to false", + "Keywords":"master,server", + "FieldName":"ListOnMasterServer", + "InputType":"checkbox", + "IsFlagArgument":false, + "ParamFieldName":"ListOnMasterServer", + "IncludeInCommandLine":false, + "DefaultValue":"true", + "EnumValues":{ + "True": "true", + "False": "false" + } + }, + { + "DisplayName":"Auto Save Count", + "Category":"Host Settings", + "Description":"Number of autosaves to keep", + "Keywords":"autosave, interval", + "FieldName":"AutoSaveCount", + "InputType":"number", + "IsFlagArgument":false, + "ParamFieldName":"AutoSaveCount", + "IncludeInCommandLine":false, + "DefaultValue":"25", + "EnumValues":{} + }, + { + "DisplayName":"Auto Save Interval", + "Category":"Host Settings", + "Description":"Interval in seconds between each auto save", + "Keywords":"AutoSave, interval", + "FieldName":"AutoSaveInterval", + "InputType":"number", + "IsFlagArgument":false, + "ParamFieldName":"AutoSaveInterval", + "IncludeInCommandLine":false, + "DefaultValue":"120", + "EnumValues":{} + }, + { + "DisplayName":"Game Mode Type", + "Category":"Game Settings", + "Description":"Set Game Mode Type as PVE or PVP.", + "Keywords":"Game, Mode, Type", + "FieldName":"GameModeType", + "InputType":"enum", + "IsFlagArgument":false, + "ParamFieldName":"GameModeType", + "IncludeInCommandLine":false, + "DefaultValue":"PvP", + "EnumValues":{ + "PvE": "PvE", + "PvP": "PvP" + } + }, + { + "DisplayName":"Game Settings Ruleset", + "Category":"Host Settings", + "Description":"Change Game Mode Ruleset. Must Match Game Mode Type", + "Keywords":"Game, Ruleset", + "FieldName":"GameSettingsPreset", + "InputType":"enum", + "IsFlagArgument":false, + "ParamFieldName":"GameSettingsPreset", + "IncludeInCommandLine":false, + "DefaultValue":"", + "EnumValues":{ + "DuoPvP": "Duo PvP", + "HardcorePvP": "Full Loot PvP Rules", + "Level30PvP": "PvP Dawn - Level 30", + "Level50PvP": "PvP Noon - Level 50", + "Level70PvP": "PvP Dusk - Level 50", + "SoloPvP": "Solo PvP", + "StandardPvP": "Standard PvP Rules", + "StandardPvP_Easy": "Standard PvP Easy", + "StandardPvP_Hard": "Standard PvP Hard", + "Level30PvE": "PvE Dawn - Level 30", + "Level50PvE": "PvE Noon - Level 50", + "Level70PvE": "PvE Dusk - Level 50", + "StandardPvE": "Standard PvE Rules", + "StandardPvE_Easy": "Standard PvE Easy", + "StandardPvE_Hard": "Standard PvE Hard", + "": "Custom" + } + }, + { + "DisplayName":"Admin Only Debug Events", + "Category":"Host Settings", + "Description":"Show debug events only to admins", + "Keywords":"admin, debug, events", + "FieldName":"AdminOnlyDebugEvents", + "InputType":"checkbox", + "IsFlagArgument":false, + "ParamFieldName":"AdminOnlyDebugEvents", + "IncludeInCommandLine":false, + "DefaultValue":"true", + "EnumValues":{ + "True": "true", + "False": "false" + } + }, + { + "DisplayName":"Disable Debug Events", + "Category":"Host Settings", + "Description":"Disable Debug Events from appearing at all", + "Keywords":"disable, debug, events", + "FieldName":"DisableDebugEvents", + "InputType":"checkbox", + "IsFlagArgument":false, + "ParamFieldName":"DisableDebugEvents", + "IncludeInCommandLine":false, + "DefaultValue": "false", + "EnumValues":{ + "True": "true", + "False": "false" + } + } +] diff --git a/v-risingmetaconfig.json b/v-risingmetaconfig.json new file mode 100644 index 0000000..a393e2a --- /dev/null +++ b/v-risingmetaconfig.json @@ -0,0 +1,12 @@ +[ + { + "ConfigFile": "VRisingServer_Data/StreamingAssets/Settings/ServerHostSettings.json", + "AutoMap": true, + "ConfigType": "json" + }, + { + "ConfigFile": "VRisingServer_Data/StreamingAssets/Settings/ServerGameSettings.json", + "AutoMap": true, + "ConfigType": "json" + } +] \ No newline at end of file From 739c2814ccf853cb5f11ab940d8d742000b56010 Mon Sep 17 00:00:00 2001 From: Tempus Thales Date: Sat, 21 May 2022 22:27:06 -0500 Subject: [PATCH 2/2] fix port default value --- v-risingconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v-risingconfig.json b/v-risingconfig.json index 67f9006..7a4d6bf 100644 --- a/v-risingconfig.json +++ b/v-risingconfig.json @@ -35,7 +35,7 @@ "IsFlagArgument":false, "ParamFieldName":"Port", "IncludeInCommandLine":false, - "DefaultValue":"Game Port", + "DefaultValue":"", "EnumValues":{}, "Hidden": true }, @@ -49,7 +49,7 @@ "IsFlagArgument":false, "ParamFieldName":"QueryPort", "IncludeInCommandLine":false, - "DefaultValue":"Query Port", + "DefaultValue":"", "EnumValues":{}, "Hidden": true },