Merge pull request #125 from tempusthales/V-Rising

Initial Commit - V-Rising
This commit is contained in:
PhonicUK 2022-05-22 11:44:09 +01:00 committed by GitHub
commit 5bb6c8850e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 355 additions and 0 deletions

79
v-rising.kvp Normal file
View File

@ -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 (?<userid>\d+)}' '\d+', approvedUserIndex: \d+, Character: '(?<username>.+?)' connected as ID '\d+,\d+', Entity '[\d,]+'.$
Console.UserLeaveRegex=^User '{Steam (?<userid>\d+)}' disconnected. approvedUserIndex: \d+ Reason: (.+?) (.+?)$
Console.UserChatRegex=^(?<username>.+?): (?<message>.+)$
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

264
v-risingconfig.json Normal file
View File

@ -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":"",
"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":"",
"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"
}
}
]

12
v-risingmetaconfig.json Normal file
View File

@ -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"
}
]