DarkPacks / SkyFactory-4

SkyFactory 4 offers a brand-new experience never before seen in the series. Full automation, tech, magic, and bacon resources! This iteration offers over 30+ world types so you can play the pack like never before!
https://minecraft.curseforge.com/projects/skyfactory-4/
131 stars 48 forks source link

I get a normal map and not the preset map on my server #2280

Closed TheSkyes2004 closed 5 months ago

TheSkyes2004 commented 5 months ago

Bug Description

Did this behavior use to work in the previous version?

Steps to Reproduce (for bugs)

1.Installed the server pack

  1. extracted the files
  2. installed using the install.bat
  3. started the minecraft-server.jar (the serverstart.bat doesn't work)
  4. loaded in and did not spawn in the right world

Logs

World Information

Client Information

Server Information

sam-kirby commented 5 months ago

You are launching the vanilla server which must be present for forge to modify; you must arrange for the forge jar to be launched either through the provided launch script or your own.

This requires a 64-bit variant of Java 8 to be installed. The included scripts expect this to be your default Java environment, but if it is not you can edit the script to use the absolute path of the Java runtime binary.

TheSkyes2004 commented 5 months ago

Do you maybe have a tutorial on how to do it or where can i find to do it correctly?

sam-kirby commented 5 months ago

I'm afraid not, but it isn't too hard:

1) Install a 64-bit variant of the latest release of Java 8 (currently 1.8.0_401). 2) Edit the start script to point directly to this version by modifying it as follows:

--- ServerStart.bat
+++ ServerStart.bat
@@ -5,5 +5,5 @@
 :start_server
 echo Starting Sky Factory 4 Server...
-java -server -Xms%MIN_RAM% -Xmx%MAX_RAM% %JAVA_PARAMETERS% -jar %SERVER_JAR% nogui
+"C:\Program Files\Java\jre-1.8\bin\java.exe" -Xms%MIN_RAM% -Xmx%MAX_RAM% %JAVA_PARAMETERS% -jar %SERVER_JAR% nogui
 exit /B

3) Run the modified start script

If you still have problems, you could open a ticket on the Discord server at https://discord.gg/darkosto