Setup - oisin100/ZombieFortress GitHub Wiki
Setup
First of all you need a copy of the Server Jar. Latest version available: (TODO)
Once you have obtained a copy place the file you received inside the folder you wish to store all the servers files in
Once that is done create a new File in the folder you have stored the Server Jar and call it Run.bat Make sure you have "File Extensions On" So that you dont call it Run.bat.txt By accident.
Right click Run.bat now and find the "Edit" option in the menu.
This will open Run.bat in your default Text Editor And put the following text in:
java -jar (WhateverTheJarIsCalled).jar -Xmx1G -Xms1G pause
The -Xmx1G -Xms1G
Defines the ammount of ram the server can use for its operations 1Gygabyte by default to increase the ammount used just change it like this -Xmx2G -Xms2G
For 2 Gygabytes And so on.
You may now save the Run.bat File And run it by double clicking on it. Congratulations! if everything went well you will be seeing a new Old Style DoS window what your server runs on. To connect to the server just open the Zombie Fortress Game and click MultiPlayer. Put "localhost" In the IP Field And "8181" In the port field. For now only computers on your Internet Connection can connect to the server. Tutorial on allowing Players on other networks to connect Coming soon!