Update Valheim and ValheimPlus (#201)

* Update Valheim and ValheimPlus

This adds the release stream option to allow for "default_old" that was recently added. This also enable crossplay functionality.

* Update valheimconfig.json
This commit is contained in:
IceOfWraith 2022-09-28 20:16:10 -05:00 committed by GitHub
parent fdd1ad3131
commit a03d6393f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 4 deletions

View File

@ -14,7 +14,7 @@ App.BaseDirectory=./Valheim/896660/
App.ExecutableWin=896660\valheim_server.exe App.ExecutableWin=896660\valheim_server.exe
App.ExecutableLinux=896660/valheim_server.x86_64 App.ExecutableLinux=896660/valheim_server.x86_64
App.WorkingDir=896660 App.WorkingDir=896660
App.CommandLineArgs=-port {{$ApplicationPort1}} {{$FormattedArgs}} -savedir "Data" App.CommandLineArgs=-port {{$ApplicationPort1}} {{$FormattedArgs}} -savedir "Data" {{crossplay}}
App.EnvironmentVariables={"LD_LIBRARY_PATH": "./linux64:%LD_LIBRARY_PATH%", "SteamAppId": "892970"} App.EnvironmentVariables={"LD_LIBRARY_PATH": "./linux64:%LD_LIBRARY_PATH%", "SteamAppId": "892970"}
App.CommandLineParameterFormat=-{0} "{1}" App.CommandLineParameterFormat=-{0} "{1}"
App.ExitMethod=OS_CLOSE App.ExitMethod=OS_CLOSE
@ -29,7 +29,7 @@ App.MaxUsers=10
App.UseRandomAdminPassword=False App.UseRandomAdminPassword=False
App.RemoteAdminPassword=Password123 App.RemoteAdminPassword=Password123
App.AdminMethod=STDIO App.AdminMethod=STDIO
App.UpdateSources=[{"UpdateStageName": "SteamCMD Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "896660"}] App.UpdateSources=[{"UpdateStageName": "SteamCMD Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "896660", "UpdateSourceVersion": "{{Stream}}"}]
App.Compatibility=None App.Compatibility=None
App.SteamUpdateAnonymousLogin=True App.SteamUpdateAnonymousLogin=True
App.SteamForceWindowsVersion=False App.SteamForceWindowsVersion=False

View File

@ -44,6 +44,20 @@
}, },
"DefaultValue": "1" "DefaultValue": "1"
}, },
{
"DisplayName": "Enable Crossplay",
"Description": "When enabled, the backend will be running Playfab instead of Steamworks. A \"Join code\" will appear when you join a Dedicated server supporting crossplay. Players can use this code to join the server. This Join code is regenerated whenever the server is restarted.",
"FieldName": "crossplay",
"Category": "Server",
"ParamFieldName": "crossplay",
"IncludeInCommandLine": false,
"InputType": "checkbox",
"EnumValues": {
"True": "-crossplay",
"False": ""
},
"DefaultValue": ""
},
{ {
"DisplayName": "Admin Players", "DisplayName": "Admin Players",
"Description": "A list of Steam64 IDs for players that are in-game admins. [Find your Steam64 ID](https://steamidfinder.com/)", "Description": "A list of Steam64 IDs for players that are in-game admins. [Find your Steam64 ID](https://steamidfinder.com/)",
@ -67,5 +81,18 @@
"Category": "Server", "Category": "Server",
"InputType": "list", "InputType": "list",
"Special": "listfile:./Valheim/896660/Data/bannedlist.txt" "Special": "listfile:./Valheim/896660/Data/bannedlist.txt"
},{
"DisplayName":"Release Stream",
"Category":"SteamCMD and Updates",
"Description":"\"public\" is default. Choose a custom release on [SteamDB](https://steamdb.info/app/896660/depots/).",
"Keywords":"use,experimental,release,stream",
"FieldName":"Stream",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"Stream",
"IncludeInCommandLine":false,
"DefaultValue":"public",
"Placeholder":"public",
"EnumValues":{}
} }
] ]

View File

@ -14,7 +14,7 @@ App.BaseDirectory=./Valheim/896660/
App.ExecutableWin=896660\valheim_server.exe App.ExecutableWin=896660\valheim_server.exe
App.ExecutableLinux=896660/valheim_server.x86_64 App.ExecutableLinux=896660/valheim_server.x86_64
App.WorkingDir=896660 App.WorkingDir=896660
App.CommandLineArgs=-port {{$ApplicationPort1}} {{$FormattedArgs}} -savedir "Data" App.CommandLineArgs=-port {{$ApplicationPort1}} {{$FormattedArgs}} -savedir "Data" {{crossplay}}
App.CommandLineVars={"ServerName": "My Valheim Server - Powered by AMP", "WorldName": "PoweredByAMP", "ServerPassword": "12345"} App.CommandLineVars={"ServerName": "My Valheim Server - Powered by AMP", "WorldName": "PoweredByAMP", "ServerPassword": "12345"}
App.EnvironmentVariables={"DOORSTOP_ENABLE": "TRUE", "DOORSTOP_INVOKE_DLL_PATH": "./BepInEx/core/BepInEx.Preloader.dll", "DOORSTOP_CORLIB_OVERRIDE_PATH": "./unstripped_corlib" , "LD_LIBRARY_PATH":"./doorstop_libs:./linux64:%LD_LIBRARY_PATH%", "LD_PRELOAD": "libdoorstop_x64.so","SteamAppId":"892970"} App.EnvironmentVariables={"DOORSTOP_ENABLE": "TRUE", "DOORSTOP_INVOKE_DLL_PATH": "./BepInEx/core/BepInEx.Preloader.dll", "DOORSTOP_CORLIB_OVERRIDE_PATH": "./unstripped_corlib" , "LD_LIBRARY_PATH":"./doorstop_libs:./linux64:%LD_LIBRARY_PATH%", "LD_PRELOAD": "libdoorstop_x64.so","SteamAppId":"892970"}
App.CommandLineParameterFormat=-{0} "{1}" App.CommandLineParameterFormat=-{0} "{1}"
@ -31,7 +31,7 @@ App.UseRandomAdminPassword=False
App.RemoteAdminPassword=Password123 App.RemoteAdminPassword=Password123
App.AdminMethod=STDIO App.AdminMethod=STDIO
App.UpdateSource=Multi App.UpdateSource=Multi
App.UpdateSources=[{"UpdateStageName": "SteamCMD Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "896660"},{"UpdateStageName": "Fetch ValheimPlus from Github","UpdateSourcePlatform": "Windows", "UpdateSource": "GithubRelease", "UpdateSourceArgs": "valheimPlus/ValheimPlus", "UpdateSourceData": "WindowsServer.zip", "UnzipUpdateSource": true, "OverwriteExistingFiles": true},{"UpdateSourcePlatform": "Linux", "UpdateSource": "GithubRelease", "UpdateSourceArgs": "valheimPlus/ValheimPlus", "UpdateSourceData": "UnixServer.zip", "UnzipUpdateSource": true, "OverwriteExistingFiles": true}] App.UpdateSources=[{"UpdateStageName": "SteamCMD Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "896660", "UpdateSourceVersion": "{{Stream}}"},{"UpdateStageName": "Fetch ValheimPlus from Github","UpdateSourcePlatform": "Windows", "UpdateSource": "GithubRelease", "UpdateSourceArgs": "valheimPlus/ValheimPlus", "UpdateSourceData": "WindowsServer.zip", "UnzipUpdateSource": true, "OverwriteExistingFiles": true},{"UpdateSourcePlatform": "Linux", "UpdateSource": "GithubRelease", "UpdateSourceArgs": "valheimPlus/ValheimPlus", "UpdateSourceData": "UnixServer.zip", "UnzipUpdateSource": true, "OverwriteExistingFiles": true}]
App.Compatibility=None App.Compatibility=None
App.SteamUpdateAnonymousLogin=True App.SteamUpdateAnonymousLogin=True
App.SteamForceWindowsVersion=False App.SteamForceWindowsVersion=False