count_zero99uk Posted May 6, 2017 Share Posted May 6, 2017 I have host a server that some of my friends and I play on. However im wanting to test some things out with someone else, is it possible to create two servers? Not to have them run at the same time just to be able to switch between them. Many thanks. Link to comment Share on other sites More sharing options...
Kirrus Posted May 6, 2017 Share Posted May 6, 2017 Yes, but it's a bit tricky. It's easier if you run dedicated servers ,and setup config files for the different ones, with different world locations. @EnigmaGrey may be able to advise better Link to comment Share on other sites More sharing options...
EnigmaGrey Posted May 6, 2017 Share Posted May 6, 2017 I find the best approach is just to have separate, self-contained installations for each server. For example, modifying the batch file like this will make whatever folder the server is placed in, the root directory. The Zomboid folder is also created inside it. @setlocal enableextensions @cd /d "%~dp0" SET PZ_CLASSPATH=java/jinput.jar;java/lwjgl.jar;java/lwjgl_util.jar;java/sqlite-jdbc-3.8.10.1.jar;java/uncommons-maths-1.2.3.jar;java/ ".\jre64\bin\java.exe" -Dzomboid.steam=1 -Dzomboid.znetlog=1 -Xms1G -Xmx4G -XX:-CreateMinidumpOnCrash -XX:-OmitStackTraceInFastThrow -Djava.library.path=natives/;. -cp %PZ_CLASSPATH% zombie.network.GameServer -cachedir=.\Zomboid PAUSE The alternative is messing around with scripts and the -name flag, but it's easier just to keep everything self-contained. Link to comment Share on other sites More sharing options...
count_zero99uk Posted May 7, 2017 Author Share Posted May 7, 2017 I think ill just keep the one server at the moment, this seems rather confusing to me. Thanks for trying to help though. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.