From 4e6ec3302028ac0bb8db239e7801b4952466bdec Mon Sep 17 00:00:00 2001 From: Greelan <53196309+Greelan@users.noreply.github.com> Date: Sat, 25 Dec 2021 20:00:17 +1030 Subject: [PATCH] Update project-zomboid.kvp --- project-zomboid.kvp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/project-zomboid.kvp b/project-zomboid.kvp index 752eb56..9cf685f 100644 --- a/project-zomboid.kvp +++ b/project-zomboid.kvp @@ -1,7 +1,7 @@ Meta.DisplayName=Project Zomboid Meta.Description=Project Zomboid Dedicated Server Meta.OS=Windows, Linux -Meta.Author=Greelan +Meta.Author=Greelan, IceOfWraith, Dhraz Meta.URL=https://projectzomboid.com Meta.DisplayImageSource=steam:108600 Meta.EndpointURIFormat=steam://connect/{ip}/{GenericModule.App.ApplicationPort2} @@ -14,14 +14,14 @@ Meta.Prerequsites=[] App.DisplayName=Project Zomboid App.RootDir=./project-zomboid/ App.BaseDirectory=./project-zomboid/380870/ -App.ExecutableWin=380870\ProjectZomboid64.exe +App.ExecutableWin=380870\jre64\bin\java.exe App.ExecutableLinux=380870/ProjectZomboid64 App.WorkingDir=380870 App.LinuxCommandLineArgs= -App.WindowsCommandLineArgs= -App.CommandLineArgs=-port {{$ApplicationPort1}} -steamport1 {{$ApplicationPort2}} -steamport2 {{$ApplicationPort3}} {{$FormattedArgs}} +App.WindowsCommandLineArgs=-Djava.awt.headless=true -Dzomboid.znetlog=1 -XX:+UseZGC -XX:-CreateCoredumpOnCrash -XX:-OmitStackTraceInFastThrow -Djava.library.path=natives/;natives/win64/;. -cp %PZ_CLASSPATH% zombie.network.GameServer -statistic 0 +App.CommandLineArgs={{$PlatformArgs}} -Dzomboid.steam={{SteamInt}} -Duser.home=./ -Xmx{{MaxRAM}}g -- -port {{$ApplicationPort1}} -steamport1 {{$ApplicationPort2}} -steamport2 {{$ApplicationPort3}} {{$FormattedArgs}} App.AppSettings={} -App.EnvironmentVariables={"PATH":"./jre64/bin:%PATH%","LD_LIBRARY_PATH":"./linux64:./natives:./:./jre64/lib/amd64:%LD_LIBRARY_PATH%","LD_PRELOAD":"./jre64/lib/libjsig.so","SteamAppId":"108600"} +App.EnvironmentVariables={"PATH":"./jre64/bin:%PATH%","LD_LIBRARY_PATH":"./linux64:./natives:./:./jre64/lib/amd64:%LD_LIBRARY_PATH%","LD_PRELOAD":"./jre64/lib/libjsig.so","PZ_CLASSPATH":"./java/istack-commons-runtime.jar;./java/jassimp.jar;./java/javacord-2.0.17-shaded.jar;./java/javax.activation-api.jar;./java/jaxb-api.jar;./java/jaxb-runtime.jar;./java/lwjgl.jar;./java/lwjgl-natives-windows.jar;./java/lwjgl-glfw.jar;./java/lwjgl-glfw-natives-windows.jar;./java/lwjgl-jemalloc.jar;./java/lwjgl-jemalloc-natives-windows.jar;./java/lwjgl-opengl.jar;./java/lwjgl-opengl-natives-windows.jar;./java/lwjgl_util.jar;./java/sqlite-jdbc-3.27.2.1.jar;./java/trove-3.0.3.jar;./java/uncommons-maths-1.2.3.jar;./java/","SteamAppId":"108600"} App.CommandLineParameterFormat=-{0} {1} App.CommandLineParameterDelimiter= App.ExitMethod=String @@ -41,7 +41,7 @@ App.MaxUsers=20 App.UseRandomAdminPassword=False App.RemoteAdminPassword= App.AdminMethod=STDIO -App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":31,"UpdateSource":4,"UpdateSourceData":"380870","UpdateSourceArgs":null,"UpdateSourceVersion":"b41multiplayer","UpdateSourceTarget":null,"UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null}] +App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":31,"UpdateSource":4,"UpdateSourceData":"380870","UpdateSourceArgs":null,"UpdateSourceVersion":null,"UpdateSourceTarget":null,"UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null}] App.Compatibility=None App.SteamUpdateAnonymousLogin=True App.SteamForceLoginPrompt=False @@ -53,7 +53,7 @@ Console.FilterMatchReplacement= Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ Console.AppReadyRegex=^LOG\s+: Network\s+, \d+> [\d,]+> \*+ SERVER STARTED \*+$ Console.UserJoinRegex=^LOG\s+: Network\s+, \d+> [\d,]+> Connected new client (?.+?) ID # (?.+?) and assigned DL port (?.+?)$ -Console.UserLeaveRegex=^LOG\s+: Network\s+, \d+> [\d,]+> Disconnected player "(?.+?)" \d+$ +Console.UserLeaveRegex=/^LOG\s+: (Network|General)\s+, \d+> [\d,]+> (Disconnected player "(?.+?)" |\d+ znet: Disconnecting client #(?.+?) SteamID=)\d+$ Console.UserChatRegex= Console.UpdateAvailableRegex= Console.SuppressLogAtStart=False