ModdedTibby Posted May 27, 2014 Share Posted May 27, 2014 Hello, ive been looking and looking and trying to find somewhere that talked about hosting multiple servers for PZ. Im hosting a few game servers as of now and still have plenty of room and bandwidth to run another project zomboid server or 5. My question is how is this possible, i would assume you would need to make a copy of "servertest" and rename it to point to a different server name and obviously change the defauly port on the server other than that, i have no clue Link to comment Share on other sites More sharing options...
nasKo Posted May 27, 2014 Share Posted May 27, 2014 Currently, you change the servername with the -servername option.To do this, open your ProjectZomboidServer.bat with a text editor and add "-servername YOURNAMEHERE" without the quotes at the end of the line.example:".\jre64\bin\java.exe" -Xms2048m -Xmx2048m -Djava.library.path=./ -cp lwjgl.jar;lwjgl_util.jar;sqlitejdbc-v056.jar;trove-3.0.3.jar;./ zombie.network.GameServer -servername YOURNAMEHEREPAUSE Link to comment Share on other sites More sharing options...
ModdedTibby Posted May 27, 2014 Author Share Posted May 27, 2014 so i can just make a copy of that batch file rename it like so and ill be good to go awesome thank you very much Link to comment Share on other sites More sharing options...
ModdedTibby Posted May 27, 2014 Author Share Posted May 27, 2014 i didnt think much further into it but im assuming unless you make a copy of the Project zomboid directory you are forced to run the same set up on each serverand edit both copies of the server files separately Link to comment Share on other sites More sharing options...
ModdedTibby Posted May 29, 2014 Author Share Posted May 29, 2014 ive got 2 servers running at this time, now how would i go about the zip files not saving and overwiriting each other for the different servrs, all the zip files save in one location for either server. technically i could make multiple users and have multiple servs on those accounts i guess Link to comment Share on other sites More sharing options...
dimitrifrom31 Posted June 19, 2014 Share Posted June 19, 2014 where can we find a list of available command switches ? Link to comment Share on other sites More sharing options...
nasKo Posted June 19, 2014 Share Posted June 19, 2014 where can we find a list of available command switches ?Just dropping links: http://theindiestone.com/forums/index.php/forum/72-help/ http://theindiestone.com/forums/index.php/topic/5813-how-to-administrate-a-server/ http://theindiestone.com/forums/index.php/topic/6016-multiplayer-faq/ Link to comment Share on other sites More sharing options...
dimitrifrom31 Posted June 19, 2014 Share Posted June 19, 2014 thank you but Im looking at the switches that can be used in the bat file and was not able to find them so far Link to comment Share on other sites More sharing options...
EnigmaGrey Posted June 19, 2014 Share Posted June 19, 2014 Erm, none, beyond basic configuration of server name, file location, .etc? Link to comment Share on other sites More sharing options...
dimitrifrom31 Posted June 19, 2014 Share Posted June 19, 2014 ye, I m especially looking at setting the admin password or at least ability to reset it. The whole purpose is to be able to deploy a game server "ready to play".Right now I have to input admin password manually when server starts for first time. Link to comment Share on other sites More sharing options...
harakka Posted June 19, 2014 Share Posted June 19, 2014 There's no such commandline parameter. However the user DB is in SQLite format, so you might be able to ship a premade one or customize it via a script. EnigmaGrey 1 Link to comment Share on other sites More sharing options...
dimitrifrom31 Posted June 19, 2014 Share Posted June 19, 2014 thanks, I figured that out and have just set a sample .db so users can log on as admin then change pw in game. Do you have recommendations by any chance seen to the RAM to allocate per slot ?I see the default is 2Gb but how many slots can that handle on a vanilla server ? EnigmaGrey 1 Link to comment Share on other sites More sharing options...
EnigmaGrey Posted June 19, 2014 Share Posted June 19, 2014 The official server ran with about 4 GB for 32 people. Hopefully that'll help. Link to comment Share on other sites More sharing options...
dimitrifrom31 Posted June 19, 2014 Share Posted June 19, 2014 ye thanks that gives me something to begin with Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now