From 09110eabba3b4b9b5b1c43df7535f5d8db2b341c Mon Sep 17 00:00:00 2001 From: James Manker Date: Sun, 5 Jun 2022 17:00:26 -0500 Subject: [PATCH] Add LAN Mode Added the LAN Mode startup flag for servers without internet. --- v-rising.kvp | 2 +- v-risingconfig.json | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/v-rising.kvp b/v-rising.kvp index 7655b1f..97fae4d 100644 --- a/v-rising.kvp +++ b/v-rising.kvp @@ -23,7 +23,7 @@ App.ExecutableLinux=/usr/bin/xvfb-run App.WorkingDir=1829350 App.LinuxCommandLineArgs=-a wine64 ./VRisingServer.exe App.WindowsCommandLineArgs= -App.CommandLineArgs={{$PlatformArgs}} -persistentDataPath ./save-data +App.CommandLineArgs={{$PlatformArgs}} -persistentDataPath ./save-data {{LanMode}} App.UseLinuxIOREDIR=False App.AppSettings={} App.EnvironmentVariables={"LD_LIBRARY_PATH":"./linux64:%LD_LIBRARY_PATH%","SteamAppId":"1604030","STEAM_COMPAT_DATA_PATH":"{{$FullRootDir}}1493710","STEAM_COMPAT_CLIENT_INSTALL_PATH":"{{$FullRootDir}}1493710"} diff --git a/v-risingconfig.json b/v-risingconfig.json index 23c01f0..d3b1af6 100644 --- a/v-risingconfig.json +++ b/v-risingconfig.json @@ -95,6 +95,22 @@ "EnumValues": {}, "Hidden": true }, + { + "DisplayName": "LAN Mode", + "Category": "Host Settings", + "Description": "Use this setting for a server without internet connectivity. The LAN Mode check box must also be checked in-game when connecting.", + "Keywords": "lan,mode", + "FieldName": "LanMode", + "InputType": "checkbox", + "DefaultValue": "", + "IsFlagArgument": false, + "ParamFieldName": "LanMode", + "IncludeInCommandLine": false, + "EnumValues": { + "False": "", + "True": "-lan" + } + }, { "DisplayName": "Max Connected Users", "Category": "Host Settings",