Server Help

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Cozza

New Member
Jul 29, 2019
320
0
0
Looks like java is not in your environment variables. I'm not going to explain how to do that as I can never seem to put it into words properly. But it's easy enough to just launch it without the environment variable set.

Assuming your using Java 7 x64 you can use:

Code:
"C:\Program Files\Java\jre7\bin\java.exe" -Xms512M -Xmx1G -XX:PermSize=128m -jar ftbserver.jar

If your using Java7 x86, just use:

Code:
"C:\Program Files (x86)\Java\jre7\bin\java.exe" -Xms512M -Xmx1G -XX:PermSize=128m -jar ftbserver.jar

You should probably check those flags and the memory allocation. You wont get very far only allocating 1GB to your server.
 

Cozza

New Member
Jul 29, 2019
320
0
0
Good start, you have java running. There's not much I can help with without knowing your PC specs.

How much RAM (total) does the PC have?
 

Cozza

New Member
Jul 29, 2019
320
0
0
That's showing because the script is launching in system32 so it's not aware of the ftbserver.jar location

add:

Code:
cd "C:\ftb\server\"

To the start of the script
 

Cozza

New Member
Jul 29, 2019
320
0
0
I noticed you gave it 3GB. That will be okay for a couple of players.

You can't really give it much more if you have 6GB total. You need to reserve some for the OS.

If your playing on the same machine you might run into troubles.
 

Cozza

New Member
Jul 29, 2019
320
0
0
Make sure your client and server versions are the same.

Your probably trying to connect a 1.1.2 client to a 1.1.3 server or something similar.