Server Setup: Difference between revisions

Content deleted Content added
Embri (talk | contribs)
→‎Server Files: stolen from the Windows setup, cleaned up to be (hopefully) universal.
Embri (talk | contribs)
Line 21: Line 21:
== Server Files ==
== Server Files ==
<div align="justify">
<div align="justify">
While our pack is hosted on many launchers we also maintain a repository of all of our releases. If the server fails to install via a launcher, attempt a manual download.
While our pack is hosted on many launchers we also maintain a repository of all of our releases. There are two variations of the pack, both for server and client. <code> ..._Server.zip</code> is for Java 8, <code>_Server_Java_17_20.zip</code> is for Java 17+. Make sure to pick the .zip file that matches the Java version the server will be running, or it will fail. ''Unless you have a reason not to, you should use the Java 17+ version'' as it has better garbage collection. The only major reason not to use Java 17+ for a server is Thermos compatibility - and if you know what Thermos is, you know how to setup your own server likely.

There are two variations of the pack, both for server and client. <code> ..._Server.zip</code> is for Java 8, <code>_Server_Java_17_20.zip</code> is for Java 17+. Make sure to pick the .zip file that matches the Java version the server will be running, or it will fail. ''Unless you have a reason not to, you should use the Java 17+ version'' as it has better garbage collection & performance on modern hardware. The only major reason not to use Java 17+ for a server is Thermos compatibility - and if you know what Thermos is, you know how to setup your own server more likely than not.


* Download the server pack from here: http://downloads.gtnewhorizons.com/ServerPacks/
* Download the server pack from here: http://downloads.gtnewhorizons.com/ServerPacks/
Line 29: Line 31:
** Get the JRE (not JDK), and make sure it matches your OS / architecture.
** Get the JRE (not JDK), and make sure it matches your OS / architecture.


While Java 17 is the most widely tested with New Horizons, any Java build of 17 or later should suffice. Check what if any versions of Java are already installed on your machine before downloading. Oracle's closed source Java will also work with GT:NH, if preferred.
While Java 17 is the most widely tested with New Horizons, any Java build of 17 or later should suffice. Check if any versions of Java are already installed on your machine before downloading more. Oracle's closed source Java will also work with GT:NH, if preferred.
</div>
</div>