Server Pack
Running on a server host
Upload and uncompress the .zip pack file,
In your hosting panel set the startup jar to
galactica-server.jar
for Galactica, orgalactica-je-server.jar
for Galactica: Jurassic Edition, your host should have instructions on how to do this.Start the server, it should generate the required files but not start.
Open EULA.txt and accept it.
Restart the server, it should now start.
Running Locally
If you'd like your friends to be able to connect, you'll need to port forward your internet. More info (external link)
First, unzip the server pack, then follow the instructions in the relevant section for you below.
Windows
Create a new file titled 'start.bat'
In the file, enter this for Galactica:
@echo off java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-server.jar nogui pauseor this for Galactica: Jurassic Edition:
@echo off java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-je-server.jar nogui pauseReplace the '#' with the amount of RAM you'd like to allocate to the server.
Run the file by double-clicking it, the server should generate the required files but not start.
Open EULA.txt and accept it.
Run the file again by double-clicking it, the server should now start.
MacOS
Create a new file titled 'start.command'
In the file, enter this for Galactica:
#!/bin/sh cd "$( dirname "$0" )" java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-server.jar noguior this for Galactica: Jurassic Edition:
#!/bin/sh cd "$( dirname "$0" )" java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-je-server.jar noguiReplace the '#' with the amount of RAM you'd like to allocate to the server.
Run the file by double-clicking it, the server should generate the required files but not start.
Open EULA.txt and accept it.
Run the file again by double-clicking it, the server should now start.
Linux
Create a new file titled 'start.sh'
In the file, enter this for Galactica:
#!/bin/sh java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-server.jar noguior this for Galactica: Jurassic Edition:
#!/bin/sh java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-je-server.jar noguiReplace the '#' with the amount of RAM you'd like to allocate to the server.
Run the file using
./start.sh
, the server should generate the required files but not start.Open EULA.txt and accept it.
Run the file again using
./start.sh
, the server should now start.
Troubleshooting
java.lang.reflection.InvocationTargetException
Your computer is trying to run the server pack on a version of Java that is too new, both packs require Java 8.
To check if this is the issue and fix it:
Open a command prompt. Type
java -version
- if anything other than Java 8 appears keep going, if it says Java 8 send us a message for help!Run
where java
and copy the full path for Java 8. If you don't see Java 8 - install it from Oracle and run the command again.Open your
start.txt
/start.bat
file.Replace 'java' at the start of the command with the full path you copied from step 2. If the path has spaces you'll need to wrap it in quotation marks. For example:
"C:\Program Files (x86)\Common Files\Oracle\Java\java8path\java.exe"
Save the file, (if it's start.txt rename to start.bat) and run the server. If you're still having issues message us for help!