Add LAN Mode

Added the LAN Mode startup flag for servers without internet.
This commit is contained in:
James Manker 2022-06-05 17:00:26 -05:00
parent 51d16807cf
commit 09110eabba
2 changed files with 17 additions and 1 deletions

View File

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

View File

@ -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",