LewMC Wiki Help

Server Pack

Running on a server host

  1. Upload and uncompress the .zip pack file,

  2. In your hosting panel set the startup jar to galactica-server.jar for Galactica, or galactica-je-server.jar for Galactica: Jurassic Edition, your host should have instructions on how to do this.

  3. Start the server, it should generate the required files but not start.

  4. Open EULA.txt and accept it.

  5. 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

  1. Create a new file titled 'start.bat'

  2. In the file, enter this for Galactica:

    @echo off java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-server.jar nogui pause

    or this for Galactica: Jurassic Edition:

    @echo off java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-je-server.jar nogui pause
  3. Replace the '#' with the amount of RAM you'd like to allocate to the server.

  4. Run the file by double-clicking it, the server should generate the required files but not start.

  5. Open EULA.txt and accept it.

  6. Run the file again by double-clicking it, the server should now start.

MacOS

  1. Create a new file titled 'start.command'

  2. In the file, enter this for Galactica:

    #!/bin/sh cd "$( dirname "$0" )" java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-server.jar nogui

    or this for Galactica: Jurassic Edition:

    #!/bin/sh cd "$( dirname "$0" )" java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-je-server.jar nogui
  3. Replace the '#' with the amount of RAM you'd like to allocate to the server.

  4. Run the file by double-clicking it, the server should generate the required files but not start.

  5. Open EULA.txt and accept it.

  6. Run the file again by double-clicking it, the server should now start.

Linux

  1. Create a new file titled 'start.sh'

  2. In the file, enter this for Galactica:

    #!/bin/sh java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-server.jar nogui

    or this for Galactica: Jurassic Edition:

    #!/bin/sh java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-je-server.jar nogui
  3. Replace the '#' with the amount of RAM you'd like to allocate to the server.

  4. Run the file using ./start.sh, the server should generate the required files but not start.

  5. Open EULA.txt and accept it.

  6. Run the file again using ./start.sh, the server should now start.

Last modified: 13 March 2025